If it does not work as for me
check this
http://shr-project.org/trac/wiki/Building%20SHR#error:Cpreprocessorarm-angstrom-linux-gnueabi-gcc-Efailssanitycheck
and if it failed with an mmap permission error
then take a look here
http://shr-project.org/trac/wiki/Building%20SHR#procsysvmmmap_min_addr
cu


2010/5/11 Martin Jansa <[email protected]>

> On Tue, May 11, 2010 at 11:13:17PM +0800, Daniel Li wrote:
> > Dear Friends,
>
> Hi,
>
> > How can I fix this problem?  Thanks in advance.
>
> shorter to type, longer to execute version:
> mv tmp/cache .
> rm -rf tmp/*
> mv cache tmp
> build image again
>
> longer to type version, shorter to execute, possibly working:
> for i in recipes/eglibc/*2.11*.bb recipes/gcc/*4.4.3*.bb; do
>  echo $i;
>  bitbake -c clean -b $i;
> done
> build image again
>
> staging dir is now gone, new staging is sysroots and bitbake should
> create legacy links for backward compatibility, but it's not so well
> tested as rebuild from scratch.
>
> > NOTE: Running task 5 of 17 (ID: 8,
> /home/daniel/Work/shr/shr-unstable/openembedded/recipes/eglibc/
> eglibc_2.11.bb,
> > do_configure)
> > NOTE: package eglibc-2.11-r10.4: task do_configure: Started
> > ERROR: Task 8
> (/home/daniel/Work/shr/shr-unstable/openembedded/recipes/eglibc/
> eglibc_2.11.bb,
> > do_configure) failed with 256
> > ERROR: '/home/daniel/Work/shr/shr-unstable/openembedded/recipes/eglibc/
> eglibc_2.11.bb'
> > failed
> > ERROR: Function do_configure failed
> > NOTE: Task failed: ('function do_configure failed',
> '/home/daniel/Work/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-2.11-r10.4/temp/log.do_configure.4851')
> > ERROR: Logfile of failure stored in:
> /home/daniel/Work/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-2.11-r10.4/temp/log.do_configure.4851
> > Log data follows:
> > | NOTE: Running
> /home/daniel/Work/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-2.11-r10.4/eglibc-2_11/libc/configure
> > --build=i686-linux           --host=arm-oe-linux-gnueabi
> > --target=arm-oe-linux-gnueabi           --prefix=/usr
> > --exec_prefix=/usr           --bindir=/usr/bin
> > --sbindir=/usr/sbin           --libexecdir=/usr/libexec
> > --datadir=/usr/share           --sysconfdir=/etc
> > --sharedstatedir=/com           --localstatedir=/var
> > --libdir=/usr/lib           --includedir=/usr/include
> > --oldincludedir=/usr/include           --infodir=/usr/share/info
> > --mandir=/usr/share/man             --enable-kernel=2.6.24
> > --without-cvs --disable-profile --disable-debug --without-gd
> > --enable-clocale=gnu
> > --enable-add-ons=ports,nptl,libidn,ports
> --with-headers=/home/daniel/Work/shr/shr-unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include
> > --without-selinux                  --without-fp --without-fp
> > ...
> > | checking build system type... i686-pc-linux-gnu
> > | checking host system type... arm-oe-linux-gnueabi
> > | checking for arm-oe-linux-gnueabi-gcc... ccache
> > arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
> > -mthumb-interwork -mno-thumb
> > | checking for suffix of object files... o
> > | checking whether we are using the GNU C compiler... yes
> > | checking whether ccache arm-oe-linux-gnueabi-gcc -march=armv4t
> > -mtune=arm920t -mthumb-interwork -mno-thumb accepts -g... yes
> > | checking for ccache arm-oe-linux-gnueabi-gcc -march=armv4t
> > -mtune=arm920t -mthumb-interwork -mno-thumb option to accept ISO
> > C89... unsupported
> > | checking for gcc... ccache gcc
> > | checking how to run the C preprocessor... arm-oe-linux-gnueabi-gcc -E
> > | configure: error: in
> `/home/daniel/Work/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/eglibc-2.11-r10.4/build-arm-oe-linux-gnueabi':
> > | configure: error: C preprocessor "arm-oe-linux-gnueabi-gcc -E"
> > fails sanity check
> > | See `config.log' for more details.
>
> The real error is here ^^^ but I guess some header file is missing (like
> stdio.h..).
>
> > | FATAL: oe_runconf failed
> > NOTE: package eglibc-2.11-r10.4: task do_configure: Failed
> > ERROR: TaskFailed event exception, aborting
> > ERROR: Build of
> /home/daniel/Work/shr/shr-unstable/openembedded/recipes/eglibc/
> eglibc_2.11.bb
> > do_configure failed
> > ERROR: Task 8
> (/home/daniel/Work/shr/shr-unstable/openembedded/recipes/eglibc/
> eglibc_2.11.bb,
> > do_configure) failed with 256
> > ERROR: '/home/daniel/Work/shr/shr-unstable/openembedded/recipes/eglibc/
> eglibc_2.11.bb'
> > failed
>
> Regards,
>
> --
> uin:136542059                
> jid:[email protected]<jid%[email protected]>
> Jansa Martin                 
> sip:[email protected]<sip%[email protected]>
> JaMa
> _______________________________________________
> Shr-devel mailing list
> [email protected]
> http://lists.shr-project.org/mailman/listinfo/shr-devel
>
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to