[Libreoffice] Master fails to build in vcl with --enable-kde4 flag

Albert Thuswaldner albert.thuswaldner at gmail.com
Sun Jun 5 02:28:16 PDT 2011

There seems to be a linkage problem when trying to build the vcl
module in master against kde4.

The recipe below looks fine as far as i can see (i.e. all the
essential kde4/qt libs are included):
Invoking recipe from
/home/thuswa/work/tmp/libo/solenv/gbuild/LinkTarget.mk:349 to update
target `/home/thuswa/work/tmp/libo/solver/350/unxlngi6.pro/workdir/LinkTarget/Library/libvclplug_kde4lo.so'.
R=/home/thuswa/work/tmp && S=$R/libo && O=$S/solver/350/unxlngi6.pro
&& W=$O/workdir &&  mkdir -p $W/LinkTarget/Library/ && g++ -shared
-Wl,-z,noexecstack '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib'
'-Wl,-rpath-link,$O/lib' -L/usr/lib -L/usr/lib -lkdeui -lkdecore
-lQtCore -lQtGui -Wl,-z,defs  -Wl,-rpath-link,/lib:/usr/lib
-Wl,-z,combreloc   -L$S/solenv/unxlngi6/lib -L$O/lib
-L$S/solenv/unxlngi6/lib  -Wl,--hash-style=gnu
-Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo
-Wl,-Bsymbolic-functions  -Wl,-O1
$W/CxxObject/vcl/unx/kde4/KDEXLib.o $W/CxxObject/vcl/unx/kde4/main.o
$W/CxxObject/vcl/unx/kde4/VCLKDEApplication.o   -Wl,--start-group
-Wl,--end-group -lvclplug_genlo -lvcllo -ltllo -lutllo -lsotlo
-lucbhelper4gcc3 -lbasegfxlo -lcomphelpgcc3 -luno_cppuhelpergcc3
-licuuc -licule -licule -li18nisolang1gcc3 -li18npaperlo
-li18nutilgcc3 -ljvmaccessgcc3 -luno_cppu -luno_sal -lX11 -lXext -lSM
-lICE -ldl -lm -lpthread -o $W/LinkTarget/Library/libvclplug_kde4lo.so
Putting child 0x896e200
PID 4770 on the chain.
Live child 0x896e200
PID 4770
Reaping losing child 0x896e200 PID 4770
Removing child 0x896e200 PID 4770 from chain.

Still this operation fails with a massive output of undefined
references to Kde and Qt objects. Is this error is related to the
recent move from dmake to gmake?

I've tried to poke around a bit but, but I can't really make much
sense of this. Any ideas?

Thanks in advance.

More information about the LibreOffice mailing list