Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Leonardo Sandoval
On Thu, 2017-03-30 at 17:25 +0200, Yuvarajesh Valleru wrote: > Thank you for great help and suggestions. I will go through other > recipes and try it again. > Also, you can try the script 'yocto-layer' ('create' subcommand) to create a layer with a single recipe (the hello world one) Leo > Th

Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Yuvarajesh Valleru
Thank you for great help and suggestions. I will go through other recipes and try it again. Thanks again. Am 30.03.2017 um 14:46 schrieb Fabien Lahoudere: Seems to be related to missing CFLAGS to compile. IMO you should look at how other recipe build qt4 apps. On Thu, 2017-03-30 at 14:38 +02

Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Gary Thomas
On 2017-03-30 14:46, Fabien Lahoudere wrote: Seems to be related to missing CFLAGS to compile. IMO you should look at how other recipe build qt4 apps. The primary problem is that between the time the info you are following (probably many years old now - Angstrom has been quite stale since 2015

Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Fabien Lahoudere
Seems to be related to missing CFLAGS to compile. IMO you should look at how other recipe build qt4 apps. On Thu, 2017-03-30 at 14:38 +0200, Yuvarajesh Valleru wrote: > Thanks, It worked. But experienced another error. > > ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log  > f

Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Yuvarajesh Valleru
Thanks, It worked. But experienced another error. ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.31394) ERROR: Logfile of failure stor

Re: [yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Fabien Lahoudere
Try do_compile() {   ${CC} ${S}/helloworld.cpp -o ${S}/helloworld } On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote: > Here is the tree for my recipe and also attached the error. > > /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/ > ├── files > │ ├── h

[yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files

2017-03-30 Thread Yuvarajesh Valleru
Here is the tree for my recipe and also attached the error. /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/ ├── files │ ├── helloworld.cpp │ └── helloworld.pro └── helloworld_1.0.bb 1 directory, 3 files ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log