This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Wireshark2.2.2 issue in solaris 11

0

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's gravatar image

Bibin
6112
accept rate: 0%

edited 27 Nov '16, 21:58

Jaap's gravatar image

Jaap ♦
11.7k16101


One Answer:

0

This thread suggests that the problem is that configure found an nm that doesn't provide BSD-style output. (It also provides a fix/workaround if that's the case.)

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?).

answered 28 Nov '16, 06:07

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

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 ♦

file /usr/local/lib/libpcap.so

What version of libpcap is that? Did you build it from source?

(02 Dec '16, 13:21) Guy Harris ♦♦