From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15402 invoked by alias); 21 Jan 2005 16:18:20 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 14882 invoked from network); 21 Jan 2005 16:17:35 -0000 Received: from unknown (HELO tomoex.tomotherapy.com) (66.170.4.183) by sourceware.org with SMTP; 21 Jan 2005 16:17:35 -0000 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Minor troubles compiling snap-2005-01-03 Date: Fri, 21 Jan 2005 16:18:00 -0000 Message-ID: <1E2E66102E75104D8C740340EBCD9867144A0D@tomoex.tomotherapy.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Tim Theisen" To: X-SW-Source: 2005/txt/msg00005.txt.bz2 I picked up the latest version and had a few minor troubles compiling with Visual Studio .NET. First, the version.rc did not compile. It was attempting to use _MS_VER to determine of the Microsoft Compiler was being used. The correct symbol should be _MSC_VER, but that doesn't help because the rc tool does not predefine this symbol. Looking at the Makefile, I determined that PTW32_RC_MSC was being defined and not used anywhere. So, I am guessing that is what you intended to use. I also attempted to run the tests, and found that there were problems there as well. There is a create3 test called for in the Makefile, but no source file. Perhaps, you forgot to put it in the distribution? Also, the targets exit4, exit5, cancel7, cancel8, and cancel9 are missing the .pass extension. Here are the changes I made to get things to work properly. You probably need to reinstate the create3 test if you have it. --- version.rc.orig 2005-01-01 08:25:03.000000000 -0600 +++ version.rc 2005-01-21 09:33:18.769330700 -0600 @@ -33,7 +33,7 @@ #include #include "pthread.h" -#ifdef _MS_VER +#ifdef PTW32_RC_MSC # if defined(__CLEANUP_C) # define PTW32_VERSIONINFO_NAME "pthreadVC\0" # define PTW32_VERSIONINFO_COMMENT "MS C build -- longjmp thread exiting\0" --- Makefile.orig 2004-11-22 02:28:22.000000000 -0600 +++ Makefile 2005-01-21 09:46:44.659650700 -0600 @@ -89,7 +89,7 @@ condvar1.pass condvar1_1.pass condvar1_2.pass condvar2.pass condvar2_1.pass \ exit1.pass create1.pass create2.pass reuse1.pass reuse2.pass equal1.pass \ kill1.pass valid1.pass valid2.pass \ - exit2.pass exit3.pass exit4 exit5 \ + exit2.pass exit3.pass exit4.pass exit5.pass \ join0.pass join1.pass join2.pass join3.pass \ mutex4.pass mutex6.pass mutex6n.pass mutex6e.pass mutex6r.pass \ mutex6s.pass mutex6es.pass mutex6rs.pass \ @@ -109,13 +109,13 @@ rwlock2_t.pass rwlock3_t.pass rwlock4_t.pass rwlock5_t.pass rwlock6_t.pass rwlock6_t2.pass \ context1.pass \ cancel3.pass cancel4.pass cancel5.pass cancel6a.pass cancel6d.pass \ - cancel7 cancel8 \ + cancel7.pass cancel8.pass \ cleanup0.pass cleanup1.pass cleanup2.pass cleanup3.pass \ priority1.pass priority2.pass inherit1.pass \ spin1.pass spin2.pass spin3.pass spin4.pass \ barrier1.pass barrier2.pass barrier3.pass barrier4.pass barrier5.pass \ exception1.pass exception2.pass exception3.pass \ - cancel9 create3 + cancel9.pass =20 BENCHRESULTS =3D \ benchtest1.bench benchtest2.bench benchtest3.bench benchtest4.bench benchtest5.bench ...Tim -- Tim Theisen Lead Research Software Engineer E-mail: ttheisen@tomotherapy.com TomoTherapy Incorporated Telephone: +1 608 824 2848 1240 Deming Way Fax: +1 608 824 2996 Madison, WI 53717-1954 =20