[Slackbuilds-users] lshw: compilation fails

Glenn Becker burningc at SDF.LONESTAR.ORG
Fri Oct 15 18:06:00 UTC 2010


Hi -

I am trying to build lshw on one of my -current boxes, and the build is 
failing thusly:

c++ -g -Wall  -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" 
-DMANDIR=\"/usr/man\" -DDATADIR=\"/usr/share\" -O2 -march=i486 -mtune=i686 
-c scsi.cc -o scsi.o
scsi.cc: In function 'bool scan_hosts(hwNode&)':
scsi.cc:845:74: error: cannot call constructor 'hwNode::hwNode' directly
scsi.cc:845:74: error:   for a function-style cast, remove the redundant 
'::hwNode'
make[2]: *** [scsi.o] Error 1
make[2]: Leaving directory `/tmp/SBo/lshw-B.02.14/src/core'
make[1]: *** [core] Error 2
make[1]: Leaving directory `/tmp/SBo/lshw-B.02.14/src'
make: *** [all] Error 2

... should I consider writing the upstream maintainer? This doesn't seem 
(to me) to have anything to do with the Slackbuild. Or should I report 
this to the lshw maintainer?

I see on the lshw webpage that

"The latest version is B.02.15"

... maybe that version'd work better ...?

Sorry, not sure what the protocol is.

Thanks,

Glenn

+-----------------------------------------------------+
Glenn Becker - burningc at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
+-----------------------------------------------------+


More information about the SlackBuilds-users mailing list