[GAP Forum] GAP 3.4.4 on modern linux
Max Neunhoeffer
max.neunhoeffer at math.rwth-aachen.de
Thu Mar 8 13:25:13 GMT 2007
Dear R Borgo,
You might try what I propose under
http://www.math.rwth-aachen.de/~Max.Neunhoeffer/Computer/compgap.html
However, your output suggests that you encounter another problem,
probably due to a newer C compiler. If this does not work, please send
be the output of
gcc -v
since I guess that you are using GCC >= 4.1, maybe it is also a
problem with a newer C library. I myself do not have access to such a
modern system as of now and therefore might not be able to help very
much. But if the problem persists, please ask again.
Best regards,
Max
On Thu, Mar 08, 2007 at 11:53:06AM +0000, R Borgo wrote:
> 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
>
> _______________________________________________
> Forum mailing list
> Forum at mail.gap-system.org
> http://mail.gap-system.org/mailman/listinfo/forum
>
--
# # Max Neunhoeffer <max.neunhoeffer at math.rwth-aachen.de>
##### Gerlachstrasse 20-22, 52064 Aachen, Germany (private)
# # Lehrstuhl D fuer Mathematik, RWTH, Templergraben 64, 52062 Aachen
##### Tel.: +49 241 406605 (private) / +49 241 8094550 (institute)
# # May the Source be with you!
More information about the Forum
mailing list