speakup - kernel compilation failure

showell at lrxms.net showell at lrxms.net
Sun Apr 18 17:35:23 EDT 2004


Folks,

Was trying to compile a 2.4.20 kernel as I need this for a boot cd. I 
had some problems with the patching process, but didn't seem as though 
these were major patch problems. I can post the patch failures, but have 
miss-placed the file, however, here is what I got during the make 
bzImage process. If anyone has any thoughts, I'd appreciate it.


make[3]: Entering directory `/usr/src/linux-2.4.20/drivers/char/speakup'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.20/drivers/char/speakup'
cc -o makemapdata makemapdata.c
./makemapdata >mapdata.h
cc -o genmap genmap.c
./genmap speakupmap.map >speakupmap.h
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=speakup  
-DEXPORT_SYMTAB -c speakup.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=speakup_drvcommon  
-DEXPORT_SYMTAB -c speakup_drvcommon.c
speakup_drvcommon.c: In function `speakup_register_devsynth':
speakup_drvcommon.c:793: `SYNTH_MINOR' undeclared (first use in this 
function)
speakup_drvcommon.c:793: (Each undeclared identifier is reported only 
once
speakup_drvcommon.c:793: for each function it appears in.)
make[4]: *** [speakup_drvcommon.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20/drivers/char/speakup'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/char/speakup'
make[2]: *** [_subdir_speakup] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2

tia
Scott





More information about the Speakup mailing list