Mailinglist Archive: opensuse-packaging (46 mails)

< Previous Next >
Re: [opensuse-packaging] undefined reference at linking stage
  • From: Philipp Thomas <philipp.thomas2@xxxxxxx>
  • Date: Wed, 06 Feb 2013 15:53:45 +0100
  • Message-id: <51126E79.6080902@gmx.net>
Am 05.02.13 22:47, schrieb Ilya Chernykh:
[ 693s] ./.libs/libkxsldbgcommon.a(xsldbg.o): In function
`xsldbgLoadXmlData':
[ 693s]
/home/abuild/rpmbuild/BUILD/kdewebdev-3.5.10/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp:980:
undefined reference to `docbParseFile'
[ 693s] collect2: error: ld returned 1 exit status

======

I wonder why it is compiling well, but the linker reports an error.

The compiler only sees one file at a time. It can therefore only
generate the appropriate calls
to external symbols and leave the resolution up the the linker. It's up
to you to find out where
the symbol comes from, either another object or a library and add that
to the linker call.

Philipp

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References