Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Building v4l-dvb drivers

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Beans
    88

    Building v4l-dvb drivers

    Hi,

    I hope my question isn't too specific for the 'general help' section of this forum, but I'm having problems building and installing the v4l-dvb drivers I need to get my tv tuner card working properly.

    I've done a fresh install in Karmic using the recently released final version and followed the guide here http://linuxtv.org/wiki/index.php/Ho...Device_Drivers

    Everything seems to work smoothly until I get the errors below about 3minutes in to 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: the frame size of 1256 bytes is larger than 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: its scope is only this definition or declaration, which is probably not what you 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 to 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 to 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 to 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 from integer without a cast
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:64: error: dereferencing pointer to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:68: error: dereferencing pointer to 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 to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:87: warning: type defaults to 'int' in declaration of '__mptr'
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:87: warning: initialization from 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 this function)
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:92: error: (Each undeclared identifier is reported only once
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:92: error: for each function it appears in.)
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:93: error: 'quadlet_t' undeclared (first use in this 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 to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:116: error: 'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:118: warning: assignment makes pointer from integer without a 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: At 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 to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:168: error: dereferencing pointer to 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 to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:182: warning: type defaults to 'int' in declaration of '__mptr'
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:182: warning: initialization from 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 to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:187: error: 'quadlet_t' undeclared (first use in this 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 to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:188: warning: assignment makes pointer from integer without a cast
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c: At 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 to incomplete type
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c: At top level:
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:253: error: variable 'fdtv_driver' has initializer but 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 for '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 for '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: extra brace group at end of initializer
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:256: error: (near initialization for '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 for 'fdtv_driver')
    /home/stephen/v4l-dvb/v4l/firedtv-1394.c:262: error: variable 'fdtv_highlevel' has initializer but 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 for '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 for '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 a linux expert and do most things by following How-To guides, but can find nothing to help me here. Anybody able to help?

    If you need any more details to enable you to assist me the please let me know.

    Stephen

  2. #2
    Join Date
    Feb 2007
    Beans
    17

    Re: Building v4l-dvb drivers

    in the v4l folder, open the .config file,
    find the line
    Code:
    CONFIG_DVB_FIREDTV=m
    and change it to
    Code:
    CONFIG_DVB_FIREDTV=n

  3. #3
    Join Date
    Dec 2005
    Beans
    88

    Re: Building v4l-dvb drivers

    Thanks gefenm11,

    Your instructions worked perfectly. Now have managed to build and install the v4l-dvb driver.

    Much appreciated
    Stephen

  4. #4
    Join Date
    Mar 2009
    Beans
    36

    Re: Building v4l-dvb drivers

    sorry, please delete post
    Last edited by spleblem; November 17th, 2009 at 10:31 AM. Reason: my mistake

  5. #5
    Join Date
    Nov 2009
    Beans
    1

    Re: Building v4l-dvb drivers

    cant find any .config file with that line actually. What might be wrong

  6. #6
    Join Date
    Dec 2005
    Beans
    88

    Re: Building v4l-dvb drivers

    Quote Originally Posted by ahti000 View Post
    cant find any .config file with that line actually. What might be wrong
    Hi ahti000

    Initially I had trouble finding it too! If I remember correctly I couldn't find the .config file after I had created the v4l-dvb folder with the following command: -

    hg clone http://linuxtv.org/hg/v4l-dvb

    However, after trying to build the drivers with the 'make' command (and failing) the .config file appeared in v4l folder inside the v4l-dvb directory. I then edited that file and just ran the 'make' command again, which then seemed to work.

    Hope this helps! I imagine the as part of the make command it creates a default .config file.

    Also, remember the .config file is a hidden file so if your looking for it in a file manager you'll need to select 'view hidden files' somewhere in the options.

  7. #7
    Join Date
    Dec 2009
    Beans
    2

    Re: Building v4l-dvb drivers

    Quote Originally Posted by gefenm11 View Post
    in the v4l folder, open the .config file,
    find the line
    Code:
    CONFIG_DVB_FIREDTV=m
    and change it to
    Code:
    CONFIG_DVB_FIREDTV=n

    Thanks gefenm11
    It worked great with me

    I found the file .config in v4l-dvb/v4l

    also you could generate a new one with this command
    make config

  8. #8
    Join Date
    Jul 2008
    Beans
    273

    Re: Building v4l-dvb drivers

    Awesome working for me too, thanks guys, this may be a turning point for my linux experience!

  9. #9
    Join Date
    Apr 2010
    Beans
    16

    Re: Building v4l-dvb drivers

    I have problems with:

    Make:

    Code:
      CC      /home/antonio/v4l-dvb/v4l/zr364xx.mod.o
      LD [M]  /home/antonio/v4l-dvb/v4l/zr364xx.ko
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic'
    ./scripts/rmmod.pl check
    found 341 modules
    make[1]: se sale del directorio `/home/antonio/v4l-dvb/v4l'
    antonio@antonio-desktop:~/v4l-dvb$

    Make install:


    Code:
        video/zc0301/: zc0301.ko 
        video/au0828/: au0828.ko 
    /sbin/depmod -a 2.6.32-21-generic 
    make -C firmware install
    make[2]: Entering directory `/home/antonio/v4l-dvb/v4l/firmware'
    Installing firmwares at /lib/firmware: vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin 
    make[2]: Leaving directory `/home/antonio/v4l-dvb/v4l/firmware'
    make[1]: se sale del directorio `/home/antonio/v4l-dvb/v4l'
    antonio@antonio-desktop:~/v4l-dvb$

  10. #10
    Join Date
    Apr 2010
    Beans
    16

    Re: Building v4l-dvb drivers

    does not work, can someone help me?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •