Error Building the V4L-DVB drivers from source
Hi, My name is Alex and I recently tried to install the v4l drivers on my machine. Environment: Ubuntu release 10.04(lucid) Kernel Linux 2.6.32-24-generic GNOME 2.30.2 I followed the steps given on the wiki at: http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers using Mercurial to get the source code When I get to the Building/Compiling the Modules stage where I need to call make in the /v4l-dvb/ folder, the whole process begins and a lot of files are generated but after a few minutes I get this: _ make -C /home/v4l-dvb/v4l make[1]: Entering directory `/home/v4l-dvb/v4l' creating symbolic links... make -C firmware prep make[2]: Entering directory `/home/v4l-dvb/v4l/firmware' make[2]: Leaving directory `/home/v4l-dvb/v4l/firmware' make -C firmware make[2]: Entering directory `/home/v4l-dvb/v4l/firmware' make[2]: Nothing to be done for `default'. make[2]: Leaving directory `/home/v4l-dvb/v4l/firmware' Kernel build directory is /lib/modules/2.6.32-24-generic/build make -C /lib/modules/2.6.32-24-generic/build SUBDIRS=/home/v4l-dvb/v4l modules make[2]: Entering directory `/usr/src/linux-headers-2.6.32-24-generic' CC [M] /home/v4l-dvb/v4l/firedtv-1394.o /home/v4l-dvb/v4l/firedtv-1394.c:22:17: error: dma.h: No such file or directory /home/v4l-dvb/v4l/firedtv-1394.c:23:21: error: csr1212.h: No such file or directory /home/v4l-dvb/v4l/firedtv-1394.c:24:23: error: highlevel.h: No such file or directory /home/v4l-dvb/v4l/firedtv-1394.c:25:19: error: hosts.h: No such file or directory /home/v4l-dvb/v4l/firedtv-1394.c:26:22: error: ieee1394.h: No such file or directory /home/v4l-dvb/v4l/firedtv-1394.c:27:17: error: iso.h: No such file or directory /home/v4l-dvb/v4l/firedtv-1394.c:28:21: error: nodemgr.h: No such file or directory /home/v4l-dvb/v4l/firedtv-1394.c:41: warning: 'struct hpsb_iso' declared inside parameter list /home/v4l-dvb/v4l/firedtv-1394.c:41: warning: its scope is only this definition or declaration, which is probably not what you want /home/v4l-dvb/v4l/firedtv-1394.c: In function 'rawiso_activity_cb': /home/v4l-dvb/v4l/firedtv-1394.c:57: error: dereferencing pointer to incomplete type /home/v4l-dvb/v4l/firedtv-1394.c:58: error: implicit declaration of function 'hpsb_iso_n_ready' /home/v4l-dvb/v4l/firedtv-1394.c:65: error: dereferencing pointer to incomplete type /home/v4l-dvb/v4l/firedtv-1394.c:66: error: implicit declaration of function 'dma_region_i' /home/v4l-dvb/v4l/firedtv-1394.c:66: error: dereferencing pointer to incomplete type /home/v4l-dvb/v4l/firedtv-1394.c:66: error: expected expression before 'unsigned' /home/v4l-dvb/v4l/firedtv-1394.c:68: error: dereferencing pointer to incomplete type /home/v4l-dvb/v4l/firedtv-1394.c:72: error: dereferencing pointer to incomplete type /home/v4l-dvb/v4l/firedtv-1394.c:86: error: implicit declaration of function 'hpsb_iso_recv_release_packets' /home/v4l-dvb/v4l/firedtv-1394.c: In function 'node_of': /home/v4l-dvb/v4l/firedtv-1394.c:91: error: dereferencing pointer to incomplete type /home/v4l-dvb/v4l/firedtv-1394.c:91: warning: type defaults to 'int' in declaration of '__mptr' /home/v4l-dvb/v4l/firedtv-1394.c:91: warning: initialization from incompatible pointer type /home/v4l-dvb/v4l/firedtv-1394.c:91: error: invalid use of undefined type 'struct unit_directory' /home/v4l-dvb/v4l/firedtv-1394.c: In function 'node_lock': /home/v4l-dvb/v4l/firedtv-1394.c:96: error: 'quadlet_t' undeclared (first use in this function) /home/v4l-dvb/v4l/firedtv-1394.c:96: error: (Each undeclared identifier is reported only once /home/v4l-dvb/v4l/firedtv-1394.c:96: error: for each function it appears in.) /home/v4l-dvb/v4l/firedtv-1394.c:96: error: 'd' undeclared (first use in this function) /home/v4l-dvb/v4l/firedtv-1394.c:97: warning: ISO C90 forbids mixed declarations and code /home/v4l-dvb/v4l/firedtv-1394.c:99: error: implicit declaration of function 'hpsb_node_lock' /home/v4l-dvb/v4l/firedtv-1394.c:100: error: 'EXTCODE_COMPARE_SWAP' undeclared (first use in this function) /home/v4l-dvb/v4l/firedtv-1394.c: In function 'node_read': /home/v4l-dvb/v4l/firedtv-1394.c:108: error: implicit declaration of function 'hpsb_node_read' /home/v4l-dvb/v4l/firedtv-1394.c: In function 'node_write': /home/v4l-dvb/v4l/firedtv-1394.c:113: error: implicit declaration of function 'hpsb_node_write' /home/v4l-dvb/v4l/firedtv-1394.c: In function 'start_iso': /home/v4l-dvb/v4l/firedtv-1394.c:124: error: implicit declaration of function 'hpsb_iso_recv_init' /home/v4l-dvb/v4l/firedtv-1394.c:124: error: dereferencing pointer to incomplete type /home/v4l-dvb/v4l/firedtv-1394.c:126: error: 'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function) /home/v4l-dvb/v4l/firedtv-1394.c:135: error: implicit declaration of function 'hpsb_iso_recv_start' /home/v4l-dvb/v4l/firedtv-1394.c:138: error:
Re: Error Building the V4L-DVB drivers from source
On Wed, Aug 11, 2010 at 5:10 AM, Sicoe Alexandru Dan sicoe_a...@yahoo.com wrote: Hi, My name is Alex and I recently tried to install the v4l drivers on my machine. Environment: Ubuntu release 10.04(lucid) Kernel Linux 2.6.32-24-generic GNOME 2.30.2 Ubuntu has a bug in their packaging of the kernel headers, which results in the firedtv driver not building. Just edit v4l/.config and change the line that says firedtv=m to firedtv=n Cheers, Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html