[linux-dvb] A call to testers..

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

 



Luca Olivetti wrote:

>En/na Michael Krufky ha escrit:
>
>>Thanks for noticing... :-) ... Nobody has said anything yet about
>>backwards-compatability, since I've enabled it.
>>v4l-dvb cvs is *supposedly* backwards compatable with all kernel versions...
>>    
>>
>define "all":
>  
>
All becomes less now that I FINALLY have some bug reports... (Thank you 
for this)

>$ cvs -z3 -d :pserver:anonymous@xxxxxxxxxxxxxxx:/cvs/video4linux co -P
>v4l-dvb
>....
>$ cd v4l-dvb
>$ su (there's a bug in this kernel package that prevents building as user)
>Password:
># make
>make -C /home/luca/dvb/v4l-dvb/v4l
>make[1]: Entering directory `/home/luca/dvb/v4l-dvb/v4l'
>echo "No version yet."
>No version yet.
>uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$/) { printf
>("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$1,$2,$3,$1,$2,$3,$4);
>};' > ./.version
>make[1]: Leaving directory `/home/luca/dvb/v4l-dvb/v4l'
>make[1]: Entering directory `/home/luca/dvb/v4l-dvb/v4l'
>creating symbolic links...
>make -C /lib/modules/2.6.3-7mdk/build SUBDIRS=/home/luca/dvb/v4l-dvb/v4l
> modules
>make[2]: Entering directory `/usr/src/linux-2.6.3-7mdk'
>*** Warning: Overriding SUBDIRS on the command line can cause
>***          inconsistencies
>make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
>  CHK     include/asm-i386/asm_offsets.h
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/video-buf.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/v4l1-compat.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/v4l2-common.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/compat_ioctl32.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/btcx-risc.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/ir-common.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/bttv-driver.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/bttv-cards.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/bttv-risc.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/bttv-if.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/bttv-vbi.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/bttv-i2c.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/bttv-gpio.o
>  CC [M]  /home/luca/dvb/v4l-dvb/v4l/cx25840-core.o
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:53: error: parse error before
>numeric constant
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:53: warning: type defaults to
>`int' in declaration of `module_param'
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:53: warning: function
>declaration isn't a prototype
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:53: warning: data definition
>has no type or storage class
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:879: error: parse error before
>"m__init"
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:880: warning: return type
>defaults to `int'
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:884: error: parse error before
>"m__exit"
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:885: warning: return type
>defaults to `int'
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:889: warning: type defaults to
>`int' in declaration of `module_init'
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:889: warning: parameter names
>(without types) in function declaration
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:889: warning: data definition
>has no type or storage class
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:890: warning: type defaults to
>`int' in declaration of `module_exit'
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:890: warning: parameter names
>(without types) in function declaration
>/home/luca/dvb/v4l-dvb/v4l/cx25840-core.c:890: warning: data definition
>has no type or storage class
>make[3]: *** [/home/luca/dvb/v4l-dvb/v4l/cx25840-core.o] Error 1
>make[2]: *** [/home/luca/dvb/v4l-dvb/v4l] Error 2
>make[2]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
>make[1]: *** [default] Error 2
>make[1]: Leaving directory `/home/luca/dvb/v4l-dvb/v4l'
>make: *** [all] Error 2
>## uname -r
>2.6.3-7mdk
>  
>
Good to know.... cx25840 isn't backwards compatable with 2.6.3.... (cc 
to Hans Verkuil, who maintains cx25840 added)

Hans, can you look into this?

FYI: I'm not completely sure that we are interested in backwards 
compatability with 2.6.0 <= kernels < 2.6.8 ... I'll talk to Mauro about 
that.  If it's easy to do, then I'm all for it......  Don't be afraid to 
propose patches.

Luca, you can edit v4l/Make.config and disable the cx25840 module from 
the build by changing "M" to "N" , to disable it from building, and move 
on to the (next error, hopefully none)

>with 2.6.8.1 (another machine, with no dvb card) v4l-dvb builds but I
>don't seen any dvb module (at least the modules I'm interested in,
>flexcop and mt312):
>  
>
As I mentioned in my previous email, the dvb modules are disabled from 
building in kernels prior to 2.6.12 ...  You can force them to build by 
editing Make.config, and changing the following:

remove these lines:

ifneq ($(KERNELRELEASE),)
 CONFIG_VIDEO_BUF_DVB := $(shell test $(SUBLEVEL) -ge 12 -a $(PATCHLEVEL) -ge 6 && echo m)
endif

and instead, insert this line:

CONFIG_VIDEO_BUF_DVB := m

Please let me know how this works out for you..... I'd like to see all 
the errors and warnings produced by this build -- this will help me to 
fix backwards compatability with your kernel.

Thank you for the feedback!

-Michael



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux