On Thu, 21 Jul 2005 15:48:48 Andreas Jochens wrote:
>Package: net-tools
>Version: 1.60-15
>Severity: serious

>When building 'net-tools' on unstable,
>I get the following error:

>cc -D_GNU_SOURCE -O2 -Wall  -I. -idirafter ./include/ -Ilib
-I/net-tools-1.60 >-idirafter /net-tools-1.60/include    -c -o fddi.o
fddi.c
>In file included from /usr/include/netinet/if_fddi.h:26,
>                 from fddi.c:30:
>/usr/include/linux/if_fddi.h:110: error: field 'gen' has incomplete type
>fddi.c: In function 'in_fddi':
>fddi.c:69: warning: pointer targets in assignment differ in signedness
>make[2]: *** [fddi.o] Error 1

I tried compiling it, and it worked for me, when I used gcc-3.3, and
with gcc-4.0 too.
Note that I compiled net-tools-1.60-15 (from the unstable src distro).
But I compiled it on etch (testing) distro.
So I guess the bug isn't in the net-tools package itself, but in the
if_fddi.h, maybe in the way net-tools includes it, but I was unable to
reproduce this bug.
What kernel-headers package are you using. Because I was unable to
locate the word 'gen' in my kernel-headers.
Please post a copy of your /usr/include/linux/if_fddi.h

>Regards
>Andreas Jochens

Edwin

Reply via email to