speakup compilation question

Gene Collins collins at gene3.ait.iastate.edu
Tue May 17 12:21:13 EDT 2005


Hi Kelly.  I think the Redhat kernel you are trying to use is too old. 
The standard 2.4 kernels that Speakup works with are now 2.4.26 or
later, or 2.6.10 or later.

Gene

>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/spea
kup'
>gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-27.0.2.EL/include -Wall -Wstrict-prot
otypes -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 s
peakup.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/speak
up'
>make[3]: *** [first_rule] Error 2
>make[3]: Leaving directory `/usr/src/linux-2.4.21-27.0.2.EL/drivers/char/speak
up'
>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 awa
y 
>so the compile can finish?
>
>Thanks much...
>
>--Kelly Prescott
>
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list