| Bastian 2002-11-27, 9:24 am |
|
"heikkikk" <heikkikk@heikkikk.homelinux.com> schrieb im Newsbeitrag
news:V13F9.2805$mt4.15124@news.kpnqwest.fi...
> Hi
> i'm trying to install pc-speaker driver.
> http://www.linuxgazette.com/issue69/mathew.html
>
> My kernel version is 2.4.18
> i have applied that patch, found from that adress...
> and i get this error:
> [root@heikkikk pcsnd-kit]# make
> gcc -O2 -Wall -s -N pcsel.c -o pcsel
> In file included from pcsel.c:15:
> /usr/src/linux/include/linux/pcsp.h:19: parse error before `i8253_lock'
> /usr/src/linux/include/linux/pcsp.h:19: warning: type defaults to `int' in
> declaration of `i8253_lock'
> /usr/src/linux/include/linux/pcsp.h:19: warning: data definition has no
type
> or storage class
this 3 lines means, that i8253_lock has a wrong typedef declaration.
look at your pcsp.h at line 19 and maybe you have to change it to int ?
or maybe you have a wrong version of another header that are included.
i think, if you arent a programmer you cannot fix this problem.
.... maybe ill take a look at the driver, if i have time.
Bastian Reich
|