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 /root/WIRESHARK/2.2.2/wireshark-2.2.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory/root/WIRESHARK/2.2.2/wireshark-2.2.2'
make: [all] Error 2
You have new mail in /var/mail/root
[email protected]:~/WIRESHARK/2.2.2/wireshark-2.2.2#
Can anyone please help me to relsove this issue. what is the meaning of that symbol in error log.
Thanks, Bibin
asked 27 Nov '16, 21:00
Bibin
6●1●1●2
accept rate: 0%
edited 27 Nov '16, 21:58
Jaap ♦
11.7k●16●101
Thanks for the response..
No am not using any other thread.
Can you please provide a detail workaround to overcome this issue ?
Thanks, Bibin
Could it be related to linker flags being different on Solaris and GCC? https://sourceforge.net/p/polybori/bugs/9/
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?
What version of libpcap is that? Did you build it from source?