ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Problems building Qtopia-2.2.0 on Ubuntu x64


From: Stuart Hughes
Subject: Re: [Ltib] Problems building Qtopia-2.2.0 on Ubuntu x64
Date: Wed, 29 Apr 2009 08:49:10 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Peter,

I think in this case qtopia is incorrectly trying to link to the host (build machine) libraries. However for the record, if you're running on an Ubuntu (Debian) 64bit distro then you do need to make sure you have some 32bit libraries, these are required for the toolchains we have which are built on 32bit machines. The names on Ubuntu/Debian IIRC are:
        * ia32libs
        * lib32stdc++ (not sure if this is needed?)

The fact you can build this far tells me you probably already have these installed.

A while back when I had access to a 64bit Fedora machine I did try fixing the build for qtopia-2. I got some of the way and have just checked in an update to the spec file to Savannah CVS. This does some build time changes and references a new patch (so you'll need to remove your current rpm/BUILD/qtopia* or manually apply qtopia-free-2.2.0-64bithost.patch).

While this fixes some of the issues, I didn't get to finish this (I got vectored off). Hopefully with this and maybe some more digging on your side you can get it fixed. I don't have a 64bit host, but I'll try to help if you run into problems.

Regards, Stuart



Peter Barada wrote:

I'm trying to build LTIB on a x64 Ubuntu machine, and I'm running into a problem with qtopia-2.2.0.

As part of its tools creation, it needs -lXext, and when it tries to link, it complains with:

g++ -m32 -shared -Wl,-soname,libqt-mt.so.3 -Wl,-rpath,/home/peter/work/logic/omap/svn/trunk/ltib/rpm/BUILD/qtopia-free-2.2.0/dqt/lib -o libqt-mt.so.3.3.5 .obj/release-shared-mt/qtaddons_x11.o .obj/release-shared-mt/qapplication_x11.o
[snip]
.obj/release-shared-mt/moc_qmotifstyle.o -L/usr/X11R6/lib -lXext -lX11 -lm -ldl -lpthread /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libXext.so when searching for -lXext /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libXext.a when searching for -lXext /usr/bin/ld: skipping incompatible /usr/lib/libXext.so when searching for -lXext /usr/bin/ld: skipping incompatible /usr/lib/libXext.a when searching for -lXext
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[2]: *** [../lib/libqt-mt.so.3.3.5] Error 1
make[2]: Leaving directory `/home/peter/work/logic/omap/svn/trunk/ltib/rpm/BUILD/qtopia-free-2.2.0/dqt/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/home/peter/work/logic/omap/svn/trunk/ltib/rpm/BUILD/qtopia-free-2.2.0/dqt' * ---------------------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.


I think its because I'm missing 32-bit versions of the X11 libraries, but Google isn't helping me find the "sudo apt-get install" command I need.

Any help is appreciated!

--
Peter Barada <address@hidden <mailto:address@hidden>>







reply via email to

[Prev in Thread] Current Thread [Next in Thread]