Skip to main content

Thread: Building v4l-dvb drivers


hi,

hope question isn't specific 'general help' section of forum, i'm having problems building , installing v4l-dvb drivers need tv tuner card working properly.

i've done fresh install in karmic using released final version , followed guide here http://linuxtv.org/wiki/index.php/ho...device_drivers

seems work smoothly until errors below 3minutes in te building process: -

code:
  cc [m]  /home/stephen/v4l-dvb/v4l/em28xx-audio.o    cc [m]  /home/stephen/v4l-dvb/v4l/em28xx-video.o    cc [m]  /home/stephen/v4l-dvb/v4l/em28xx-i2c.o    cc [m]  /home/stephen/v4l-dvb/v4l/em28xx-cards.o    cc [m]  /home/stephen/v4l-dvb/v4l/em28xx-core.o    cc [m]  /home/stephen/v4l-dvb/v4l/em28xx-input.o    cc [m]  /home/stephen/v4l-dvb/v4l/em28xx-vbi.o    cc [m]  /home/stephen/v4l-dvb/v4l/et61x251_core.o  /home/stephen/v4l-dvb/v4l/et61x251_core.c: in function 'et61x251_ioctl_v4l2':  /home/stephen/v4l-dvb/v4l/et61x251_core.c:2493: warning: frame size of 1256 bytes larger 1024 bytes    cc [m]  /home/stephen/v4l-dvb/v4l/et61x251_tas5130d1b.o    cc [m]  /home/stephen/v4l-dvb/v4l/firedtv-avc.o    cc [m]  /home/stephen/v4l-dvb/v4l/firedtv-ci.o    cc [m]  /home/stephen/v4l-dvb/v4l/firedtv-dvb.o    cc [m]  /home/stephen/v4l-dvb/v4l/firedtv-fe.o    cc [m]  /home/stephen/v4l-dvb/v4l/firedtv-1394.o  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:21:17: error: dma.h: no such file or directory  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:22:21: error: csr1212.h: no such file or directory  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:23:23: error: highlevel.h: no such file or directory  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:24:19: error: hosts.h: no such file or directory  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:25:22: error: ieee1394.h: no such file or directory  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:26:17: error: iso.h: no such file or directory  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:27:21: error: nodemgr.h: no such file or directory  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:37: warning: 'struct hpsb_iso' declared inside parameter list  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:37: warning: scope definition or declaration, not want  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'rawiso_activity_cb':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:53: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:54: error: implicit declaration of function 'hpsb_iso_n_ready'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:61: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:62: error: implicit declaration of function 'dma_region_i'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:62: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:62: error: expected expression before 'unsigned'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:63: warning: assignment makes pointer integer without cast  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:64: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:68: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:82: error: implicit declaration of function 'hpsb_iso_recv_release_packets'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'node_of':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:87: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:87: warning: type defaults 'int' in declaration of '__mptr'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:87: warning: initialization incompatible pointer type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:87: error: invalid use of undefined type 'struct unit_directory'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'node_lock':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:92: error: implicit declaration of function 'hpsb_node_lock'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:92: error: 'extcode_compare_swap' undeclared (first use in function)  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:92: error: (each undeclared identifier reported once  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:92: error: each function appears in.)  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:93: error: 'quadlet_t' undeclared (first use in function)  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:93: error: expected ')' before 'arg'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'node_read':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:98: error: implicit declaration of function 'hpsb_node_read'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'node_write':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:103: error: implicit declaration of function 'hpsb_node_write'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'start_iso':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:114: error: implicit declaration of function 'hpsb_iso_recv_init'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:114: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:116: error: 'hpsb_iso_dma_default' undeclared (first use in function)  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:118: warning: assignment makes pointer integer without cast  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:125: error: implicit declaration of function 'hpsb_iso_recv_start'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:128: error: implicit declaration of function 'hpsb_iso_shutdown'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'stop_iso':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:139: error: implicit declaration of function 'hpsb_iso_stop'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: @ top level:  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:154: warning: 'struct hpsb_host' declared inside parameter list  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'fcp_request':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:167: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:168: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'node_probe':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:182: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:182: warning: type defaults 'int' in declaration of '__mptr'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:182: warning: initialization incompatible pointer type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:182: error: invalid use of undefined type 'struct unit_directory'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:187: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:187: error: 'quadlet_t' undeclared (first use in function)  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:188: error: implicit declaration of function 'csr1212_textual_descriptor_leaf_data'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:188: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:188: warning: assignment makes pointer integer without cast  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: @ top level:  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:243: warning: 'struct unit_directory' declared inside parameter list  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'node_update':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:245: error: dereferencing pointer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: @ top level:  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:253: error: variable 'fdtv_driver' has initializer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:254: error: unknown field 'name' specified in initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:254: warning: excess elements in struct initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:254: warning: (near initialization 'fdtv_driver')  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:255: error: unknown field 'update' specified in initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:255: warning: excess elements in struct initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:255: warning: (near initialization 'fdtv_driver')  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:256: error: unknown field 'driver' specified in initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:256: error: brace group @ end of initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:256: error: (near initialization 'fdtv_driver')  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:259: warning: excess elements in struct initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:259: warning: (near initialization 'fdtv_driver')  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:262: error: variable 'fdtv_highlevel' has initializer incomplete type  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:263: error: unknown field 'name' specified in initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:263: warning: excess elements in struct initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:263: warning: (near initialization 'fdtv_highlevel')  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:264: error: unknown field 'fcp_request' specified in initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:264: warning: excess elements in struct initializer  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:264: warning: (near initialization 'fdtv_highlevel')  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'fdtv_1394_init':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:271: error: implicit declaration of function 'hpsb_register_highlevel'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:272: error: invalid use of undefined type 'struct hpsb_protocol_driver'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:273: error: implicit declaration of function 'hpsb_register_protocol'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:276: error: implicit declaration of function 'hpsb_unregister_highlevel'  /home/stephen/v4l-dvb/v4l/firedtv-1394.c: in function 'fdtv_1394_exit':  /home/stephen/v4l-dvb/v4l/firedtv-1394.c:283: error: implicit declaration of function 'hpsb_unregister_protocol'  make[3]: *** [/home/stephen/v4l-dvb/v4l/firedtv-1394.o] error 1  make[2]: *** [_module_/home/stephen/v4l-dvb/v4l] error 2  make[2]: leaving directory `/usr/src/linux-headers-2.6.31-14-generic'  make[1]: *** [default] error 2  make[1]: leaving directory `/home/stephen/v4l-dvb/v4l'  make: *** [all] error 2  stephen@stephen-desktop:~/v4l-dvb$
i'm not linux expert , things following how-to guides, can find nothing me here. able help?

if need more details enable assist me please let me know.

stephen

in v4l folder, open .config file,
find line
code:
config_dvb_firedtv=m
and change to
code:
config_dvb_firedtv=n


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Building v4l-dvb drivers


Ubuntu

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code