Wireshark-bugs: [Wireshark-bugs] [Bug 8152] New: r46825 breaks compilation at Gentoo Linux

Date: Sat, 29 Dec 2012 17:17:45 +0000
Bug ID 8152
Summary r46825 breaks compilation at Gentoo Linux
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86
OS Gentoo
Status UNCONFIRMED
Severity Normal
Priority Low
Component Wireshark
Assignee [email protected]
Reporter [email protected]

Build Information:
$ svn info
Path: .
URL: https://anonsvn.wireshark.org/wireshark/trunk
Repository Root: https://anonsvn.wireshark.org/wireshark
Repository UUID: f5534014-38df-0310-8fa8-9805f1628bb7
Revision: 46842
Node Kind: directory
Schedule: normal
Last Changed Author: pascal
Last Changed Rev: 46842
Last Changed Date: 2012-12-29 18:10:04 +0100 (Sat, 29 Dec 2012)

--
With that commit at a stable Getnoo x86 Linxu the compilation is broken due to
:

In file included from /usr/include/libnl3/netlink/route/link.h:18:0,
                 from iface_monitor.c:46:
/usr/include/linux/if.h:142:8: error: redefinition of ‘struct ifmap’
/usr/include/net/if.h:112:8: note: originally defined here
/usr/include/linux/if.h:176:8: error: redefinition of ‘struct ifreq’
/usr/include/net/if.h:127:8: note: originally defined here
/usr/include/linux/if.h:225:8: error: redefinition of ‘struct ifconf’
/usr/include/net/if.h:177:8: note: originally defined here
make[2]: *** [wireshark-iface_monitor.o] Error 1


b/c Gentoo has both v1 and v3 of libnl installed.

reverting that commit :

+#if defined(HAVE_LIBNL1) || defined(HAVE_LIBNL2)
-#if defined(HAVE_LIBNL1) || defined(HAVE_LIBNL2) || defined(HAVE_LIBNL3) 

solves build problem here.


You are receiving this mail because:
  • You are watching all bug changes.