discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

netbsd-68k compile


From: Riccardo Mottola
Subject: netbsd-68k compile
Date: Sat, 12 Apr 2003 23:16:58 +0200
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022

Hello,

i  am trying to compile gnustep-objc on NetBSD-1.6 (gcc 2.95, gnu-make is
installed)

i had a problem and Adam suggested it could be a pth-version problem

I updated pth to the latest version available in the BSD repository (there
was effectivley a revision later) but I still get:

 Compiling file sendmsg.c ...
sendmsg.c: In function `__objc_get_forward_imp':
sendmsg.c:109: warning: control reaches end of non-void function
 Compiling file thr-posix.c ...
thr-posix.c: In function `__objc_thread_set_priority':
thr-posix.c:101: storage size of `params' isn't known
thr-posix.c:106: warning: implicit declaration of function
`sched_get_priority_max'
thr-posix.c:109: warning: implicit declaration of function
`sched_get_priority_min'
thr-posix.c:101: warning: unused variable `params'
thr-posix.c: In function `__objc_thread_get_priority':
thr-posix.c:134: storage size of `params' isn't known
thr-posix.c:134: warning: unused variable `params'
thr-posix.c:140: warning: control reaches end of non-void function
gmake[1]: *** [shared_obj/m68k/netbsdelf1.6/gnu-gnu-gnu/thr-posix.o] Error 1
gmake: *** [libobjc.all.clibrary.variables] Error 2
peregrin: {29}


do I have to abandon posix threads? I tried pthereads then, obtaining:

sendmsg.c: In function `__objc_get_forward_imp':
sendmsg.c:109: warning: control reaches end of non-void function
 Compiling file thr-pthreads.c ...
thr-pthreads.c:28: pcthread.h: No such file or directory
thr-pthreads.c:33: parse error before `_objc_thread_storage'
thr-pthreads.c:33: warning: type defaults to `int' in declaration of
`_objc_thread_storage'
thr-pthreads.c:33: warning: data definition has no type or storage class
thr-pthreads.c: In function `__objc_init_thread_system':
thr-pthreads.c:42: warning: implicit declaration of function
`pthread_key_create'
<snip>
thr-pthreads.c: In function `__objc_condition_signal':
thr-pthreads.c:215: warning: implicit declaration of function
`pthread_cond_signal'
thr-pthreads.c:215: `pthread_cond_t' undeclared (first use in this function)
thr-pthreads.c:215: parse error before `)'
gmake[1]: *** [shared_obj/m68k/netbsdelf1.6/gnu-gnu-gnu/thr-pthreads.o]
Error 1
gmake: *** [libobjc.all.clibrary.variables] Error 2

so what? Any ideas? anyone had similar problems?

Thanks, Riccardo

PS: iI strangely notice that sometimes I post and my messages never get back
to me, so I assume they got lost.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]