[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#44444: netkit-telnet_0.14-3(unstable): doesn't compile with gcc 2.95.1



reassign 44444 libc6-dev
quit

On Mon, Sep 06, 1999 at 02:06:24PM +0200, Roman Hodek wrote:
> Package: netkit-telnet
> Version: 0.14-3
> Severity: important
> 
> I tried to recompile netkit-telnet for m68k, but it failed with:
> 
> > gcc -O2 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wcast-align -DUSE_TERMIO -DKLUDGELINEMODE sys_bsd.cc -c
> > sys_bsd.cc: In function `void init_sys()':
> > sys_bsd.cc:70: implicit declaration of function `int memset(...)'
> > sys_bsd.cc: In function `int process_rings(int, int, int, int, int, int)':
> > sys_bsd.cc:284: warning: missing initializer for member `timeval::tv_usec'
> > make[2]: *** [sys_bsd.o] Error 1
> > make[2]: Leaving directory `/usr/local/build/buildd/netkit-telnet-0.14/telnet'
> > make[1]: *** [telnet.build] Error 2
> > make[1]: Leaving directory `/usr/local/build/buildd/netkit-telnet-0.14'
> > make: *** [build-stamp] Error 2
> 
> There's simply a prototype missing for memset() (include <string.h>).
> This is an error for g++ 2.95, but was only a warning for previous
> versions.

This does not seem to be a bug in telnet, because the offending line is
actually a call to the FD_ZERO macro, and the required header file,
sys/types.h is included.  Thus it seems to me that this is a bug in libc6
on m68k (it doesn't happen on i386 with glibc2.1).
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Reply to: