Hej.
Når jeg prøver at kompilere JWIG (
http://www.brics.dk/JWIG ),
stopper den med følgende:
gcc -I/usr/include -I/usr/include/linux -I/usr/include/solaris
-I/usr/lib/j2sdk1.3/include -I/usr/lib/j2sdk1.3/include/linux -O -W -c
Lock.c -fPIC -DPIC -o .libs/Lock.lo
In file included from /usr/include/bits/types.h:143,
from /usr/include/unistd.h:190,
from Lock.c:21:
/usr/include/bits/pthreadtypes.h:50: parse error before `size_t'
/usr/include/bits/pthreadtypes.h:50: warning: no semicolon at end of
struct or union
/usr/include/bits/pthreadtypes.h:53: parse error before `__stacksize'
/usr/include/bits/pthreadtypes.h:53: warning: data definition has no
type or storage class
/usr/include/bits/pthreadtypes.h:54: warning: data definition has no
type or storage class
[snip en masse errors]
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/jwig-1.0/native'
make: *** [native/libjwig.la] Error 2
Det mystiske er at det kompilerer fint på min gentoo box... Nogen der
ved hvad der er galt?
/Daniel
--
There are no great men, only great challenges that ordinary men are forced
by circumstances to meet.
-- Admiral William Halsey