gcc -D__KERNEL__ -I/usr/src/usb-2.4/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=athlon -DEXPORT_SYMTAB
-c ibm.c
ibm.c:24:24: asm/ebcdic.h: No such file or directory
ibm.c:26:22: asm/dasd.h: No such file or directory
ibm.c:30:22: asm/vtoc.h: No such file or directory
ibm.c:78: parse error before `*'
ibm.c:78: warning: function declaration isn't a prototype
ibm.c: In function `cchh2blk':
ibm.c:79: `ptr' undeclared (first use in this function)
ibm.c:79: (Each undeclared identifier is reported only once
ibm.c:79: for each function it appears in.)
ibm.c:79: `geo' undeclared (first use in this function)
ibm.c:81: warning: control reaches end of non-void function
ibm.c: At top level:
ibm.c:89: parse error before `*'
ibm.c:89: warning: function declaration isn't a prototype
ibm.c: In function `cchhb2blk':
ibm.c:90: `ptr' undeclared (first use in this function)
ibm.c:90: `geo' undeclared (first use in this function)
ibm.c:93: warning: control reaches end of non-void function
ibm.c: In function `ibm_partition':
ibm.c:108: `format1_label_t' undeclared (first use in this function)
ibm.c:108: parse error before `f1'
ibm.c:109: `volume_label_t' undeclared (first use in this function)
ibm.c:110: `dasd_information_t' undeclared (first use in this function)
ibm.c:110: `info' undeclared (first use in this function)
ibm.c:110: warning: statement with no effect
ibm.c:111: parse error before `dev'
ibm.c:120: `BIODASDINFO' undeclared (first use in this function)
ibm.c:126: parse error before `;'
ibm.c:128: `dev' undeclared (first use in this function)
ibm.c:134: `inode' undeclared (first use in this function)
ibm.c:144: `vlabel' undeclared (first use in this function)
ibm.c:146: warning: implicit declaration of function `EBCASC'
ibm.c:180: `f1' undeclared (first use in this function)
ibm.c:184: `_ascebc' undeclared (first use in this function)
make[3]: *** [ibm.o] Error 1
make[3]: Leaving directory `/usr/src/2.4.18-pre1/fs/partitions'
Hmm. My apologies. I was testing CML2 when I encountered this
problem. When I removed CML2 and ran make oldconfig, I didn't
see IBM Partition offered as a configuration option. So, I expect
that this is a CML2 problem.
I'll follow up with Eric S. Raymond.
Miles