[yocto] Can't find the header files after install adt_installer.tar.gz

Neil.Wu at Emerson.com Neil.Wu at Emerson.com
Thu Nov 13 21:05:15 PST 2014


Thank you for your reply.
I just move the adt_installer.tar.gz to another pc which don't have yocto project. Install the adt_installer and execute the environment-setup-armv5te-poky-linux-gnueabi

Then compile the hello.c
arm-poky-linux-gnueabi-gcc hello.c -o hello

I don't know whether need to do other thing?
-----Original Message-----
From: Nick Krause [mailto:xerofoify at gmail.com] 
Sent: Thursday, November 13, 2014 11:05 PM
To: Wu, Neil [CLIMATE/RS/CN]
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Can't find the header files after install adt_installer.tar.gz

Have you read the yocto docs on ADT for building correctly your development kit, seems to me rather trivial error in either your build or bitbake recipe for hello world.
Cheers Nick

On Thu, Nov 13, 2014 at 4:43 AM,  <Neil.Wu at emerson.com> wrote:
> Hi all :
>
>            I have installed  the adt_installer .tar.gz like fllowing:
>
>               $ cd ~
>
>               $ tar -xjf adt_installer.tar.bz2
>
>               $ cd adt-installer
>
>               $ ./adt_installer
>
>
>
>         Because the
> YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/$YOCTOADT_TARGET_MAC
> HINE_arm
> in adt_installer.conf file ,
>
>         then I extract the myself Root Filesystem:
>
>              $source /opt/poky/1.7/environment-setup-i586-poky-linux
>
>              $ runqemu-extract-sdk
> ~/Downloads/core-image-arm-rootfs.tar.bz2           $HOME/ test-yocto/
> qemuarm/
>
>
>
>        Try to compile  the  “Helloworld”, it apper this error:
>
>           hello.c:1:19: fatal error: stdio.h: No such file or 
> directory
>
>
>
>     Do you know how to resolve the issue? Please help me !
>
>     Thank you very much!
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


More information about the yocto mailing list