> < ^ Date: Tue, 06 Jan 1998 22:16:32 +0100
> < ^ From: Dmitrii Pasechnik <d.pasechnik@twi.tudelft.nl >
< ^ Subject: Re: conflicting types for ioctl

Dear Forum,

Paolo M. Pumilia wrote:

Hi all,
I am trying to compile gap4b2 on a libc6 based debian/linux system,
but compilation fails at start, printig the following:

make[1]: Entering directory `/usr/dev/apps/gap4b2/bin/i386-ibm-linux-gcc2'
gcc -ansi -Wall -g -O2 -DSYS_IS_USG -D_POSIX_SOURCE -D__USE_MISC -D_USE_SVID
+-DSYS_HAS_STACK_ALIGN=2 -DSYS_HAS_STDIO_PROTO -DSYS_HAS_READ_PROTO
+-DSYS_HAS_WAIT_PROTO -DSYS_HAS_SIGNAL_PROTO -DSYS_HAS_TIME_PROTO
+-DSYS_HAS_DL_LIBRARY -DSYS_HAS_WAITPID -DSYS_INIT_DYNAMIC='"Init__Dynamic"'
+-DSYS_ARCH='"i386-ibm-linux-gcc2"' -DSYS_HAS_SIGNALS -o sysfiles.o -c
+../../src/sysfiles.c
../../src/sysfiles.c:1041: conflicting types for ioctl
/usr/include/sys/ioctl.h:43: previous declaration of ioctl
make[1]: *** [sysfiles.o] Error 1
make[1]: Leaving directory `/usr/dev/apps/gap4b2/bin/i386-ibm-linux-gcc2'
make: *** [i386-ibm-linux-gcc2] Error 2

What does it mean?

lbc6 is still an experimental development, moreover it's not fully libc5
compatible.
Debian does support libc6, but only as an *unstable* package.

I suppose GAP 4 is based on libc5.

Probably it's wise to stuck to libc5 for the time being.

Not that it helps much... :-(
Dima.

--
Dmitrii V. Pasechnik    e-mail: D.Pasechnik@twi.tudelft.nl
SSOR, TWI               office location:
TU Delft                        HB 05.150
Postbus 5031                    Mekelweg 4
2600 GA Delft                   2628 CD Delft
The Netherlands                 phone: +31-(0)15-2782520
                                http://ssor.twi.tudelft.nl/~dima

> < [top]