Devo installare lshw su nua macchina, ma ho solo il sorgente a disposizione.

codice:
atlante:~/lshw-B.02.11 # make
make -C src all
make[1]: Entering directory `/root/lshw-B.02.11/src'
make -C core all
make[2]: Entering directory `/root/lshw-B.02.11/src/core'
c++ -g -Wall  -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\"  -c hw.cc -o hw.o
hw.cc: In member function `std::string hwNode::asXML(unsigned int)':
hw.cc:1306: `_CS_GNU_LIBC_VERSION' undeclared (first use this function)
hw.cc:1306: (Each undeclared identifier is reported only once for each function
   it appears in.)
make[2]: *** [hw.o] Error 1
make[2]: Leaving directory `/root/lshw-B.02.11/src/core'
make[1]: *** [core] Error 2
make[1]: Leaving directory `/root/lshw-B.02.11/src'
make: *** [all] Error 2
Cosa può essere? g++ c'è ed è anche in una versione supportata, stando al README.

codice:
atlante:~/lshw-B.02.11 # g++ --version
g++ (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.