Error compiling openembedded console-image (libpcap-1.0.0-r5)

79 views
Skip to first unread message

Nitin Sakhuja

unread,
Feb 1, 2009, 3:00:38 PM2/1/09
to Beagle Board
Hi,

After updating from the openembedded git, I am getting the following
error while executing "bitbake console-image"
==================================
NOTE: Running task 1046 of 2210 (ID: 1016, /home/nitin/oe/openembedded/
packages/libpcap/libpcap_1.0.0.bb, do_compile)
NOTE: package libpcap-1.0.0: started
NOTE: package libpcap-1.0.0-r5: task do_compile: started
ERROR: function do_compile failed
ERROR: see log in /home/nitin/oe/tmp/work/armv7a-angstrom-linux-
gnueabi/libpcap-1.0.0-r5/temp/log.do_compile.5398
NOTE: Task failed: /home/nitin/oe/tmp/work/armv7a-angstrom-linux-
gnueabi/libpcap-1.0.0-r5/temp/log.do_compile.5398
NOTE: package libpcap-1.0.0-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libpcap-1.0.0: failed
ERROR: Build of /home/nitin/oe/openembedded/packages/libpcap/
libpcap_1.0.0.bb do_compile failed
ERROR: Task 1016 (/home/nitin/oe/openembedded/packages/libpcap/
libpcap_1.0.0.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 1045 tasks of which 1045 didn't need to
be rerunand 1 failed.
ERROR: '/home/nitin/oe/openembedded/packages/libpcap/libpcap_1.0.0.bb'
failed
NOTE: build 200902011345: completed
===========================================

The error log shows a missing header bluetooth/bluetooth.h
-------------------------------------------------
ccache arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -
mfpu=neon -mfloat-abi=softfp -O2 -fPIC -I/home/nitin/oe/tmp/work /
armv7a-angstrom-linux-gnueabi/libpcap-1.0.0-r5/libpcap-1.0.0 -isystem/
home/nitin/oe/tmp/staging/armv7a-angstrom-linux-gnueabi/usr/incl
ude -fexpensive-optimizations -frename-registers -fomit-frame-pointer -
O2 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pc ap-
bt-linux.c
3 ./pcap-bt-linux.c:60:33: error: bluetooth/bluetooth.h: No such
file or directory
4 ./pcap-bt-linux.c:61:27: error: bluetooth/hci.h: No such file or
directory
............
-----------------------------


Any help w.r.t what could be going wrong ?

Thanks for the time...

-Nitin

Nitin Sakhuja

unread,
Feb 7, 2009, 3:42:40 AM2/7/09
to Beagle Board
> -----------------------------
>
> Any help w.r.t what could be going wrong ?
>
> Thanks for the time...
>
> -Nitin


Hi Everyone,

Can someone please try to help me with the above error ?
I have checked that the bluetooth header files listed in the error
log, are there...
-------------------------------------------------------------------------------------------------------------------------
I am running UBUNTU 8.10 (Under SunVirtualBox) and below is the
bitbake console-image output
OE Build Configuration:
BB_VERSION =
"1.8.13"
METADATA_BRANCH =
"org.openembedded.dev"
METADATA_REVISION =
"adc8f713b4c5a6e552e955b85d5840c0add73871"
TARGET_ARCH =
"arm"
TARGET_OS = "linux-
gnueabi"
MACHINE =
"beagleboard"
DISTRO =
"angstrom"
DISTRO_VERSION = "2009.X-test-20090207"
TARGET_FPU = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version git of u-boot not available (for item u-boot)
NOTE: preferred version git of u-boot not available (for item u-boot)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1078 of 2223 (ID: 1016, /home/nitin/oe/openembedded/
packages/libpcap/libpcap_1.0.0.bb, do_compile)
NOTE: package libpcap-1.0.0: started
NOTE: package libpcap-1.0.0-r5: task do_compile: started
ERROR: function do_compile failed
ERROR: see log in /home/nitin/oe/tmp/work/armv7a-angstrom-linux-
gnueabi/libpcap-1.0.0-r5/temp/log.do_compile.21885
NOTE: Task failed: /home/nitin/oe/tmp/work/armv7a-angstrom-linux-
gnueabi/libpcap-1.0.0-r5/temp/log.do_compile.21885
NOTE: package libpcap-1.0.0-r5: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libpcap-1.0.0: failed
ERROR: Build of /home/nitin/oe/openembedded/packages/libpcap/
libpcap_1.0.0.bb do_compile failed
ERROR: Task 1016 (/home/nitin/oe/openembedded/packages/libpcap/
libpcap_1.0.0.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 1077 tasks of which 1077 didn't need to
be rerunand 1 failed.
ERROR: '/home/nitin/oe/openembedded/packages/libpcap/libpcap_1.0.0.bb'
failed
NOTE: build 200902070232: completedOE Build Configuration:
BB_VERSION =
"1.8.13"
METADATA_BRANCH =
"org.openembedded.dev"
METADATA_REVISION =
"adc8f713b4c5a6e552e955b85d5840c0add73871"
TARGET_ARCH =
"arm"
TARGET_OS = "linux-
gnueabi"
MACHINE =
"beagleboard"
DISTRO =
"angstrom"
DISTRO_VERSION = "2009.X-test-20090207"
TARGET_FPU = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: preferred version git of u-boot not available (for item u-boot)
NOTE: preferred version git of u-boot not available (for item u-boot)
---------------------------------------------------------------------------------------------------------

Request you to please provide your inputs.

Regards
-Nitin

Favor Tang

unread,
Feb 7, 2009, 10:16:20 AM2/7/09
to beagl...@googlegroups.com
I have the same problem with you :9)

maybe we don't need the bluetooth function on BB.
--
     
   /favor

Nitin Sakhuja

unread,
Feb 7, 2009, 2:50:24 PM2/7/09
to beagl...@googlegroups.com


 
Thanks for the response... Looks like no one else has faced this problem given the response to this since this problem was posted  last week. I am wondering if there is there a way to fix this or exclude this package from compilation. My knowledge on Bitbake is still limited, but i'll give this a try.
 
-Nitin
 

Nitin Sakhuja

unread,
Feb 7, 2009, 7:16:16 PM2/7/09
to beagl...@googlegroups.com

OK, So finally I had to remove this package from the task list to get the build going. I tried to fix the include paths in the Makefile but that didn't work. Even tried to include the files from their absolute paths in the c file pcap-bt-linux.c which fixed the above mentioned errors but started popping other errors. I believe that this is something wrong going on my system (and maybe Favor's too) so to move further, I removed this task and the build went OK.
 
I just hope that the rootfs works fine with 2.6.28-r12 uImage which I compiler earlier.
 
Thanks
-Nitin 
Reply all
Reply to author
Forward
0 new messages