Subject: pthreads problem
To: None <current-users@netbsd.org>
From: Adam Lebsack <lebsack@mac.com>
List: current-users
Date: 01/07/2002 04:59:57
Hey guys,

I recently checked out the src to build the latest NetBSD for macppc.  I 
built it on a 1.5.2-macppc system with the build.sh script, which is 
pretty slick (although I can't wait until I can build NetBSD on my MacOS 
X box, which is much faster).

Anyway,  the source was checked out from CVS on Jan 4.  I installed the 
full build today and started to do some pkgsrc compiling (pkgsrc checked 
out Jan 7).  I tried databases/mysql-server and ran into a problem with 
the mit-pthreads in there, so I tried devel/mit-pthreads.  Same exact 
problem:

cpp  -I/u1/Sandbox/obj/pkg/devel/mit-pthreads/work/pthreads-1_60_beta6 
-I/u1/Sandbox/obj/pkg/devel/mit-
pthreads/work/pthreads-1_60_beta6/include 
-I/u1/Sandbox/obj/pkg/devel/mit-
pthreads/work/pthreads-1_60_beta6/include -DPTHREAD_KERNEL   
/u1/Sandbox/obj/pkg/devel/mit-
pthreads/work/pthreads-1_60_beta6/syscall.S > syscall.i
In file included from /u1/Sandbox/obj/pkg/devel/mit-
pthreads/work/pthreads-1_60_beta6/syscall.S:5:
/usr/include/sys/cdefs.h:212: #error "No function renaming possible"
/u1/Sandbox/obj/pkg/devel/mit-
pthreads/work/pthreads-1_60_beta6/syscall.S:32: unterminated character 
constant
*** Error code 1

Stop.
make: stopped in /u1/Sandbox/obj/pkg/devel/mit-
pthreads/work/pthreads-1_60_beta6
*** Error code 1


PS, please reply to my email address as well, as I am not on the list.

Thanks,
Adam Lebsack
lebsack@mac.com