Wireshark-dev: Re: [Wireshark-dev] compile error : epan/.libs/libwireshark.so: undefined refere
From: Jeff Morriss <jeff.morriss@xxxxxxxxxxx>
Date: Fri, 20 Apr 2007 09:25:21 +0800


Toralf Förster wrote:
After some of the last SVN updates I get now:

...
 /usr/lib/libglib-2.0.so /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so -lnsl /usr/lib/libgpg-error.so -lz
epan/.libs/libwireshark.so: undefined reference to `.LC1694'
epan/.libs/libwireshark.so: undefined reference to `.LC1693'
collect2: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory `/home/tfoerste/devel/wireshark/trunk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tfoerste/devel/wireshark/trunk'
make: *** [all] Error 2

I'tested it with the current svn version and used the following build command sequence :

This was mentioned a couple of days ago:

http://www.wireshark.org/lists/wireshark-dev/200704/msg00250.html

My response was:

That looks suspiciously similar to bug 156:

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=156

which turned out to be a bug in GCC:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=157308

Otherwise I'm not sure how something _we_ are doing wrong can cause an undefined reference to something named ".LC*".