Mailinglist Archive: opensuse-packaging (46 mails)

< Previous Next >
[opensuse-packaging] undefined reference at linking stage

I have a problem with building kdewebdev3 (quanta) for Factory.

The error is

======

[ 685s] /bin/sh ../../libtool --silent --tag=CXX --mode=link g++
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2
-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fpermissive
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -DENABLE_CVSSERVICE -module
-avoid-version -module -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined -lkatepartinterfaces -L/opt/kde3/lib
-L/usr/lib/qt3/lib -Wl,--as-needed -Wl,--enable-new-dtags
-Wl,-Bsymbolic-functions -lxml2 -o libkxsldbgpart.la -rpath /opt/kde3/lib/kde3
dummy.lo libkxsldbgcommon.la -lkparts -lxml2
[ 693s] ./.libs/libkxsldbgcommon.a(xsldbg.o): In function
`xsldbgLoadXmlTemporary':
[ 693s]
/home/abuild/rpmbuild/BUILD/kdewebdev-3.5.10/kxsldbg/kxsldbgpart/libxsldbg/xsldbg.cpp:1030:
undefined reference to `docbParseFile'
[ 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.

Buildlog:
https://build.opensuse.org/package/live_build_log?arch=i586&package=kdewebdev3&project=KDE%3AKDE3&repository=openSUSE_Factory
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >