[GAP Forum] GAP 3.4.4 on modern linux

R Borgo rborgo at comp.leeds.ac.uk
Thu Mar 8 11:53:06 GMT 2007


Dear all,

I apologize for bothering about GAP 3 but I am forced to use it since I 
need the
CHEVIE package, so I hope that maybe somebody out there found himself in 
my same situation
and tried to install GAP 3 on modern Linux.
I have followed the installation instruction given on the GAP3 website 
but when I try to compile
make ibm-i386-linux-gcc2

I receive the following message:
make[1]: Entering directory `/usr/not-backed-up/GAP/gap3/zoo/gap3r4p4/src'
gcc -DSYS_HAS_IOCTL_PROTO -DSYS_IS_USG -DSYS_HAS_TIME_PROTO 
-DSYS_HAS_SIG_T=void -DSYS_HAS_IOCTL_PROTO -c -o system.o system.c
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
In file included from /usr/include/asm/param.h:4,
from /usr/include/linux/param.h:4,
from /usr/include/sys/param.h:24,
from system.c:3297:
/usr/include/unistd.h: At top level:
/usr/include/unistd.h:325: error: conflicting types for ‘read’
system.c:1593: error: previous declaration of ‘read’ was here
/usr/include/unistd.h:331: error: conflicting types for ‘write’
system.c:1594: error: previous declaration of ‘write’ was here
system.c:4424: error: conflicting types for ‘sbrk’
/usr/include/unistd.h:993: error: previous declaration of ‘sbrk’ was here
make[1]: *** [system.o] Error 1
make[1]: Leaving directory `/usr/not-backed-up/GAP/gap3/zoo/gap3r4p4/src'
make: *** [ibm-i386-linux-gcc2] Error 2

I tried with the COPTS="-DSYS_HAS_IOCTL_PROTO" option
and adding the option directly into the makefile with no result.
My machine has Linux Fedora.
Any suggestion?

Thank you in advance for your help

RB



More information about the Forum mailing list