From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
To: Yuvarajesh Valleru <yv@iseg-hv.de>
Cc: Gary Thomas <gary@mlbassoc.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
Date: Thu, 30 Mar 2017 10:04:44 -0600 [thread overview]
Message-ID: <1490889884.17259.54.camel@linux.intel.com> (raw)
In-Reply-To: <3e681f5f-430b-5490-148f-d11d303f0a8b@iseg-hv.de>
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
> 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 +0200, Yuvarajesh Valleru wrote:
> >> 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 stored in:
> >> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> >> r0/temp/log.do_compile.31394
> >> Log data follows:
> >>> DEBUG: Executing shell function do_compile
> >>>
> >> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> >> r0/helloworld.cpp:1:23:
> >> fatal error: QTextStream: No such file or directory
> >>> 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.31394)
> >> ERROR: Task
> >> (/home/cc/src/oe-core/build/../layers/meta-laye/recipes-
> >> hi/helloworld/helloworld_1.0.bb:do_compile)
> >> failed with exit code '1'
> >> NOTE: Tasks Summary: Attempted 591 tasks of which 590 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.
> >>
> >>
> >> Am 30.03.2017 um 12:54 schrieb 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
> >>>> │ ├── 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.
> >>>>
> >>>>
> >>>>
> >>
>
prev parent reply other threads:[~2017-03-30 15:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 10:43 arm-angstrom-linux-gnueabi-gcc: fatal error: no input files Yuvarajesh Valleru
2017-03-30 10:54 ` Fabien Lahoudere
2017-03-30 12:38 ` Yuvarajesh Valleru
2017-03-30 12:46 ` Fabien Lahoudere
2017-03-30 13:07 ` Gary Thomas
2017-03-30 15:25 ` Yuvarajesh Valleru
2017-03-30 16:04 ` Leonardo Sandoval [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490889884.17259.54.camel@linux.intel.com \
--to=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
--cc=yv@iseg-hv.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.