Installation Error: Impossible Constraint in 'arm'

Kelvin Xu kyoxu at hotmail.com
Wed Dec 27 22:56:44 PST 2006


Dear all,

When i am cross compiling D-bus using expat from my FC5 Linux host to a ARM 
target board. i got the following error:

creating dbus-monitor
if armv5l-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include 
-DDBUS_LOCALEDIR=\"/home/EmbeddedLinux/rfs/share/locale\" -DDBUS_COMPILATION 
-DDBUS_DAEMONDIR=\"/home/EmbeddedLinux/rfs/bin\" 
-DDBUS_MACHINE_UUID_FILE=\""/home/EmbeddedLinux/rfs/var/lib/dbus/machine-id"\" 
    -I/home/EmbeddedLinux/rfs/include -Wall -Wchar-subscripts 
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-Wcast-align -Wsign-compare -Wdeclaration-after-statement -fno-common -fPIC 
-MT dbus-launch.o -MD -MP -MF ".deps/dbus-launch.Tpo" -c -o dbus-launch.o 
dbus-launch.c; \
then mv -f ".deps/dbus-launch.Tpo" ".deps/dbus-launch.Po"; else rm -f 
".deps/dbus-launch.Tpo"; exit 1; fi
dbus-launch.c: In function 'kill_bus_when_session_ends':
dbus-launch.c:413: error: impossible constraint in 'asm'
dbus-launch.c:414: error: impossible constraint in 'asm'
dbus-launch.c:444: error: impossible constraint in 'asm'
dbus-launch.c:445: error: impossible constraint in 'asm'
dbus-launch.c:451: error: impossible constraint in 'asm'
dbus-launch.c:475: error: impossible constraint in 'asm'
make[2]: *** [dbus-launch.o] Error 1
make[2]: Leaving directory `/home/EmbeddedLinux/rfs/home/dbus-1.0.2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/EmbeddedLinux/rfs/home/dbus-1.0.2'
make: *** [all] Error 2

Has anyone succeeded in cross compiling DBus to ARM?
I used the fully configure command:
CC=armv5l-linux-gcc CFLAGS=-I/home/EmbeddedLinux/rfs/include
LDFLAGS=-l/home/EmbeddedLinux/rfs/lib ./configure --host=i386-linux 
--target=arm-linux
--prefix=/home/EmbeddedLinux/rfs --with-xml=expat

Thanks for any help.

Regards,
Kelvin

_________________________________________________________________
Get MSN Messenger emoticons and display pictures here! 
http://ilovemessenger.msn.com/?mkt=en-sg



More information about the dbus mailing list