Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: error compiling stv0299.c



----- Original Message ----- 
From: "Joerg Riechardt" <J.Riechardt@gmx.de>
To: "Martin Binder (Compuserve)" <martin_binder@compuserve.com>
Sent: Saturday, July 17, 2004 4:21 PM
Subject: Re: [linux-dvb] Re: error compiling stv0299.c


> 
> Martin Binder (Compuserve) wrote:
> 
> >>>i get the following error, when i try to compile the cvs-drivers:
> >>>  CC [M]  drivers/media/dvb/frontends/stv0299.o
> >>>drivers/media/dvb/frontends/stv0299.c:68: error: parse error before "int"
> >>>make[4]: *** [drivers/media/dvb/frontends/stv0299.o] Error 1
> >>
> >>Which kernel version?
> >>
> 
> > 2.6.5 (Suse 9.1: linux-2.6.5-7.75)
> 
> I as well could not compile dvb-kernel under that Suse kernel.
> After switching to vanilla 2.6.7 it compiled flawless.
> Seems to be a problem of inconsistencies in that Suse kernel (I read 
> that somewhere).
> Jörg

but i ever could  compile the dvb-kernel driver with this kernel; this error is only seen in the current version. For example i tried rev .1.51 of stv0299.c (from cvs):

make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'
  CC [M]  /DVBTV/dvb-kernel/build-2.6/stv0299.o
  CC [M]  /DVBTV/dvb-kernel/build-2.6/alps_tdlb7.o
/DVBTV/dvb-kernel/build-2.6/alps_tdlb7.c:52: error: parse error before "int"
/DVBTV/dvb-kernel/build-2.6/alps_tdlb7.c:52: warning: type defaults to `int' in declaration of `module_param'
/DVBTV/dvb-kernel/build-2.6/alps_tdlb7.c:52: warning: function declaration isn't a prototype
/DVBTV/dvb-kernel/build-2.6/alps_tdlb7.c:52: warning: data definition has no type or storage class

Martin





Home | Main Index | Thread Index