AnsweredAssumed Answered

[Troubles] ltib failed build on dbus

Question asked by Marco Bari on May 23, 2013
Latest reply on May 29, 2013 by Marco Bari
Branched to a new discussion



I'm trying to build linux kernel on Ubuntu 9.04 for iMX6 but build failed on dbus.


How I can resolve the problem?



Thanks in advance



/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.6.2/../../../../arm-fsl-linux-gnueabi/bin/ld: cannot find -lX11

collect2: ld returned 1 exit status

make[2]: *** [dbus-launch] Error 1

make[2]: *** Waiting for unfinished jobs....

gcc -ffunction-sections -fdata-sections -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wdeclaration-after-statement -fno-common -o .libs/dbus-send dbus-print-message.o dbus-send.o  ../dbus/.libs/

gcc -ffunction-sections -fdata-sections -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wdeclaration-after-statement -fno-common -o .libs/dbus-uuidgen dbus-uuidgen.o  ../dbus/.libs/

gcc -ffunction-sections -fdata-sections -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wdeclaration-after-statement -fno-common -o .libs/dbus-monitor dbus-monitor.o dbus-print-message.o  ../dbus/.libs/

creating dbus-send

creating dbus-uuidgen

creating dbus-monitor

make[2]: Leaving directory `/home/marco/ltib/rpm/BUILD/dbus-1.2.3/tools'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/marco/ltib/rpm/BUILD/dbus-1.2.3'

make: *** [all] Error 2

error: Bad exit status from /home/marco/ltib/tmp/rpm-tmp.21247 (%build)



RPM build errors:

    Bad exit status from /home/marco/ltib/tmp/rpm-tmp.21247 (%build)

Build time for dbus: 67 seconds


Failed building dbus



f_buildrpms() returned an error, exiting





Started: Thu May 23 10:42:15 2013

Ended:   Thu May 23 10:45:41 2013

Elapsed: 206 seconds


These packages failed to build:



Build Failed