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

Bug#484475: /usr/include/netinet/in.h: conflict between include files <netinet/in.h> and <linux/in6.h>



Package: libc6-dev
Version: 2.3.6.ds1-13etch6
Severity: normal
File: /usr/include/netinet/in.h

When including both files, the C compiler complains about the
redefinition of struct in6_addr, sockaddr_in6 and ipv6_mreq.
Furthermore, certain constants for set/getsockopt are inconsistent
between the includes, for example:
/usr/include/bits/in.h:#define IPV6_HOPLIMIT            8
/usr/include/linux/in6.h:#define IPV6_HOPLIMIT          52

-- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages libc6-dev depends on:
ii  libc6                  2.3.6.ds1-13etch6 GNU C Library: Shared libraries
ii  linux-kernel-headers   2.6.18-7          Linux Kernel Headers for developme

Versions of packages libc6-dev recommends:
ii  gcc [c-compiler]              4:4.1.1-15 The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.1-21   The GNU C compiler

-- no debconf information



Reply to: