Ok, managed to get it all building by adjusting the "getlinks"
script. I run the MAKE_DEV script to generate the devices, insmod
to load the modules, but then when attempting to run the "scan"
application, it aborts saying that it can't find the frontend0 device -
checking via "ls" they are there. Using the "old" (ie: non-V4)
interface, it all works fine, just the V4 stuff is giving me problems.<br>
<br>
If there something I need to check, or do you need more information?<br>
<br>
James.<br><br><div><span class="gmail_quote">On 16/09/05, <b class="gmail_sendername">James Fisher</b> <<a href="mailto:jef2115@gmail.com">jef2115@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Michael,<br>
<br>
The Kbuild file was in the build2.6 directory, but did not exist in the
/lib/modules/2.6.9-1.667/build directory. I copied it into this
directory and the build worked (I think) with the following output:<div><span class="e" id="q_1065d737d15308c3_1"><br>
<br>
<span style="font-family: courier new,monospace;">[fisherj@localhost build-2.6]$ make</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ -L audio.c ] || ./getlinks</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">getting links from kernel-cvs driver</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110.c' to `../linux/drivers/media/dvb/ttpci/av7110.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-ci.h' to `../linux/drivers/media/dvb/ttpci/av7110-ci.h'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-hw.c' to `../linux/drivers/media/dvb/ttpci/av7110-hw.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-ir.c' to `../linux/drivers/media/dvb/ttpci/av7110-ir.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-osd.h' to `../linux/drivers/media/dvb/ttpci/av7110-osd.h'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `ttpci-eeprom.c' to `../linux/drivers/media/dvb/ttpci/ttpci-eeprom.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110.h' to `../linux/drivers/media/dvb/ttpci/av7110.h'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-hw.h' to `../linux/drivers/media/dvb/ttpci/av7110-hw.h'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-v4l.c' to `../linux/drivers/media/dvb/ttpci/av7110-v4l.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-av.c' to `../linux/drivers/media/dvb/ttpci/av7110-av.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-ci.c' to `../linux/drivers/media/dvb/ttpci/av7110-ci.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `ttpci-eeprom.h' to `../linux/drivers/media/dvb/ttpci/ttpci-eeprom.h'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `av7110-av.h' to `../linux/drivers/media/dvb/ttpci/av7110-av.h'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">find: ../../dvb-kernel//linux/drivers/media/common: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">find: ../../dvb-kernel//linux/include/media/: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `vbi.c' to `../linux/drivers/media/dvb/dvb-core/vbi.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `ringbuffer.c' to `../linux/drivers/media/dvb/dvb-core/ringbuffer.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `device.c' to `../linux/drivers/media/dvb/dvb-core/device.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `sw-recording.c' to `../linux/drivers/media/dvb/dvb-core/sw-recording.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `functions.c' to `../linux/drivers/media/dvb/dvb-core/functions.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `debug.h' to `../linux/drivers/media/dvb/dvb-core/debug.h'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `sw-memory-input.c' to `../linux/drivers/media/dvb/dvb-core/sw-memory-input.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `sw-demux.c' to `../linux/drivers/media/dvb/dvb-core/sw-demux.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `mixer.c' to `../linux/drivers/media/dvb/dvb-core/mixer.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `spdif.c' to `../linux/drivers/media/dvb/dvb-core/spdif.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `video.c' to `../linux/drivers/media/dvb/dvb-core/video.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `audio.c' to `../linux/drivers/media/dvb/dvb-core/audio.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `dvb-dummy.c' to `../linux/drivers/media/dvb/dvb-core/dvb-dummy.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `demux.c' to `../linux/drivers/media/dvb/dvb-core/demux.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `frontend.c' to `../linux/drivers/media/dvb/dvb-core/frontend.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `memory-input.c' to `../linux/drivers/media/dvb/dvb-core/memory-input.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `stv0299.c' to `../linux/drivers/media/dvb/frontends/stv0299.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `ves1820.c' to `../linux/drivers/media/dvb/frontends/ves1820.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">create symbolic link `ves1x93.c' to `../linux/drivers/media/dvb/frontends/ves1x93.c'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make -C /lib/modules/`uname -r`/build M=`pwd`</span><br style="font-family: courier new,monospace;"></span></div><span class="q">
<span style="font-family: courier new,monospace;">make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'</span><br style="font-family: courier new,monospace;"></span>
<span style="font-family: courier new,monospace;"> LD /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/built-in.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/audio.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/audio.c:22:29: media/dvb/audio.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.audio.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/spdif.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/spdif.c: In function `open':</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/spdif.c:36: warning: ISO C90 forbids mixed declarations and code</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/spdif.c:22:29: media/dvb/audio.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.spdif.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/mixer.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/mixer.c: In function `set_output_level':</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/mixer.c:130: warning: ISO C90 forbids mixed declarations and code</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/mixer.c:22:29: media/dvb/audio.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.mixer.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/video.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/video.c: In function `open':</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/video.c:40: warning: ISO C90 forbids mixed declarations and code</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/video.c:22:29: media/dvb/video.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.video.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/vbi.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/vbi.c:22:27: media/dvb/vbi.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.vbi.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.c:1467:2: warning: #warning FIXME: CRC32</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.c:1463: warning: 'dvb_crc32' defined but not used</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.c:22:29: media/dvb/demux.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.c:23:29: media/dvb/audio.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.c:24:29: media/dvb/video.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.c:25:27: media/dvb/vbi.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/demux.c:1467:2: warning: #warning FIXME: CRC32</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.demux.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/device.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/device.c:25:30: media/dvb/device.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.device.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/ringbuffer.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/ringbuffer.c:27:34: media/dvb/ringbuffer.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.ringbuffer.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/memory-input.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/memory-input.c:22:36: media/dvb/memory-input.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.memory-input.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/frontend.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/frontend.c: In function `frontend_thread':</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/frontend.c:269: warning: implicit declaration of function `refrigerator'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/frontend.c: In function `open':</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/frontend.c:688: warning: ISO C90 forbids mixed declarations and code</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/frontend.c:26:32: media/dvb/frontend.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.frontend.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/functions.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/functions.c:22:30: media/dvb/device.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.functions.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> LD [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/dvb-core.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/stv0299.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/stv0299.c:45:41: media/dvb/frontends/stv0299.h: No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">fixdep: /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/.stv0299.o.d is empty</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> Building modules, stage 2.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> MODPOST</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/dvb-core.mod.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> LD [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/dvb-core.ko</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/stv0299.mod.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> LD [M] /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/stv0299.ko</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[fisherj@localhost build-2.6]$ ll</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">total 3048</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 43 Sep 16 15:34 audio.c ->
../linux/drivers/media/dvb/dvb-core/audio.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 95465 Sep 16 15:34 audio.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 av7110-av.c
-> ../linux/drivers/media/dvb/ttpci/av7110-av.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 av7110-av.h
-> ../linux/drivers/media/dvb/ttpci/av7110-av.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 41 Sep 16 15:34 av7110.c ->
../linux/drivers/media/dvb/ttpci/av7110.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 av7110-ci.c
-> ../linux/drivers/media/dvb/ttpci/av7110-ci.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 av7110-ci.h
-> ../linux/drivers/media/dvb/ttpci/av7110-ci.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 41 Sep 16 15:34 av7110.h ->
../linux/drivers/media/dvb/ttpci/av7110.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 av7110-hw.c
-> ../linux/drivers/media/dvb/ttpci/av7110-hw.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 av7110-hw.h
-> ../linux/drivers/media/dvb/ttpci/av7110-hw.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 av7110-ir.c
-> ../linux/drivers/media/dvb/ttpci/av7110-ir.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 45 Sep 16 15:34 av7110-osd.h
-> ../linux/drivers/media/dvb/ttpci/av7110-osd.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 45 Sep 16 15:34 av7110-v4l.c
-> ../linux/drivers/media/dvb/ttpci/av7110-v4l.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 8 Sep 16 15:34 built-in.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">drwxrwxr-x 2 fisherj fisherj 4096 Sep 14 14:58 CVS</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 43 Sep 16 15:34 debug.h ->
../linux/drivers/media/dvb/dvb-core/debug.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 43 Sep 16 15:34 demux.c ->
../linux/drivers/media/dvb/dvb-core/demux.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 134871 Sep 16 15:34 demux.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 44 Sep 16 15:34 device.c ->
../linux/drivers/media/dvb/dvb-core/device.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 73309 Sep 16 15:34 device.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 918649 Sep 16 15:34 dvb-core.ko</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 1830 Sep 16 15:34 dvb-core.mod.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 30740 Sep 16 15:34 dvb-core.mod.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 889020 Sep 16 15:34 dvb-core.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 47 Sep 16 15:34 dvb-dummy.c
-> ../linux/drivers/media/dvb/dvb-core/dvb-dummy.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 972 Mar 23 2004 fdump.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 46 Sep 16 15:34 frontend.c
-> ../linux/drivers/media/dvb/dvb-core/frontend.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 84691 Sep 16 15:34 frontend.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 47 Sep 16 15:34 functions.c
-> ../linux/drivers/media/dvb/dvb-core/functions.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 55883 Sep 16 15:34 functions.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rwxrwxr-x 1 fisherj fisherj 1090 Apr 8 2004 getlinks</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">drwxrwxr-x 4 fisherj fisherj 4096 Sep 14 14:58 include</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rwxrwxr-x 1 fisherj fisherj 2407 Apr 12 02:58 insmod.sh</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 788 Aug 30 01:11 Kbuild</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 310 Mar 3 2005 Makefile</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 50 Sep 16 15:34 memory-input.c
-> ../linux/drivers/media/dvb/dvb-core/memory-input.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 68451 Sep 16 15:34 memory-input.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 43 Sep 16 15:34 mixer.c ->
../linux/drivers/media/dvb/dvb-core/mixer.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 84033 Sep 16 15:34 mixer.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 219 Feb 13 2004 README</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 48 Sep 16 15:34 ringbuffer.c
-> ../linux/drivers/media/dvb/dvb-core/ringbuffer.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 59637 Sep 16 15:34 ringbuffer.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 43 Sep 16 15:34 spdif.c ->
../linux/drivers/media/dvb/dvb-core/spdif.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 82164 Sep 16 15:34 spdif.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 46 Sep 16 15:34 stv0299.c ->
../linux/drivers/media/dvb/frontends/stv0299.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 113322 Sep 16 15:34 stv0299.ko</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 901 Sep 16 15:34 stv0299.mod.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 29084 Sep 16 15:34 stv0299.mod.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 85428 Sep 16 15:34 stv0299.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 46 Sep 16 15:34 sw-demux.c
-> ../linux/drivers/media/dvb/dvb-core/sw-demux.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 53 Sep 16 15:34
sw-memory-input.c ->
../linux/drivers/media/dvb/dvb-core/sw-memory-input.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 50 Sep 16 15:34 sw-recording.c
-> ../linux/drivers/media/dvb/dvb-core/sw-recording.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 47 Sep 16 15:34 ttpci-eeprom.c
-> ../linux/drivers/media/dvb/ttpci/ttpci-eeprom.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 47 Sep 16 15:34 ttpci-eeprom.h
-> ../linux/drivers/media/dvb/ttpci/ttpci-eeprom.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1 fisherj fisherj 41 Sep 16 15:34 vbi.c -> ../linux/drivers/media/dvb/dvb-core/vbi.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 73270 Sep 16 15:34 vbi.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 46 Sep 16 15:34 ves1820.c ->
../linux/drivers/media/dvb/frontends/ves1820.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 46 Sep 16 15:34 ves1x93.c ->
../linux/drivers/media/dvb/frontends/ves1x93.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">lrwxrwxrwx 1
fisherj fisherj 43 Sep 16 15:34 video.c ->
../linux/drivers/media/dvb/dvb-core/video.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">-rw-rw-r-- 1 fisherj fisherj 104056 Sep 16 15:34 video.o</span><br style="font-family: courier new,monospace;">
<br>
Running the ./insmod.sh load and ./insmod.sh reload script produced the following (which I'm sure is not right!)<br>
<br>
<span style="font-family: courier new,monospace;">[root@localhost build-2.6]# ./insmod.sh load</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Inserting av7110 modules into kernel</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: error inserting './dvb-core.ko': -1 File exists</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: error inserting './stv0299.ko': -1 File exists</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './ves1820.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './saa7146.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './saa7146_vv.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './dvb-sw-emul.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './dvb-eeprom.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './dvb-av7110.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[root@localhost build-2.6]# ./insmod.sh reload</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Deleting av7110 modules from kernel</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module ves1820 is in use</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module saa7146_vv is in use by budget_av,dvb_ttpci</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module saa7146 is in use by budget_av,budget_ci,budget,budget_core,dvb_ttpci,saa7146_vv</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module video_buf is in use by saa7146_vv</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module v4l2_common is in use by saa7146_vv</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module v4l1_compat is in use by saa7146_vv</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module
dvb_core is in use by
skystar2,ttusb_dec,budget,budget_core,dvb_ttpci,mt312,cx24110,grundig_29504_491,grundig_29504_401,ves1820,alps_tdmb7</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">ERROR: Module videodev is in use by saa7146_vv</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Inserting av7110 modules into kernel</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: error inserting './dvb-core.ko': -1 File exists</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './ves1820.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './saa7146.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './saa7146_vv.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './dvb-sw-emul.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './dvb-eeprom.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">insmod: can't read './dvb-av7110.ko': No such file or directory</span><br style="font-family: courier new,monospace;">
<br>
(Sorry for the large copies, but I thought it better to include as much as possible).<br>
<br>
btw, I'm working on a TS analysis tool, and need the V4 API to read TS packets (not just section data & PES data).<br><span class="sg">
<br>
James.</span><div><span class="e" id="q_1065d737d15308c3_5"><br><br><div><span class="gmail_quote">On 15/09/05, <b class="gmail_sendername"><a href="mailto:hunold@linuxtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
hunold@linuxtv.org</a></b> <<a href="mailto:hunold@linuxtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hunold@linuxtv.org</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello James,<br><br>> I'm trying to build the V4 API drivers using Fedora FC3, but running 'make'
<br>> produces the following errors. The code is the latest from the CVS archive,<br>> but I get the feeling I'm simply missing something. Can anyone help?<br><br>I checked in some updates yesterday, but forgot to check-in 2 header files.
<br>Although this did not cause your problems most likely, please update.<br><br>I was able to compile v4 on my FC machine:<br>Linux elmc18 2.6.12-1.1376_FC3 #1 Fri Aug 26 23:27:26 EDT 2005 i686 i686<br>i386 GNU/Linux<br>
<br>> make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'<br>> /home/fisherj/core/DVB/dvb-kernel-v4/build-2.6/Makefile:2: Kbuild: No such<br>> file or directory<br>> make[2]: *** No rule to make target `Kbuild'. Stop.
<br><br>This is strange. "Kbuild" should be inside the build-2.6 directory and holds<br>the make dependencies.<br><br>Is the Kbuild file in your directory?<br><br>Regards<br>Michael.<br><br></blockquote></div><br>
</span></div></blockquote></div><br>