Wireshark mailing list archives

Compiling on Centos7


From: Dario Lombardo <dario.lombardo.ml () gmail com>
Date: Thu, 1 Sep 2016 11:01:56 +0200

I' trying to compile the current master on Centos7. Some of the code in
caputils doesn't compile, so I patched it. Now the compilation stops with

Linking C executable run/dumpcap
/usr/bin/ld: run/libcaputils.a(ws80211_utils.c.o): undefined reference to
symbol 'nl_socket_free'
/usr/bin/ld: note: 'nl_socket_free' is defined in DSO /lib64/libnl-3.so.200
so try adding it to the linker command line
/lib64/libnl-3.so.200: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [run/dumpcap] Error 1
make[1]: *** [CMakeFiles/dumpcap.dir/all] Error 2
make: *** [all] Error 2

I'm using cmake and this is the list of libnl(s) installed

libnl.x86_64
                1.1.4-3.el7
                         @base
libnl-devel.x86_64
                1.1.4-3.el7
                         @base
libnl3.x86_64
               3.2.21-10.el7
                         @anaconda
libnl3-cli.x86_64
               3.2.21-10.el7
                         @anaconda
libnl3-devel.x86_64
               3.2.21-10.el7
                         @base

Compilation in-tree with autotools works fine.
Any idea?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: