[Buildroot] lshw package not getting added to the resulting image

Peter Seiderer ps.report at gmx.net
Sat Nov 16 08:53:08 UTC 2019


Hello,

On Fri, 15 Nov 2019 14:01:46 -0300, Carlos Santos <unixmania at gmail.com> wrote:

> On Fri, Nov 15, 2019 at 1:29 PM Peter Seiderer <ps.report at gmx.net> wrote:
> >
> > Hello,
> >
> > On Thu, 14 Nov 2019 23:13:39 -0600 (CST), a <anushka.parashar at tesco.com> wrote:
> >
> > > Hi!
> > >
> > > I'm using buildroot-2019.02.6
> > >
> > > PFA .config file and build.log
> > >
> > > *.config file* is the file before I set BR2_PACKAGE_LSHW=y, and
> > >
> > > *build.log file* is the log after I set BR2_PACKAGE_LSHW=y and now it's
> >
> > Sorry, no config/build.log files attached to the e-mail...
> >
> > Regards,
> > Peter
> >
> > > showing the following error while building lshw B.02.18 package:
> > > make[1]:
> > > /root/buildroot-hello/output/host/bin/x86_64-buildroot-linux-uclibc-g++:
> > > Command not found
> > > make[1]: *** [lshw.o] Error 127
> > > make[1]: *** Waiting for unfinished jobs....
> > > make[2]: Entering directory
> > > `/root/buildroot-hello/output/build/lshw-B.02.18/src/core'
> > > /root/buildroot-hello/output/host/bin/x86_64-buildroot-linux-uclibc-g++ -g
> > > -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\"
> > > -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -D_LARGEFILE_SOURCE
> > > -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -c hw.cc -o hw.o
> > > make[2]:
> > > /root/buildroot-hello/output/host/bin/x86_64-buildroot-linux-uclibc-g++:
> > > Command not found
>
> Your toolchain does not have C++
>

In case you changed your .config already to enable C++, a full re-build will
maybe fix the problem, see [1] for details...

Regards,
Peter

[1] http://nightly.buildroot.org/manual.html#full-rebuild




More information about the buildroot mailing list