Plamen Neykov wrote:
Hi all, I have problem compiling the cdrtools 2.01a25 under SuSE 9.0. The error message is: /usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lscg
No clue, although adding the location of the library to the exvironment symbol LD_LIBRARY_PATH might help (that should be exported, of course).
and in libscg I get the following error message: ==> COMPILING "OBJ/i686-linux-cc/scsihack.o" In file included from scsihack.c:127: scsi-linux-sg.c: In function `sg_settimeout': scsi-linux-sg.c:1135: error: `HZ' undeclared (first use in this function) scsi-linux-sg.c:1135: error: (Each undeclared identifier is reported only once scsi-linux-sg.c:1135: error: for each function it appears in.) make[2]: *** [OBJ/i686-linux-cc/scsihack.o] Error 1 make[2]: Leaving directory `/root/src/cdrtools-2.01/libscg' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/src/cdrtools-2.01/libscg'
That looks like a cdrtools bug, the package depends on a non-standard setup of include files, and of course in recent kernels there is no such symbol, the current value is accessed from a function call.
-- E. Robert Bogusta It seemed like a good idea at the time