[yocto] arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
Fabien Lahoudere
fabien.lahoudere at collabora.co.uk
Thu Mar 30 03:54:52 PDT 2017
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
> │ ├── helloworld.cpp
> │ └── helloworld.pro
> └── helloworld_1.0.bb
>
> 1 directory, 3 files
>
> 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.23742)
>
> ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-
> angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
> Log data follows:
> > DEBUG: Executing shell function do_compile
> > arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
> > arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
> > compilation terminated.
> > WARNING: exit code 1 from a shell command.
> > ERROR: 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.23742)
>
> ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
> NOTE: Writing buildhistory
>
> Summary: 1 task failed:
> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> hi/helloworld/helloworld_1.0.bb:do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
>
>
More information about the yocto
mailing list