You are not logged in.

#1 2005-09-30 14:23:16

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

need help compiling v4l cvs

I just bought myself a new tv card that needs the cvs version of v4l... I've tried to compile it but always fails... I did this:

cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co video4linux
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co -P dvb-kernel
cd video4linux
./scripts/merge-trees.sh
make

And as a result I get only errors... Files not being found and errors about incomplete types... I think this is the right way to compile the cvs, according to their wiki, so maybe it's an arch thing? I've never tried to compile any modules before so this is a totally new thing for me... Please help!

Offline

#2 2005-09-30 14:32:07

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: need help compiling v4l cvs

There errors you got will help infinitely more than the commands you used

Offline

#3 2005-09-30 17:20:47

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: need help compiling v4l cvs

yeah, I know! it was my intension from the start but I had problem cutting and pasting from a terminal into firefox... but I found out a way now!

make gives this output:

make -C /lib/modules/2.6.12-ARCH/build SUBDIRS=/root/video4linux modules
make[1]: Entering directory `/usr/src/linux-2.6.12-ARCH'
  CC [M]  /root/video4linux/video-buf.o
/root/video4linux/video-buf.c:36:29: media/video-buf.h: No such file or directory
fixdep: /root/video4linux/.video-buf.o.d is empty
  CC [M]  /root/video4linux/v4l1-compat.o
  CC [M]  /root/video4linux/v4l2-common.o
  CC [M]  /root/video4linux/btcx-risc.o
  CC [M]  /root/video4linux/ir-common.o
/root/video4linux/ir-common.c:27:29: media/ir-common.h: No such file or directory
fixdep: /root/video4linux/.ir-common.o.d is empty
  CC [M]  /root/video4linux/bttv-driver.o
  CC [M]  /root/video4linux/bttv-cards.o
  CC [M]  /root/video4linux/bttv-risc.o
  CC [M]  /root/video4linux/bttv-if.o
In file included from /root/video4linux/bttv-if.c:35:
/root/video4linux/bttvp.h:52:29: media/video-buf.h: No such file or directory
/root/video4linux/bttvp.h:53:29: media/audiochip.h: No such file or directory
/root/video4linux/bttvp.h:54:25: media/tuner.h: No such file or directory
/root/video4linux/bttvp.h:55:28: media/tveeprom.h: No such file or directory
/root/video4linux/bttvp.h:56:29: media/ir-common.h: No such file or directory
fixdep: /root/video4linux/.bttv-if.o.d is empty
  CC [M]  /root/video4linux/bttv-vbi.o
  CC [M]  /root/video4linux/bttv-i2c.o
  CC [M]  /root/video4linux/bttv-gpio.o
In file included from /root/video4linux/bttv-gpio.c:36:
/root/video4linux/bttvp.h:52:29: media/video-buf.h: No such file or directory
/root/video4linux/bttvp.h:53:29: media/audiochip.h: No such file or directory
/root/video4linux/bttvp.h:54:25: media/tuner.h: No such file or directory
/root/video4linux/bttvp.h:55:28: media/tveeprom.h: No such file or directory
/root/video4linux/bttvp.h:56:29: media/ir-common.h: No such file or directory
fixdep: /root/video4linux/.bttv-gpio.o.d is empty
  CC [M]  /root/video4linux/cx88-video.o
In file included from /root/video4linux/media/video-buf-dvb.h:3,
                 from /root/video4linux/cx88.h:33,
                 from /root/video4linux/cx88-video.c:37:
/root/video4linux/dmxdev.h:38:19: demux.h: No such file or directory
In file included from /root/video4linux/media/video-buf-dvb.h:4,
                 from /root/video4linux/cx88.h:33,
                 from /root/video4linux/cx88-video.c:37:
/root/video4linux/dvb_demux.h:46: error: field `filter' has incomplete type
/root/video4linux/dvb_demux.h:47: error: `DMX_MAX_FILTER_SIZE' undeclared here (not in a function)
/root/video4linux/dvb_demux.h:65: error: field `ts' has incomplete type
/root/video4linux/dvb_demux.h:66: error: field `sec' has incomplete type
/root/video4linux/dvb_demux.h:70: error: parse error before "dmx_ts_cb"
/root/video4linux/dvb_demux.h:70: warning: no semicolon at end of struct or union
/root/video4linux/dvb_demux.h:70: warning: no semicolon at end of struct or union
/root/video4linux/dvb_demux.h:71: warning: type defaults to `int' in declaration of `sec'
/root/video4linux/dvb_demux.h:71: warning: data definition has no type or storage class
/root/video4linux/dvb_demux.h:72: warning: type defaults to `int' in declaration of `cb'
/root/video4linux/dvb_demux.h:72: warning: data definition has no type or storage class
/root/video4linux/dvb_demux.h:95: error: parse error before '}' token
/root/video4linux/dvb_demux.h:98: error: field `dmx' has incomplete type
/root/video4linux/dvb_demux.h:118: error: `DMX_TS_PES_OTHER' undeclared here (not in a function)
In file included from /root/video4linux/cx88.h:33,
                 from /root/video4linux/cx88-video.c:37:
/root/video4linux/media/video-buf-dvb.h:27: error: field `fe_hw' has incomplete type
/root/video4linux/media/video-buf-dvb.h:28: error: field `fe_mem' has incomplete type
/root/video4linux/dvb_demux.h:86: error: storage size of `pes_type' isn't known
make[2]: *** [/root/video4linux/cx88-video.o] Error 1
make[1]: *** [_module_/root/video4linux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-ARCH'
make: *** [default] Error 2

Offline

#4 2005-09-30 17:27:00

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: need help compiling v4l cvs

Actually, to clearify what I need... I have this compro videomate dvb-t300 tv-card, which needs the cvs version of v4l. Or at least a later version than the last stable I think. I need the saa7134 and saa7134-dvb modules that supports my card (modprobe saa7134 card=70 oss=1). The v4l that's already in the kernel will not due... So I need this.

And if I ever get these modules and I run modprobe, how can I be sure that it loads the cvs version instead of the old one?

Offline

Board footer

Powered by FluxBB