Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference to `non-virtual thunk to PVXMLSession::Trigger()'
Eugen Dedu
Eugen.Dedu at pu-pm.univ-fcomte.fr
Thu Mar 18 17:01:28 UTC 2010
John David Anglin wrote:
> On Thu, 18 Mar 2010, Carlos O'Donell wrote:
>
>> On Thu, Mar 18, 2010 at 7:47 AM, Adam D. Barratt
>> <adam at adam-barratt.org.uk> wrote:
>>>>> ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual
>>>>> thunk to PVXMLSession::Trigger()'
>> What does this error mean?
>
> The symbol was not found by ld. I see in the bug report log:
>
> g++ obj_linux_hppa/main.o -lopal -lpt -lpthread -lrt -lsasl2 -lldap -llber -lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl -lspeexdsp -L ../../lib* -o obj_linux_hppa/simpleopal
> ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to PVXMLSession::Trigger()'
> ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to PVXMLSession::OnEndRecording(PString const&)'
> ../../lib_linux_hppa/libopal.so: undefined reference to `non-virtual thunk to PVXMLSession::RecordEnd()'
> collect2: ld returned 1 exit status
> make[1]: *** [obj_linux_hppa/simpleopal] Error 1
>
> Check that that the library that is supposed to provide these symbols (libpt?)
> provides them.
Well, the library providing these symbols, libpt, is the same
(libpt2.6.5_2.6.5-1_hppa.deb) for opal-3 package, which built
successfully, and opal-4 package, which fails, as written in the
previous e-mail.
Moreover, I have downloaded the package from
http://packages.debian.org/squeeze/hppa/libpt2.6.5/download and
extracted the lib. IIUC, that function is there indeed (the first is on
my amd64 machine, the second is hppa extracted file):
snoopy:~$ nm -D /usr/lib/libpt.so.2.6-beta7 |grep Trigger
000000000020d850 T _ZN12PVXMLSession7TriggerEv
000000000020d840 T _ZThn1096_N12PVXMLSession7TriggerEv
snoopy:~$ nm -D libpt.so.2.6.5 |grep Trigger
001abb74 T _ZN12PVXMLSession7TriggerEv
001abb6c T _ZThn1152_N12PVXMLSession7TriggerEv
snoopy:~$
> You can see more info about link by adding -Wl,-v -Wl,-debug to the above g++
> command.
>
> Regarding the tool change differences between 4.3 and 4.4, there is no
> difference in the handling of thunks in the hppa backend. So, any
> differences that you see are due to changes to the main GCC code, etc.
> It may be the references are not present in the 4.3 compiled code.
That would have lead to failure for opal-3 package too.
Cheers,
--
Eugen
More information about the Pkg-voip-maintainers
mailing list