Dear Forum,
The following was posted on sci.math.symbolic by
jrs@lsa.umich.edu (John Stembridge)
I remember this problem mentioned in the forum -
could someone perhaps point out the fix?
Has anyone been able to get gap 3.4.4 to compile on a recent version
of Linux?I have Linux 2.2.10 (Red Hat 6.0 but an upgraded kernel) running on an AMD K6-3, with egcs-2.91.66 and glibc-2.1.1 (and libc-5.3.12).I have the sources for gap 3.4.3 and 3.4.4.
When I try to 'make ibm-i386-linux-gcc2' (the closest target), the
compiler barfs with:gcc -DSYS_IS_USG -DSYS_HAS_TIME_PROTO -DSYS_HAS_SIG_T=void \
-c system.c -o system.o
system.c:1571: conflicting types for `ioctl'
/usr/include/sys/ioctl.h:42: previous declaration of `ioctl'
system.c: In function `syAnswerCont':
system.c:1608: warning: `return' with a value, in function returning void
system.c: In function `syAnswerTstp':
system.c:1619: warning: `return' with a value, in function returning void
system.c: In function `syAnswerIntr':
system.c:2738: warning: `return' with a value, in function returning void
make[1]: *** [system.o] Error 1
make[1]: Leaving directory `/usr/local/gap3r4p4/src'
make: *** [ibm-i386-linux-gcc2] Error 2The error messages are virtually identical with gap 3.4.3.
Also, I have no trouble compiling gap 3.4.3 (haven't tried 3.4.4) on an
Intel P133 with a Linux 2.0.x kernel, gcc 2.7.2.1, and libc-5.3.12.
Although the K6 has a Pentium-compatible architecture, when I run the
gap binary on the K6 machine, it dumps core. I examined an 'strace'
and didn't see any smoking guns. I don't think it is a library problem,
or at least not a linking problem.Anyone have any ideas?
John Stembridge [to send e-mail, use jrs AT umich.edu].
----------------------------------------------------------------- Dima Pasechnik dima@cs.uu.nl
Miles-Receive-Header: reply