glibc build fails

Rod Whitby rod at whitby.id.au
Thu Aug 7 01:42:41 CEST 2008


Graeme Gregory wrote:
> On Tue, 05 Aug 2008 12:12:53 +0930
> Rod Whitby <rod at whitby.id.au> wrote:
> 
>> Yaroslav Halchenko wrote:
>>> Dear Dev'ers,
>>>
>>> trying to build up-to-date image using MokoMakefile
>>>
>>> fails to build glibc with problem listed below. apparently is
>>> missing
>>> -L/home/yoh/nobackup_openmoko/sdk/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-intermediate-4.1.2-r18/gcc-4.1.2/build.x86_64-linux.arm-angstrom-linux-gnueabi/gcc/
>>>
>>> could anyone point me to the right direction on what would be the
>>> right patch? thanks in advance
>> I get the same error.  This is something deep within OpenEmbedded,
>> and I personally wouldn't know where to begin to debug it.

Hmm - actually, I get a different error, on compiling 
/home/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-intermediate-4.1.2-r18:

[excuse the formatting]

> /home/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-intermediate-\
> 4.1.2-r18/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/xgcc -B/h\
> ome/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-intermediate-4.\
> 1.2-r18/gcc-4.1.2/build.i686-linux.arm-angstrom-linux-gnueabi/./gcc/ -march=arm\
> v4t -mtune=arm920t -isystem/home/moko/build/tmp/staging/arm-angstrom-linux-gnue\
> abi/usr/include -B/home/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/bin/ -B\
> /home/moko/build/tmp/cross/arm-angstrom-linux-gnueabi/lib/ -isystem /home/moko/\
> build/tmp/cross/arm-angstrom-linux-gnueabi/include -isystem /home/moko/build/tm\
> p/cross/arm-angstrom-linux-gnueabi/sys-include -O2 -g -Os -DIN_GCC -DCROSS_COMP\
> ILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-s\
> tyle-definition  -isystem ./include  -I. -I. -I/home/moko/build/tmp/work/armv4t\
> -angstrom-linux-gnueabi/gcc-cross-intermediate-4.1.2-r18/gcc-4.1.2/gcc -I/home/\
> moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-intermediate-4.1.2-\
> r18/gcc-4.1.2/gcc/. -I/home/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/g\
> cc-cross-intermediate-4.1.2-r18/gcc-4.1.2/gcc/../include -I/home/moko/build/tmp\
> /work/armv4t-angstrom-linux-gnueabi/gcc-cross-intermediate-4.1.2-r18/gcc-4.1.2/\
> gcc/../libcpp/include   -g0 -finhibit-size-directive -fno-inline-functions -fno\
> -exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time   \
>           -c /home/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-\
> intermediate-4.1.2-r18/gcc-4.1.2/gcc/crtstuff.c -DCRT_BEGIN \
>           -o crtbegin.o
> In file included from /home/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/g\
> cc-cross-intermediate-4.1.2-r18/gcc-4.1.2/gcc/crtstuff.c:68:
> /home/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gcc-cross-intermediate-\
> 4.1.2-r18/gcc-4.1.2/gcc/tsystem.h:90:19: error: stdio.h: No such file or direct\
> ory

I mistook your error message for the one I got, and replied in haste. 
Looks like it's two separate problems.

-- Rod




More information about the devel mailing list