Hi Thomas, On Wed, Feb 09, 2005 at 02:48:32PM +0100, Andreas Jochens said > When building 'ttt' on amd64 with gcc-4.0, > I get the following error: > > gcc -O2 -Wwrite-strings -fwritable-strings -DSTDC_HEADERS=1 > -DHAVE_SYS_QUEUE_H=1 -DHAVE_GETHOSTENT=1 -DHAVE_LIBNSL=1 -DHAVE_LIBM=1 > -DHAVE_LIBDL=1 -D_BSD_SOURCE -DIPV6 -DTTT_LIBRARY=\"/usr/lib/ttt\" -I. > -I/usr/include/tk8.4 -I/usr/include/tcl8.4 -I/usr/include -c ttt.c > cc1: error: unrecognized command line option "-fwritable-strings" > make[1]: *** [ttt.o] Error 1 > make[1]: Leaving directory `/ttt-1.7' > make: *** [build-arch-stamp] Error 2 > > When this is fixed, I get > > gcc -O2 -DSTDC_HEADERS=1 -DHAVE_SYS_QUEUE_H=1 -DHAVE_GETHOSTENT=1 > -DHAVE_LIBNSL=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_ITCL_H=1 -D_BSD_SOURCE > -DIPV6 -DTTT_LIBRARY=\"/usr/lib/ttt\" -I. -I/usr/include/tk8.4 > -I/usr/include/tcl8.4 -I/usr/include -I/usr/X11R6/include -c net_names.c > net_names.c: In function 'net_getname': > net_names.c:261: error: invalid storage class for function 'inet6_ntoa' > net_names.c: At top level: > net_names.c:529: error: conflicting types for 'inet6_ntoa' > net_names.c:270: error: previous implicit declaration of 'inet6_ntoa' was here > make[1]: *** [net_names.o] Error 1 > make[1]: Leaving directory `/srv/dbuild/tmp/ttt-1.7' > > > With the attached patch 'ttt' can be compiled > on amd64 using gcc-4.0. This patch includes a fix which was > already necessary for gcc-3.4 (see #262758).
This bug has been open for a while now; do you think you'll have time to upload the fix in the near future? Would you like someone to NMU you it for you? -rob -- no wonder the sound has so much body! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]