Compiling SuSE 8.1 with new unusual_devs.h
Has anybody had some experience doing this?
Does unusual_devs.h need to be formatted in some specific way?
(Click on the entry to see the stuff below the cut tag)
I have added this:
/*Some driver details for running USB Hard Drives
*/
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0x9999,
"Genesys Logic",
"USB IDE Hard Disk",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_START_STOP ),
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
"Genesys Logic",
"USB IDE Hard Disk",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_START_STOP ),
/*Some stuff for running Fijitsu 6 in1 card reader
*/
UNUSUAL_DEV( 0x0d7d, 0x0240, 0x0000, 0x9999,
"Fujitsu Siemens",
"6in1 card reader",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_START_STOP ),
#ifdef ......rest of file
I do the following:
cd /usr/src/linux (ok)
cp /boot/vmlinux.config .config (ok)
make xconfig (don't change anything - ok)
make dep (ok)
make clean (ok)
make bzImage - some warnings, but stops on the following:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=semaphore -c -o semaphore.o semaphore.c
semaphore.c:329:1: warning: multi-line string literals are deprecated
semaphore.c:333:35: warning: multi-line string literals are deprecated
semaphore.c:335:27: warning: multi-line string literals are deprecated
semaphore.c:338:35: warning: multi-line string literals are deprecated
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=signal -c -o signal.o signal.c
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -traditional -c entry.S -o entry.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=traps -DEXPORT_SYMTAB -c traps.c
traps.c: In function `do_int3':
traps.c:658: warning: implicit declaration of function `kdb'
traps.c:658: `KDB_REASON_BREAK' undeclared (first use in this function)
traps.c:658: (Each undeclared identifier is reported only once
traps.c:658: for each function it appears in.)
traps.c:658: `kdb_eframe_t' undeclared (first use in this function)
traps.c:658: parse error before "regs"
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/arch/i386/ke rnel'
make: *** [_dir_arch/i386/kernel] Error 2
Does unusual_devs.h need to be formatted in some specific way?
(Click on the entry to see the stuff below the cut tag)
I have added this:
/*Some driver details for running USB Hard Drives
*/
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0x9999,
"Genesys Logic",
"USB IDE Hard Disk",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_START_STOP ),
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
"Genesys Logic",
"USB IDE Hard Disk",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_START_STOP ),
/*Some stuff for running Fijitsu 6 in1 card reader
*/
UNUSUAL_DEV( 0x0d7d, 0x0240, 0x0000, 0x9999,
"Fujitsu Siemens",
"6in1 card reader",
US_SC_SCSI, US_PR_BULK, NULL,
US_FL_START_STOP ),
#ifdef ......rest of file
I do the following:
cd /usr/src/linux (ok)
cp /boot/vmlinux.config .config (ok)
make xconfig (don't change anything - ok)
make dep (ok)
make clean (ok)
make bzImage - some warnings, but stops on the following:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=semaphore -c -o semaphore.o semaphore.c
semaphore.c:329:1: warning: multi-line string literals are deprecated
semaphore.c:333:35: warning: multi-line string literals are deprecated
semaphore.c:335:27: warning: multi-line string literals are deprecated
semaphore.c:338:35: warning: multi-line string literals are deprecated
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=signal -c -o signal.o signal.c
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -traditional -c entry.S -o entry.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19.SuSE/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DKBUILD_BASENAME=traps -DEXPORT_SYMTAB -c traps.c
traps.c: In function `do_int3':
traps.c:658: warning: implicit declaration of function `kdb'
traps.c:658: `KDB_REASON_BREAK' undeclared (first use in this function)
traps.c:658: (Each undeclared identifier is reported only once
traps.c:658: for each function it appears in.)
traps.c:658: `kdb_eframe_t' undeclared (first use in this function)
traps.c:658: parse error before "regs"
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.19.SuSE/arch/i386/ke
make: *** [_dir_arch/i386/kernel] Error 2
