Looks like you need to install an older version of gcc. maybe Fedora provides one, though I doubt it!
Try downloading gcc-3.2.tar.bz2<http://gcc-uk.internet.bs/old-releases/gcc-3/gcc-3.2.tar.bz2>from http://gcc-uk.internet.bs/old-releases/gcc-3/. I'd read... http://gcc.gnu.org/faq.html#multiple, http://www.mjmwired.net/linux/2005/11/15/using-alternate-compilers/ and http://www.mjmwired.net/resources/mjm-fedora-gcc.html before I'd continue from there in case I made a mess :). I always make a mess! Ian On 08/03/07, Max Neunhoeffer <[EMAIL PROTECTED]> wrote:
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 > [email protected] > http://mail.gap-system.org/mailman/listinfo/forum > -- # # Max Neunhoeffer <[EMAIL PROTECTED]> ##### 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! _______________________________________________ Forum mailing list [email protected] http://mail.gap-system.org/mailman/listinfo/forum
-- Ian McLoughlin [EMAIL PROTECTED] _______________________________________________ Forum mailing list [email protected] http://mail.gap-system.org/mailman/listinfo/forum
