Wireshark mailing list archives
Re: Compiling on Centos7
From: Dario Lombardo <dario.lombardo.ml () gmail com>
Date: Thu, 1 Sep 2016 11:29:19 +0200
After removing libnl3-devel I get (from cmake) -- The following OPTIONAL packages have not been found: * NL * PORTAUDIO * YAPP -- Configuring done -- Generating done -- Build files have been written to: /home/osboxes/wireshark/build But I have libnl-devel. That sounds a bit confusing to me... Which lib is cmake looking for? Libnl or libnl3? Anyway, without libnl3-devel compilation goes to the end. On Thu, Sep 1, 2016 at 11:01 AM, Dario Lombardo <dario.lombardo.ml () gmail com
wrote:
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:
- Compiling on Centos7 Dario Lombardo (Sep 01)
- Re: Compiling on Centos7 Dario Lombardo (Sep 01)
- Re: Compiling on Centos7 Peter Wu (Sep 01)
- Re: Compiling on Centos7 Dario Lombardo (Sep 01)