Hello. I am trying to compile (so far without success) version 1.10 of cdrtools (a suite of programs which includes cdrecord). I'm doing this because the DVD/CD-ROM drive I have (a Toshiba SD-M1201) doesn't seem to be supported either under cdrecord 1.8 (potato) or cdrecord 1.9 (unstable).
The system is up-to-date potato (2.2r2). I've tried compiling first against the 2.2.17 kernel sources and then against the 2.4.0-test12 sources. The problem in both cases seems to a failure to find the expected include files. A characteristic error-message is: ==> COMPILING "OBJ/i686-linux-cc/cdrecord.o" In file included from /usr/include/stdlib.h:339, from ../include/stdxlib.h:31, from cdrecord.c:30: /usr/include/sys/types.h:33: warning: empty declaration /usr/include/sys/types.h:34: warning: empty declaration /usr/include/sys/types.h:35: warning: empty declaration /usr/include/sys/types.h:36: warning: empty declaration /usr/include/sys/types.h:110: warning: empty declaration /usr/include/sys/types.h:111: parse error before `;' make: *** [OBJ/i686-linux-cc/cdrecord.o] Error 1 The include directories defined for the linux version of the compilation are /usr/include and /usr/src/linux/include. On my system, /usr/src/linux is a link to /usr/src/kernel-source-2.4.0-test12 at present. I understand, in a vague sort of way, that Debian has a different policy with respect to kernel headers (versions and locations) than some other distributions, and I've fiddled (in a not very informed way) with different definitions of the include directories. No luck so far. If anyone has any advice to offer, I would be very grateful for it; or if anyone has managed to make the Toshiba SD-M1201 work under older versions of cdrecord), I would love to hear about that, Jim