same problem as in e2fsprogs (bug 31419) with 2.6.0 headers/kernels compile dies in mkntfs.c because calls to SCSI_DISK_MAJOR are present on lines 2606-2607 of the source code. If you use the same fix as in the e2fsprogs-1.34-kernel-2.6-fix.patch and eliminate the calls .. it will compile .. Question although this works what are the implications for scsi disks. (it's only really a check for whole disk usage correct)
OK, the patch is in CVS and I've also modified the e2fsprogs one to work properly with SCSI disks. Thanks!
**This problem is still occuring** For systems with 2.6.x headers, SCSI_DISK_MAJOR needs to be changed to SCSI_DISK0_MAJOR, in order to successfully compile. Output: mkntfs.c: In function `main': mkntfs.c:2582: error: `SCSI_DISK_MAJOR' undeclared (first use in this function) mkntfs.c:2582: error: (Each undeclared identifier is reported only once mkntfs.c:2582: error: for each function it appears in.) gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -O2 -march=pentium4 -fomit-frame-pointer -pipe -c ntfsresize.c make[2]: *** [mkntfs.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/ntfsprogs-1.7.1/work/ntfsprogs-1.7.1/ntfsprogs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ntfsprogs-1.7.1/work/ntfsprogs-1.7.1' make: *** [all-recursive-am] Error 2 !!! ERROR: sys-fs/ntfsprogs-1.7.1 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! Make failed