bitbake shasum-native.bb fails to compile in oe stable branch

toni+openembedded-users at stderror.at toni+openembedded-users at stderror.at
Fri Dec 26 15:57:29 UTC 2008


hi,

when building shasum-native with bitbake i get the following error message:

.
. lots of output
.
 + gcc -isystem/home/pinhead/oe-new/build/tmp/staging/i686-linux/include -Os -isystem/home/pinhead/oe-new/build/tmp/staging/i686-linux/include -o oe_sha256sum main.c sha256.c
| In file included from main.c:1:
| /usr/include/stdio.h:34:21: error: stddef.h: No such file or directory
| In file included from /usr/include/stdio.h:75,
|                  from main.c:1:
| /usr/include/libio.h:53:21: error: stdarg.h: No such file or directory
| In file included from /usr/include/stdio.h:75,
|                  from main.c:1:
.
. lots of output 
.

i started bitbake with the following command:

bitbake -DDD -b shasum-native.bb

the strange thing is when i execute 

../oe-new/build/tmp/work/i686-linux/shasum-native-1.0-r1/temp/run.do_compile.11519

manually everything works and gcc creates the oe_sha256sum binary.

my gcc version is 

gcc (Debian 4.3.2-1) 4.3.2

i'm setting up my bitbake environment with the following script

=======================
export OEDIR=$HOME/oe-new
export PATH=$OEDIR/bitbake/bin:$PATH
export BBPATH=/home/pinhead/oe-new/build:/home/pinhead/oe-new/openembedded
export http_proxy=http://murus.stderror.at:8080/
export ftp_proxy=http://murus.stderror.at:8080/
export HTTP_PROXY=http://murus.stderror.at:8080/
export FTP_PROXY=http://murus.stderror.at:8080/
=======================

my local.conf

=======================
OEDIR = "/home/pinhead/oe-new"
DL_DIR = "${OEDIR}/sources"
BBINCLUDELOGS = "yes"

ENABLE_BINARY_LOCALE="0"

BBFILES = "/home/pinhead/oe-new/openembedded/packages/*/*.bb"
DISTRO = "angstrom-2007.1"
MACHINE = "cm-x270"
=======================

and my bitbake version

BB_VERSION     = "1.8.13"


thanks for your time and help
toni
-- 
Don't forget, there is no security | toni at stderror dot at 
-- Wulfgar                         | Toni Schmidbauer




More information about the Openembedded-users mailing list