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

Bug#433962: libc6-dev: error including <netinet/if_fddi.h>



reassign 433962 net-tools
forcemerge 428952 433962
thanks

On Fri, Jul 20, 2007 at 12:23:51PM -0400, Daniel Schepler wrote:
> Package: libc6-dev
> Version: 2.6-2
> Severity: important
> Tags: sid
> Blocks: 428952
> 
> On an i386 sid system (with linux-libc-dev version 2.6.22):
> 
> daniel@frooble:/tmp$ cat test.c
> #include <netinet/if_fddi.h>
> daniel@frooble:/tmp$ gcc -c test.c
> In file included from /usr/include/netinet/if_fddi.h:26,
>                  from test.c:1:
> /usr/include/linux/if_fddi.h:88: error: expected specifier-qualifier-list before ‘__be16’
> 
> This is causing net-tools to FTBFS (bug #428952).
> -- 
> Daniel Schepler

  This is not a bug, it is because you have to #include <linux/types.h>
now that we used the headers officially exported by the linux tree, and
not linux-kernel-headers anymore.

  As a general note, the problems with __[lb]e{8,16,32,64} are caused by
missing #include <linux/types.h> in the FTBFS-ing sources, and the
sources have to be fixed, as linux-kernel-headers was kind of a hack,
and linux-libc-dev is supposed to be an official thing now.

Cheers,
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgp2lGuorWjMg.pgp
Description: PGP signature


Reply to: