First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 39106
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Derk W te Bokkel <derk@zapville.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 39106 depends on: Show dependency tree
Bug 39106 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-01-22 21:02 0000
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)

------- Comment #1 From Tim Yamin (RETIRED) 2004-02-01 05:48:45 0000 -------
OK, the patch is in CVS and I've also modified the e2fsprogs one to work
properly with SCSI disks. Thanks!

------- Comment #2 From ra 2004-03-22 19:28:10 0000 -------
**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

First Last Prev Next    No search results available      Search page      Enter new bug