Wireshark

  • Riverbed Technology
  • WinPcap
SHARKFEST '13 - Wireshark Developer and User Conference - June 16-19, 2013 - UC Berkeley
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] compile error related to nl ?

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Toralf Förster <toralf.foerster@xxxxxx>
Date: Fri, 29 Jun 2012 21:43:12 +0200

The current svn tree produces here at a Gentoo Linux a compilation error :

gcc -DHAVE_CONFIG_H -I.  -I. -I./wiretap     -DINET6 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -D_FORTIFY_SOURCE=2 -D_U_="__attribute__((unused))"  -I/usr/local/include -I/usr/include '-DPLUGIN_DIR="/usr/local/lib/wireshark/plugins/1.9.0"' -Werror -DPYTHON_DIR= -O2 -march=native -pipe -I/usr/include/libnl3   -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -Wold-style-definition -fexcess-precision=fast -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm   -MT wireshark-iface_monitor.o -MD -MP -MF .deps/wireshark-iface_monitor.Tpo -c -o wireshark-iface_monitor.o `test 
-f 'iface_monitor.c' || echo './'`iface_monitor.c
In file included from /usr/include/libnl3/netlink/route/link.h:18:0,
                 from iface_monitor.c:44:
/usr/include/linux/if.h:136:8: error: redefinition of ‘struct ifmap’
/usr/include/net/if.h:112:8: note: originally defined here
/usr/include/linux/if.h:170:8: error: redefinition of ‘struct ifreq’
/usr/include/net/if.h:127:8: note: originally defined here
/usr/include/linux/if.h:219: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
make[2]: *** Waiting for unfinished jobs....
Version configuration file version.conf not found.  Using defaults.
svnversion.h unchanged.
make[2]: Leaving directory `/home/tfoerste/devel/wireshark'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tfoerste/devel/wireshark'
make: *** [all] Error 2



-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3


  • Prev by Date: Re: [Wireshark-dev] Use shared libraries for dissectors?
  • Next by Date: [Wireshark-dev] H.263 decode on wireshark
  • Previous by thread: Re: [Wireshark-dev] Use shared libraries for dissectors?
  • Next by thread: [Wireshark-dev] H.263 decode on wireshark
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation