LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2005, 09:27 AM   #1
gaah
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: Arch
Posts: 36

Rep: Reputation: 15
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:

Code:
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 it has to be some other thing I'm missing... I've never tried to compile any modules before so this is a totally new thing for me... Please help!
 
Old 09-30-2005, 04:11 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 171Reputation: 171
Please copy the beggining of the errors (one screen, 3-4 first errors).
 
Old 09-30-2005, 06:18 PM   #3
gaah
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: Arch
Posts: 36

Original Poster
Rep: Reputation: 15
This is the whole output:
Code:
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



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?
 
Old 10-01-2005, 04:43 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 171Reputation: 171
It looks for me that you don't have kernel sources installed. You need them to compile your module.

New modules will overwrite the old ones. You may want to make a backup of them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling X from CVS - help shashir Slackware 1 08-18-2005 05:44 PM
compiling X.org from cvs progressdll Debian 0 11-01-2004 01:50 AM
Compiling winex with cvs. HOW!!! abc249 Linux - Software 2 04-23-2003 03:26 PM
Compiling winex from cvs DevilFace Linux - Software 4 12-15-2002 09:57 AM
Compiling cvs Cyth Linux - General 2 12-15-2001 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration