[yocto] Parse error: unable to parse line

Fabien Lahoudere fabien.lahoudere at collabora.co.uk
Thu Mar 30 02:10:53 PDT 2017


The line is parsed here.
Did you copy paste the quote from a tutorial on internet?
Sometime encoding lead to such issues.

On Thu, 2017-03-30 at 11:00 +0200, Yuvarajesh Valleru wrote:
> No,
> Sorry. I haven't left it. The please find the file below:
> SUMMARY = "hello world program"
> HOMEPAGE = "http://www.yoctoproject.org/"
> SECTION = "network"
> LICENSE = "CLOSED"
> inherit qt4e
> 
> SRC_URI = " \
>     file://helloworld.pro \
>     file://helloworld.cpp \
>     "
> 
> S = "${WORKDIR}"
> 
> QMAKE_PROFILES = "${WORKDIR}/helloworld.pro \
>     "
> 
> do_compile() {
>         ${CC} helloworld.cpp -o helloworld
> }
> 
> do_install() {
>         install -d ${D}${bindir} ${D}${docdir}/helloworld
>         install -m 0644 helloworld ${D}${bindir}
> }
> 
> Am 30.03.2017 um 10:56 schrieb Burton, Ross:
> > On 30 March 2017 at 09:14, Yuvarajesh Valleru <yv at iseg-hv.de> wrote:
> > > SUMMARY = "hello world program"
> > > HOMEPAGE = "http://www.yoctoproject.org/"
> > > SECTION = "network"
> > > LICENSE = "CLOSED"
> > > inherit qt4e
> > > 
> > > SRC_URI = " \
> > >     file://helloworld.pro \
> > >     file://helloworld.cpp \
> > >     "
> > > 
> > > S = "${WORKDIR}"
> > > 
> > > QMAKE_PROFILES = "${WORKDIR}/helloworld.pro \
> > >     "
> > > 
> > > do_compile() {
> > >         ${CC} helloworld.cpp -o helloworld
> > > }
> > > 
> > > do_install() {
> > >         install -d ${D}${bindir} ${D}${docdir}/helloworld
> > >         install -m 0644 helloworld
> > > 
> > 
> > Did you leave out the trailing } here in the real file?
> > 
> > Ross
>  



More information about the yocto mailing list