LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   chipmunk (https://www.linuxquestions.org/questions/linux-software-2/chipmunk-29858/)

twk 09-07-2002 11:44 PM

chipmunk
 
I am trying to compile chipmunk circuit simulation/design's library(psys 1.56), and I keep getting this following error message (using gcc 2.95.3)


if [ ! -d ../../lib ] ; then mkdir ../../lib ; fi
gcc -O3 -I../include -I. -DCHIPLIB=\"`cd ../../lib; pwd`\" -c -o sysdevs.o sysdevs.c
In file included from /usr/include/math.h:63,
from ../include/p2c/p2c.h:98,
from sysdevs.c:26:
/usr/include/bits/mathcalls.h:125: parse error before `1'
In file included from /usr/include/math.h:350,
from ../include/p2c/p2c.h:98,
from sysdevs.c:26:
/usr/include/bits/mathinline.h:539: parse error before `1'
sysdevs.c: In function `sysclock':
sysdevs.c:55: storage size of `tz' isn't known
sysdevs.c: In function `systime':
sysdevs.c:102: storage size of `tz' isn't known
make: *** [sysdevs.o] Error 1


can anyone help me? thanks ............

pbharris 09-08-2002 07:38 PM

hello,
try adding a -lm to the gcc options. if that does not work you may need to edit this sysdevs.c file.

twk 09-09-2002 11:05 PM

thanks, I found a rpm which works, thanks anyway


All times are GMT -5. The time now is 02:20 AM.