Hi, I am not able to compile wirehshark on Solaris 11, there is no issues while ./configure but its failing in make with below errors. version.h unchanged.
CC wireshark_gtk-ws_version_info.o
CCLD wireshark-gtk
libtool: link: not configured to extract global symbols from dlpreopened files
ld: warning: file /root/WIRESHARK/2.2.2/wireshark-2.2.2/wiretap/.libs/libwiretap.so: linked to wiretap/.libs/libwiretap.so: attempted multiple inclusion of file
ld: warning: file wsutil/.libs/libwsutil.so: linked to /root/WIRESHARK/2.2.2/wireshark-2.2.2/wsutil/.libs/libwsutil.so: attempted multiple inclusion of file
ld: warning: global symbol 'END' has non-global binding:
(file /usr/local/lib/libpcap.so value=LOCL);
ld: warning: global symbol 'START' has non-global binding:
(file /usr/local/lib/libpcap.so value=LOCL);
Undefined first referenced
symbol in file
.LC1555 epan/.libs/libwireshark.so
ld: fatal: symbol referencing errors
collect2: ld returned 1 exit status
make[2]: [wireshark-gtk] Error 1
make[2]: Leaving directory
Can anyone please help me to relsove this issue. what is the meaning of that symbol in error log.
Thanks, Bibin |
This thread suggests that the problem is that There are a number of other threads to be found on the 'net which discuss that error message but most others appear to be dealing with cross-compiling (you're not trying to do that, are you?). Thanks for the response.. No am not using any other thread. Can you please provide a detail workaround to overcome this issue ? Thanks, Bibin
(28 Nov '16, 22:09)
Bibin
Could it be related to linker flags being different on Solaris and GCC? https://sourceforge.net/p/polybori/bugs/9/
(29 Nov '16, 04:24)
Anders ♦
Sorry, I'm not sure what you mean by not using any other thread. Do you mean you're not cross compiling? Did you try the NM workaround mentioned in the link?
(01 Dec '16, 11:35)
JeffMorriss ♦
What version of libpcap is that? Did you build it from source?
(02 Dec '16, 13:21)
Guy Harris ♦♦
|