qt-copy compilation problem on x86_64
Simon Hausmann
hausmann at kde.org
Wed Sep 20 11:51:51 BST 2006
On Wednesday 20 September 2006 12:40, Andras Mantia wrote:
> On Wednesday 20 September 2006 13:32, Stephan Kulow wrote:
> > As Andras didn't say where the problem is, it's hard to tell what the
> > problem is though.
>
> My fault, luckily I have a large konsole history:
>
> g++ -m64 -fno-exceptions -Wl,-rpath,/data2/kde4/qt4/lib
> -Wl,-rpath,/data2/kde4/qt4/lib -shared -Wl,-soname,libQtDBus.so.4 -o
> libQtDBus.so.4.2.0 .obj/debug-shared/qdbusconnection.o
> .obj/debug-shared/qdbusconnectioninterface.o .obj/debug-shared/qdbuserror.o
> .obj/debug-shared/qdbusintegrator.o .obj/debug-shared/qdbusmessage.o
> .obj/debug-shared/qdbusserver.o .obj/debug-shared/qdbusabstractinterface.o
> .obj/debug-shared/qdbusinterface.o .obj/debug-shared/qdbusxmlparser.o
> .obj/debug-shared/qdbusutil.o .obj/debug-shared/qdbusintrospection.o
> .obj/debug-shared/qdbusabstractadaptor.o .obj/debug-shared/qdbusthread.o
> .obj/debug-shared/qdbusinternalfilters.o
> .obj/debug-shared/qdbusmetaobject.o .obj/debug-shared/qdbusxmlgenerator.o
> .obj/debug-shared/qdbusmisc.o .obj/debug-shared/qdbusargument.o
> .obj/debug-shared/qdbusreply.o .obj/debug-shared/qdbusmetatype.o
> .obj/debug-shared/qdbusextratypes.o
> .obj/debug-shared/moc_qdbusconnectioninterface.o
> .obj/debug-shared/moc_qdbusserver.o
> .obj/debug-shared/moc_qdbusabstractadaptor.o
> .obj/debug-shared/moc_qdbusconnection_p.o
> -L/data/development/sources/kde-trunk/qt-copy/lib -L/usr/lib -ldbus-1
The -L/usr/lib is the culprit. Can you paste your
$qt_build_directory/.qmake.cache as well as your configure line you used for
Qt?
Simon
> -lQtXml -L/data/development/sources/kde-trunk/qt-copy/lib
> -L/opt/gnome/lib64 -lQtCore -lz -lm -lglib-2.0 -ldl -lpthread
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld
>: skipping incompatible /usr/lib/libdbus-1.so when searching for -ldbus-1
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld
>: /usr/lib/libdbus-1.a(dbus-bus.o): relocation R_X86_64_32 against `a local
> symbol' can not be used when making a shared object; recompile with -fPIC
> /usr/lib/libdbus-1.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [../../../lib/libQtDBus.so.4.2.0] Error 1
> make[1]: Leaving directory
> `/data/development/sources/kde-trunk/qt-copy/tools/qdbus/src'
>
> Andras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060920/b1f32ad5/attachment.sig>
More information about the kde-core-devel
mailing list