public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* speakup and kernel 2.6.8.1
@  William Hubbs
   ` Ryan Mann
  0 siblings, 1 reply; 4+ messages in thread
From: William Hubbs @  UTC (permalink / raw)
  To: speakup mailing list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,  has anyone had any luck getting speakup to patch into the 2.6.8.1 kernel?

I just tried a little while ago and the following patch was rejected:

[contents of /usr/src/linux/drivers/char/vt.c.rej]

***************
*** 100,106 ****
  #include <linux/workqueue.h>
  #include <linux/bootmem.h>
  #include <linux/pm.h>
- - 
  #include <asm/io.h>
  #include <asm/system.h>
  #include <asm/uaccess.h>
- --- 100,110 ----
  #include <linux/workqueue.h>
  #include <linux/bootmem.h>
  #include <linux/pm.h>
+ #include <linux/speakup.h>
+ #ifdef CONFIG_SPEAKUP_MODULE
+ #include "speakup/spk_con_module.h"
+ #endif
+  
  #include <asm/io.h>
  #include <asm/system.h>
  #include <asm/uaccess.h>

  [ end of .rej file ]

  How can I fix this?

  Thanks,

  William

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBInkMblQW9DDEZTgRAnAyAJ9wwdf6LxMdGyxvYfoC6VVH1M8FZQCgmPh8
k9t/P0r5dUnRCIRgifoSDag=
=ph3r
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: speakup and kernel 2.6.8.1
   speakup and kernel 2.6.8.1 William Hubbs
@  ` Ryan Mann
     ` William Hubbs
  0 siblings, 1 reply; 4+ messages in thread
From: Ryan Mann @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I also had that patch rejected in the 2.6.8.1 kernel, but I 
went ahead and compiled the kernel and I haven't noticed any 
problems using this kernel.


On Tue, 17 Aug 2004, William Hubbs wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> All,  has anyone had any luck getting speakup to patch into the 2.6.8.1 kernel?
> 
> I just tried a little while ago and the following patch was rejected:
> 
> [contents of /usr/src/linux/drivers/char/vt.c.rej]
> 
> ***************
> *** 100,106 ****
>   #include <linux/workqueue.h>
>   #include <linux/bootmem.h>
>   #include <linux/pm.h>
> - - 
>   #include <asm/io.h>
>   #include <asm/system.h>
>   #include <asm/uaccess.h>
> - --- 100,110 ----
>   #include <linux/workqueue.h>
>   #include <linux/bootmem.h>
>   #include <linux/pm.h>
> + #include <linux/speakup.h>
> + #ifdef CONFIG_SPEAKUP_MODULE
> + #include "speakup/spk_con_module.h"
> + #endif
> +  
>   #include <asm/io.h>
>   #include <asm/system.h>
>   #include <asm/uaccess.h>
> 
>   [ end of .rej file ]
> 
>   How can I fix this?
> 
>   Thanks,
> 
>   William
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFBInkMblQW9DDEZTgRAnAyAJ9wwdf6LxMdGyxvYfoC6VVH1M8FZQCgmPh8
> k9t/P0r5dUnRCIRgifoSDag=
> =ph3r
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: speakup and kernel 2.6.8.1
   ` Ryan Mann
@    ` William Hubbs
       ` Thomas Stivers
  0 siblings, 1 reply; 4+ messages in thread
From: William Hubbs @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Ryan and all,

I just attempted to build the kernel I refered to at the start of this thread and got the following messages:

  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x2688b): In function `vc_allocate':
: undefined reference to `speakup_allocate'
drivers/built-in.o(.text+0x2701d): In function `lf':
: undefined reference to `speakup_con_write'
drivers/built-in.o(.text+0x291fe): In function `do_con_write':
: undefined reference to `speakup_con_update'
drivers/built-in.o(.text+0x29462): In function `do_con_write':
: undefined reference to `speakup_con_write'
drivers/built-in.o(.text+0x29761): In function `console_callback':
: undefined reference to `speakup_con_update'
drivers/built-in.o(.text+0x29832): In function `vt_console_print':
: undefined reference to `speakup_con_write'
drivers/built-in.o(.text+0x2999c): In function `vt_console_print':
: undefined reference to `speakup_con_update'
drivers/built-in.o(.text+0x29a60): In function `vt_console_print':
: undefined reference to `speakup_bs'
drivers/built-in.o(.text+0x28dce): In function `do_con_trol':
: undefined reference to `speakup_con_write'
drivers/built-in.o(.text+0x28e41): In function `do_con_trol':
: undefined reference to `speakup_bs'
drivers/built-in.o(.init.text+0x281e): In function `con_init':
: undefined reference to `speakup_init'
make: *** [.tmp_vmlinux1] Error 1

and my kernel failed to build.

Does anyone have any suggestions?

Thanks,

William


On Tue, Aug 17, 2004 at 07:04:31PM -0400, Ryan Mann wrote:
> I also had that patch rejected in the 2.6.8.1 kernel, but I 
> went ahead and compiled the kernel and I haven't noticed any 
> problems using this kernel.
> 
> 
> On Tue, 17 Aug 2004, William Hubbs wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > All,  has anyone had any luck getting speakup to patch into the 2.6.8.1 kernel?
> > 
> > I just tried a little while ago and the following patch was rejected:
> > 
> > [contents of /usr/src/linux/drivers/char/vt.c.rej]
> > 
> > ***************
> > *** 100,106 ****
> >   #include <linux/workqueue.h>
> >   #include <linux/bootmem.h>
> >   #include <linux/pm.h>
> > - - 
> >   #include <asm/io.h>
> >   #include <asm/system.h>
> >   #include <asm/uaccess.h>
> > - --- 100,110 ----
> >   #include <linux/workqueue.h>
> >   #include <linux/bootmem.h>
> >   #include <linux/pm.h>
> > + #include <linux/speakup.h>
> > + #ifdef CONFIG_SPEAKUP_MODULE
> > + #include "speakup/spk_con_module.h"
> > + #endif
> > +  
> >   #include <asm/io.h>
> >   #include <asm/system.h>
> >   #include <asm/uaccess.h>
> > 
> >   [ end of .rej file ]
> > 
> >   How can I fix this?
> > 
> >   Thanks,
> > 
> >   William
> > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.2.4 (GNU/Linux)
> > 
> > iD8DBQFBInkMblQW9DDEZTgRAnAyAJ9wwdf6LxMdGyxvYfoC6VVH1M8FZQCgmPh8
> > k9t/P0r5dUnRCIRgifoSDag=
> > =ph3r
> > -----END PGP SIGNATURE-----
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBI95fblQW9DDEZTgRAhHaAKCIsMpxvE/PemBxYIm8OeB70x8k/gCgp9gE
TlZgXjfEKHnXtZ1nAU6kQBo=
=x70w
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: speakup and kernel 2.6.8.1
     ` William Hubbs
@      ` Thomas Stivers
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Stivers @  UTC (permalink / raw)
  To: speakup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 18 2004 at 05:55:27PM -0500, William Hubbs wrote:
> 
> Hi Ryan and all,
> 
> I just attempted to build the kernel I refered to at the start of this thread and got the following messages:

The problem is that there is a new header file included in drivers/char/vt.c
which one of the speakup patches doesn't recognise. You can just apply the patch
by hand by opening vt.c in your favorite editor and inserting the following
lines under the line which reads

#include <linux/font.h>

The lines to insert are:

#include <linux/speakup.h>
#ifdef CONFIG_SPEAKUP_MODULE
#include "speakup/spk_con_module.h"
#endif

Hope this gets it working for you it compiled fine here, but I haven't done much with the new kernel yet.

- -- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Thomas Stivers	e-mail: stivers_t@tomass.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBJBzi5JK61UXLur0RAnvvAJ4x0bZ9oSxWAHfmiv24Fd2gFWWDOgCcDVHN
Ny94iIZQW21Q8520GQiapac=
=hydh
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 speakup and kernel 2.6.8.1 William Hubbs
 ` Ryan Mann
   ` William Hubbs
     ` Thomas Stivers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).