Hi all
Im using "./ltib --config" for Freescale iM233/stemp3780.
I receive the following error:
..snip..
dbus-launch.c: In function 'main':
dbus-launch.c:472: error: impossible constraint in 'asm'
dbus-launch.c:473: error: impossible constraint in 'asm'
make[2]: *** [dbus-launch.o] Error 1
make[2]: Leaving directory `/home/david/Freescale/installed/ltib/rpm/BUILD/dbus-1.2.3/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/Freescale/installed/ltib/rpm/BUILD/dbus-1.2.3'
make: *** [all] Error 2
error: Bad exit status from /home/david/Freescale/installed/ltib/tmp/rpm-tmp.37867 (%build)
RPM build errors:
Bad exit status from /home/david/Freescale/installed/ltib/tmp/rpm-tmp.37867 (%build)
Build time for dbus: 27 secondsFailed building dbus
f_buildrpms() returned an error, exiting
traceback:
main:560
Started: Thu Oct 6 14:28:58 2011
Ended: Thu Oct 6 14:31:52 2011
Elapsed: 174 secondsThese packages failed to build:
dbusBuild Failed
Exiting on error or interrupt
I've heard this is either an issue with the dbus make file, I need to uncomment "--without-x", or my "system header files" are buggy. Being totally new to Linux and Linux for embedded systems, I have no idea what this means or how to approach this.
Any help would be appreciated.
Thanks
Thanks for your advice! i had an issue creating ltib for iMX53 START board showing the same error
dbus failed
After adding "-without-x" option to the dist/lfs-5.1/dbus/dbus.spec file, compilation succeeded.
thanks!!
I found that the dist/lfs-5.1/dbus/dbus.spec file for the 10.07 BSP and the 11.05/09 BSPs were different. If I add the “–without-x” to the configure step in the dbus.spec file in 11.05 it works fine.
%Build
export ac_cv_have_abstract_sockets=yes
./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} \
--enable-abstract-sockets --disable-xml-docs --disable-doxygen-docs -without-x
perl -pi -e 's,^sys_lib_search_path_spec=.*,sys_lib_search_path_spec=,' libtool
make
So far I've not found anything. I completely removed and re-installed ltib and all the supporting packages and still get the same failure. I'm working with 11.05 and 11.09. I also work with 10.07 and that builds dbus without issues ( in a different VM though ).
I've been building fine with ltib for months, then all of a sudden ( I'm sure it's something I've done and cannot pinpoint at the monent ), I got this same error. Building for imx53 QSB ( loco ). I've been working on it on and off today with no resolution yet. If I find something I'll let you know.