speakup compilation question

Kelly Prescott prescott at deltav.org
Mon May 16 14:26:07 EDT 2005


I am running whitebox linux which is a redhat enterprise linux clone...
the version of whitebox is 3.0
the kernel version is 2.4.21-27.0.2.EL
the speakup version is from cvs and I got it today with the checkout 
script.
I am trying to apply the speakup patches to the kernel, but when I compile I 
get the following error:

make[4]: Entering directory `/usr/src/linux-2.4.21-27.0.2.EL/drivers/char/speakup'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-27.0.2.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common  -Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix include -DKBUILD_BASENAME=speakup  -DEXPORT_SYMTAB -c speakup.c
speakup.c: In function `say_from_to':
speakup.c:917: warning: assignment makes integer from pointer without a cast
speakup.c: In function `chars_write_proc':
speakup.c:1599: structure has no member named `list'
speakup.c: In function `handle_cursor':
speakup.c:1818: structure has no member named `list'
make[4]: *** [speakup.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.21-27.0.2.EL/drivers/char/speakup'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.21-27.0.2.EL/drivers/char/speakup'
make[2]: *** [_subdir_speakup] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-27.0.2.EL/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-27.0.2.EL/drivers'
make: *** [_dir_drivers] Error 2

I think this is related to the timer declarations in spk_priv.h.
Thats as far as I can get...  I am not really a hot c programmer.
Can anyone help me by giving pointers as to how I can get this error to go away 
so the compile can finish?

Thanks much...

--Kelly Prescott





More information about the Speakup mailing list