On Fri, 15 Feb 2013 00:10:49 +0100
Rieker Flaik <[email protected]> wrote:

> On Tue, 2013-02-12 at 16:34 +0000, Neil Williams wrote:
> > On Tue, 12 Feb 2013 16:28:17 +0100
> > Rieker Flaik <[email protected]> wrote:
> 
> > >    animation/qsequentialanimationgroup.cpp:467: warning: unused variable 
> > > ‘q’
> > >    ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h: Assembler 
> > > messages:
> > >    ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:131: Error: 
> > > no such instruction: `swpb %al,%bpl,[%rbx]'
> > >    ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:131: Error: 
> > > no such instruction: `swpb %al,%bpl,[%rbx]'
> > 
> > Due to lack of cross-dependencies, the wrong headers got included. That
> > resulted in x86 assembly being included into the armel cross build, not
> > surprisingly, that doesn't work.

Have you installed all of the cross dependencies?

You should have lots of packages installed with the suffix -armel-cross.

dpkg -l |grep armel-cross

sudo embuilddeps -n -a armel
in the qt4-x11-4.7.3 source gives:

/usr/sbin/xapt -a armel   debhelper firebird2.1-dev flex freetds-dev g++-4.6 
libasound2-dev libaudio-dev libcups2-dev libdbus-1-dev libfreetype6-dev 
libgles2-dev libgles2-mesa-dev libglib2.0-dev libgstreamer-plugins-base0.10-dev 
libgstreamer0.10-dev libgtk2.0-dev libice-dev libjpeg-dev libmng-dev 
libmysqlclient-dev libpam0g-dev libpng12-dev libpq-dev libreadline-dev 
libsm-dev libsqlite0-dev libsqlite3-dev libssl-dev libtiff4-dev libx11-dev 
libxcursor-dev libxext-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev 
libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libxtst-dev libxv-dev 
pkg-kde-tools unixodbc-dev zlib1g-dev

All of those will be needed as -armel-cross packages whether they are
installed for the build architecture or not.

> > 
> > It is probably best to ensure that libqt4-dev is not installed for your
> > build architecture (the build arch == the Big machine or the Desktop
> > machine - the host arch is the handheld architecture).
> > 
> > You don't want libqt4-dev itself when building Qt.
> 
> After purging libqt4-dev from the build arch and restarting all over:
> I'm still getting the same errors.

That only happens if the compiler finds the headers for the build
architecture, not the host architecture.

What suite are you running on the build machine? (stable, unstable or testing?)

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpfM84l3nqpm.pgp
Description: PGP signature

Reply via email to