some changes for building dcop/

Marcus Camen mcamen at mcamen.de
Fri Feb 10 21:14:42 CET 2006


Hi,

On Wednesday 08 February 2006 21:39, Alexander Neundorf wrote:
> I did the following changes to dcop, which may have potentially broken
> the build on windows:
>
> kICE is now built as a static library and libDCOP and the two
> testprograms link to it. For me this still builds, please check whether
> this breaks something on windows.
>
> I removed the -Dkdemain=main from dcop/, both from scons and from
> cmake, and from the source files. It seemed to be completely useless.
> If not, let me know.

Since this commit I get:

Linking CXX shared library ../lib/libDCOP.so
cd /home/camen/src/kde/kdesvn/build/kdelibs/dcop && /home/camen/usr/bin/cmake -E remove -f ../lib/libDCOP.a ../lib/libDCOP.so.4.2.0 ../lib/libDCOP.so.4 ../lib/libDCOP.so
cd /home/camen/src/kde/kdesvn/build/kdelibs/dcop && /usr/bin/c++  -fPIC -Wl,--fatal-warnings -avoid-version -Wl,--no-undefined -lc -shared -Wl,-soname,libDCOP.so.4 -o ../lib/libDCOP.so.4.2.0 "CMakeFiles/DCOP.dir/dcopstub.o" "CMakeFiles/DCOP.dir/dcopref.o" "CMakeFiles/DCOP.dir/dcopobject.o" "CMakeFiles/DCOP.dir/dcopclient.o"  -L/home/camen/src/kde/kdesvn/build/kdelibs/lib -L/home/camen/src/kde/kdesvn/qt-copy/lib -L/usr/local/lib -lQtCore_debug -lpthread -lkICE -Wl,-rpath,/home/camen/src/kde/kdesvn/build/kdelibs/lib:/home/camen/src/kde/kdesvn/qt-copy/lib:/usr/local/lib
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: /home/camen/src/kde/kdesvn/build/kdelibs/lib/libkICE.a(connect.o): relocation R_X86_64_32 against `_kde_IceConnectionStrings' can not be used when making a shared object; recompile with -fPIC
/home/camen/src/kde/kdesvn/build/kdelibs/lib/libkICE.a: could not read symbols: Bad value

http://public.kitware.com/KDE/Testing/Sites/home/Linux-c++/20060210-1927-Experimental/BuildError.html

(gcc 4.0.2 / SUSE 10.0)

I don't know how to classify this. But maybe you have an idea...

--
Marcus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060210/0af0189b/attachment.pgp 


More information about the Kde-buildsystem mailing list