Bug#572384: opal_3.6.6~dfsg-4/hppa FTBFS: undefined reference to `non-virtual thunk to PVXMLSession::Trigger()'

John David Anglin dave at hiauly1.hia.nrc.ca
Thu Mar 18 16:27:12 UTC 2010


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.

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.

Dave
-- 
J. David Anglin                                  dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)





More information about the Pkg-voip-maintainers mailing list