On Thursday 25 January 2007 11:01, Viragh Janos wrote: > Hans Verkuil írta: > > Best procedure: checkout the v4l-dvb-kernel from mrechberger (as > > stated in my original post). Then run 'make ivtv' within the > > v4l-dvb-kernel directory. Edit v4l/ivtv/driver/ivtv-driver.h and > > uncomment the HAVE_XC3028 define. Run make. This should build > > everything including ivtv. Run make install to install everything. > >Hans > > i supposed you mean > make v4l-checkout
No, I didn't. You work from the v4l-dvb-kernel repository. You need to have the mercurial revision control system installed (http://www.selenic.com/mercurial/wiki/), then run 'hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb-kernel', 'cd' to v4l-dvb-kernel, then run 'make ivtv' from there. That command will automatically check out the latest ivtv from subversion. I told you that it isn't a trivial exercise :-) Hans > in trunk, but it doesn't work either: > > [IVTV]# tar zxf trunk.tgz > [IVTV]# cd trunk > [trunk]# make v4l-checkout > requesting all changes > adding changesets > adding manifests > adding file changes > added 5148 changesets with 14433 changes to 1128 files > 841 files updated, 0 files merged, 0 files removed, 0 files > unresolved [trunk]# cd v4l-dvb > [v4l-dvb]# make ivtv > make -C /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l ivtv > make[1]: Entering directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > No version yet. > make[1]: Leaving directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > make[1]: Entering directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > retrieving the latest ivtv sources from ivtvdriver.org > this step requires subversion to be installed > A ivtv/test > ... > A ivtv/README > U ivtv > Checked out revision 3742. > creating ivtv symbolic links... > ivtv trunk merged. Run make to build the entire tree. > make[1]: Leaving directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > [v4l-dvb]# vi v4l/ivtv/driver/ivtv-driver.h > [v4l-dvb]# grep HAVE v4l/ivtv* > v4l/ivtv-cards.c:#ifdef HAVE_XC3028 > v4l/ivtv-cards.c:#ifdef HAVE_XC3028 > v4l/ivtv-driver.c:#ifdef HAVE_XC3028 > v4l/ivtv-driver.c:#ifdef HAVE_XC3028 > v4l/ivtv-driver.c:#ifdef HAVE_XC3028 > v4l/ivtv-driver.h:#define HAVE_XC3028 1 > v4l/ivtv-driver.h:#ifdef HAVE_XC3028 > v4l/ivtv-fb.c: vblank.flags = FB_VBLANK_HAVE_COUNT | > FB_VBLANK_HAVE_VCOUNT | > v4l/ivtv-fb.c: FB_VBLANK_HAVE_VSYNC; > v4l/ivtv-gpio.c:#ifdef HAVE_XC3028 > [v4l-dvb]# make > make -C /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l > make[1]: Entering directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > scripts/make_makefile.pl > Updating/Creating .config > Preparing to compile for kernel version 2.6.18 > > ***WARNING:*** You do not have the full kernel sources installed. > This does not prevent you from building the v4l-dvb tree if you have > the kernel headers, but the full kernel source may be required in > order to use make menuconfig / xconfig / qconfig. > > If you are experiencing problems building the v4l-dvb tree, please > try building against a vanilla kernel before reporting a bug. > > Vanilla kernels are available at http://kernel.org. > On most distros, this will compile a newly downloaded kernel: > > cp /boot/config-`uname -r` <your kernel dir>/.config > cd <your kernel dir> > make all modules_install install > > Please see your distro's web site for instructions to build a new > kernel. > > VIDEO_PLANB: Requires at least kernel 2.6.99 > VIDEO_CAFE_CCIC: Requires at least kernel 2.6.19 > Created default (all yes) .config file > ./scripts/make_myconfig.pl > make[1]: Leaving directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > make[1]: Entering directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > creating symbolic links... > ln -sf . oss > make -C /lib/modules/2.6.18-1.2257.fc5/build > SUBDIRS=/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l > modules make[2]: Entering directory > `/usr/src/kernels/2.6.18-1.2257.fc5-i686' CC [M] > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/flexcop-pci.o > ... > CC [M] > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.o > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c: > In function 'ivtv_probe': > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c:1 >169: error: 'struct tuner_setup' has no member named 'in > itmode' > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c:1 >171: error: 'struct tuner_setup' has no member named 'gp > io_write' > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c:1 >172: error: 'struct tuner_setup' has no member named 'gp > io_priv' > make[3]: *** > [/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.o] > Error 1 make[2]: *** > [_module_/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l] Error > 2 > make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2257.fc5-i686' > make[1]: *** [default] Error 2 > make[1]: Leaving directory > `/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l' > make: *** [all] Error 2 > [v4l-dvb]# pwd > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb > [v4l-dvb]# cd v4l > [v4l]# make > creating symbolic links... > make -C /lib/modules/2.6.18-1.2257.fc5/build > SUBDIRS=/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l > modules make[1]: Entering directory > `/usr/src/kernels/2.6.18-1.2257.fc5-i686' CC [M] > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.o > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c: > In function 'ivtv_probe': > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c:1 >169: error: 'struct tuner_setup' has no member named 'in > itmode' > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c:1 >171: error: 'struct tuner_setup' has no member named 'gp > io_write' > /SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.c:1 >172: error: 'struct tuner_setup' has no member named 'gp > io_priv' > make[2]: *** > [/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l/ivtv-driver.o] > Error 1 make[1]: *** > [_module_/SW/Applications/Multimedia/TV/IVTV/trunk/v4l-dvb/v4l] Error > 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2257.fc5-i686' > make: *** [default] Error 2 > [v4l]# > > _______________________________________________ > ivtv-devel mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-devel _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
