All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] lshw package not getting added to the resulting image
@ 2019-11-13 11:41 a
  2019-11-13 20:58 ` Peter Seiderer
  0 siblings, 1 reply; 9+ messages in thread
From: a @ 2019-11-13 11:41 UTC (permalink / raw)
  To: buildroot

I wanna run lshw from my resulting image, 
I have selected hwdata but lshw pacakge is not getting added to output/build
after the compilation is over. 



--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-13 11:41 [Buildroot] lshw package not getting added to the resulting image a
@ 2019-11-13 20:58 ` Peter Seiderer
  2019-11-14  7:29   ` a
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Seiderer @ 2019-11-13 20:58 UTC (permalink / raw)
  To: buildroot

Hello Anushka,

On Wed, 13 Nov 2019 05:41:55 -0600 (CST), a <anushka.parashar@tesco.com> wrote:

> I wanna run lshw from my resulting image,
> I have selected hwdata but lshw pacakge is not getting added to output/build
> after the compilation is over.

Why do you believe the command 'lshw' is in the selected package hwdata?
Try package lshw (BR2_PACKAGE_LSHW=y) instead...

Regards,
Peter

>
>
>
> --
> Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-13 20:58 ` Peter Seiderer
@ 2019-11-14  7:29   ` a
  2019-11-14 19:25     ` Peter Seiderer
  0 siblings, 1 reply; 9+ messages in thread
From: a @ 2019-11-14  7:29 UTC (permalink / raw)
  To: buildroot

Actually I can't find BR2_PACKAGE_LSHW variable in .config file as it is not
visible in buildroot config tool under hardware handling packages. Can't
figure out why?
I tried setting BR2_PACKAGE_LSHW=y manually, it doesn't seem to work!



--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-14  7:29   ` a
@ 2019-11-14 19:25     ` Peter Seiderer
  2019-11-15  5:13       ` a
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Seiderer @ 2019-11-14 19:25 UTC (permalink / raw)
  To: buildroot

Hello Anushka,

On Thu, 14 Nov 2019 01:29:47 -0600 (CST), a <anushka.parashar@tesco.com> wrote:

> Actually I can't find BR2_PACKAGE_LSHW variable in .config file as it is not
> visible in buildroot config tool under hardware handling packages. Can't
> figure out why?
> I tried setting BR2_PACKAGE_LSHW=y manually, it doesn't seem to work!

According to git log the lshw package was added 2012..., which buildroot
version do you use?

If in doubt, attach your .config file...

Regards,
Peter

>
>
>
> --
> Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-14 19:25     ` Peter Seiderer
@ 2019-11-15  5:13       ` a
  2019-11-15 16:28         ` Peter Seiderer
  0 siblings, 1 reply; 9+ messages in thread
From: a @ 2019-11-15  5:13 UTC (permalink / raw)
  To: buildroot

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
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
make[2]: *** [hw.o] Error 127
make[2]: Leaving directory
`/root/buildroot-hello/output/build/lshw-B.02.18/src/core'
make[1]: *** [core] Error 2
make[1]: Leaving directory
`/root/buildroot-hello/output/build/lshw-B.02.18/src'
make: *** [/root/buildroot-hello/output/build/lshw-B.02.18/.stamp_built]
Error 2




--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-15  5:13       ` a
@ 2019-11-15 16:28         ` Peter Seiderer
  2019-11-15 17:01           ` Carlos Santos
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Seiderer @ 2019-11-15 16:28 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 14 Nov 2019 23:13:39 -0600 (CST), a <anushka.parashar@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
> make[2]: *** [hw.o] Error 127
> make[2]: Leaving directory
> `/root/buildroot-hello/output/build/lshw-B.02.18/src/core'
> make[1]: *** [core] Error 2
> make[1]: Leaving directory
> `/root/buildroot-hello/output/build/lshw-B.02.18/src'
> make: *** [/root/buildroot-hello/output/build/lshw-B.02.18/.stamp_built]
> Error 2
>
>
>
>
> --
> Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-15 16:28         ` Peter Seiderer
@ 2019-11-15 17:01           ` Carlos Santos
  2019-11-16  8:53             ` Peter Seiderer
  2019-11-18  6:41             ` a
  0 siblings, 2 replies; 9+ messages in thread
From: Carlos Santos @ 2019-11-15 17:01 UTC (permalink / raw)
  To: buildroot

On Fri, Nov 15, 2019 at 1:29 PM Peter Seiderer <ps.report@gmx.net> wrote:
>
> Hello,
>
> On Thu, 14 Nov 2019 23:13:39 -0600 (CST), a <anushka.parashar@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++

-- 
Carlos Santos <unixmania@gmail.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-15 17:01           ` Carlos Santos
@ 2019-11-16  8:53             ` Peter Seiderer
  2019-11-18  6:41             ` a
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Seiderer @ 2019-11-16  8:53 UTC (permalink / raw)
  To: buildroot

Hello,

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

> On Fri, Nov 15, 2019 at 1:29 PM Peter Seiderer <ps.report@gmx.net> wrote:
> >
> > Hello,
> >
> > On Thu, 14 Nov 2019 23:13:39 -0600 (CST), a <anushka.parashar@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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Buildroot] lshw package not getting added to the resulting image
  2019-11-15 17:01           ` Carlos Santos
  2019-11-16  8:53             ` Peter Seiderer
@ 2019-11-18  6:41             ` a
  1 sibling, 0 replies; 9+ messages in thread
From: a @ 2019-11-18  6:41 UTC (permalink / raw)
  To: buildroot

Hey!
Thanks Peter and unixmania! 
It's working now after enabling C++ support.



--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-11-18  6:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13 11:41 [Buildroot] lshw package not getting added to the resulting image a
2019-11-13 20:58 ` Peter Seiderer
2019-11-14  7:29   ` a
2019-11-14 19:25     ` Peter Seiderer
2019-11-15  5:13       ` a
2019-11-15 16:28         ` Peter Seiderer
2019-11-15 17:01           ` Carlos Santos
2019-11-16  8:53             ` Peter Seiderer
2019-11-18  6:41             ` a

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.