Hi Andy, perhaps you already know this - the 2.6.23 kernel changed a couple of definitions in cdrom.h to refer to INT_MAX:
> > /* Special codes used when specifying changer slots. */ > #define CDSL_NONE (INT_MAX-1) > #define CDSL_CURRENT INT_MAX As a result, dvd+rw-tools no longer builds. The following patch fixes it for me. ĸen diff -Naur dvd+rw-tools-7.0.orig/growisofs.c dvd+rw-tools-7.0/growisofs.c --- dvd+rw-tools-7.0.orig/growisofs.c 2006-09-24 18:28:53.000000000 +0100 +++ dvd+rw-tools-7.0/growisofs.c 2007-10-25 22:51:52.000000000 +0100 @@ -560,6 +560,7 @@ #if defined(__linux) #include <linux/types.h> +#include <limits.h> #include <linux/cdrom.h> #include <sys/ioctl.h> #include <sys/prctl.h> diff -Naur dvd+rw-tools-7.0.orig/transport.hxx dvd+rw-tools-7.0/transport.hxx --- dvd+rw-tools-7.0.orig/transport.hxx 2006-09-23 12:29:07.000000000 +0100 +++ dvd+rw-tools-7.0/transport.hxx 2007-10-25 23:01:34.000000000 +0100 @@ -132,6 +132,7 @@ #if defined(__linux) #include <sys/ioctl.h> +#include <limits.h> #include <linux/cdrom.h> #include <mntent.h> #include <sys/wait.h> -- das eine Mal als Tragödie, das andere Mal als Farce

