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

Thread: v4l-dvb compile error

  1. #1
    Join Date
    Aug 2008
    Location
    Berlin
    Beans
    25
    Distro
    Ubuntu

    v4l-dvb compile error

    Hi all,

    I have a LogiLink dvb-t stick which works perfectly in Jaunty and Intrepid through v4l-dvb (lsusb gives ID 18b4:1689). However after freshly installed Karmic, I cant compile v4l-dvb anymore. This is what I get from terminal:
    Code:
    Kernel build directory is /lib/modules/2.6.31-15-generic/build
    make -C /lib/modules/2.6.31-15-generic/build SUBDIRS=/home/tduccuong/Tmp/v4l-dvb/v4l  modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
      CC [M]  /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.o
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:40: warning: 'struct hpsb_iso' declared inside parameter list
    While searching for a solution, I came across this http://ubuntuforums.org/showthread.php?t=1305228. However I could not find the .config file as the guys suggested...

    Does anyone have any idea?

    Thank you very much!

  2. #2
    Join Date
    Apr 2008
    Location
    London
    Beans
    1,873
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: v4l-dvb compile error

    It's a hidden file, so maybe in Nautilus select View/Show Hidden Files and you will see it in the v4l folder. Alternatively, hit Ctrl + H.

    Apologies if you've already tried this.

    .

  3. #3
    Join Date
    Nov 2009
    Beans
    2

    Re: v4l-dvb compile error

    doublepost
    Last edited by Zwiebelsaft; November 26th, 2009 at 02:04 PM.

  4. #4
    Join Date
    Nov 2009
    Beans
    2

    Lightbulb Re: v4l-dvb compile error

    .config file does not exist if you download v4l with hg.
    However, it will be generated if you type "make menuconfig" and Exit saving changes.

    These steps worked for me:

    hg clone http://linuxtv.org/hg/v4l-dvb
    cd v4l-dvb
    make menuconfig <-- dont change anything, just "Exit" and save changes
    gedit v4l/.config <-- change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n
    make
    sudo make install

  5. #5
    Join Date
    Aug 2008
    Location
    Berlin
    Beans
    25
    Distro
    Ubuntu

    Re: v4l-dvb compile error

    Quote Originally Posted by Zwiebelsaft View Post
    .config file does not exist if you download v4l with hg.
    However, it will be generated if you type "make menuconfig" and Exit saving changes.

    These steps worked for me:

    hg clone http://linuxtv.org/hg/v4l-dvb
    cd v4l-dvb
    make menuconfig <-- dont change anything, just "Exit" and save changes
    gedit v4l/.config <-- change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=n
    make
    sudo make install
    Hi,

    Thank u for ur reply. I followed ur instructions, but errors are still there. This is the code:
    Code:
    tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ make menuconfig
    make -C /home/tduccuong/Tmp/v4l-dvb/v4l menuconfig
    make[1]: Entering directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
    make -C /lib/modules/2.6.31-15-generic/build -f /home/tduccuong/Tmp/v4l-dvb/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/2.6.31-15-generic/build v4l-mconf
    make[2]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
    make -f /lib/modules/2.6.31-15-generic/build/scripts/Makefile.build obj=scripts/kconfig hostprogs-y=mconf scripts/kconfig/mconf
     *** Unable to find the ncurses libraries or the
     *** required header files.
     *** 'make menuconfig' requires the ncurses libraries.
     *** 
     *** Install ncurses (ncurses-devel) and try again.
     *** 
    make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1
    make[2]: *** [v4l-mconf] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
    make[1]: *** [/lib/modules/2.6.31-15-generic/build/scripts/kconfig/mconf] Error 2
    make[1]: Leaving directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
    make: *** [menuconfig] Error 2
    I installed everything related to ncurses but the problem persists!

    What do I do now?

  6. #6
    Join Date
    Nov 2009
    Beans
    3
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: v4l-dvb compile error

    *** 'make menuconfig' requires the ncurses libraries.
    ***
    *** Install ncurses (ncurses-devel) and try again.

    ncurses, but also had a look on: aptitude search ncurses-dev
    p libcunit1-ncurses-dev - Unit Testing Library for C (ncurses) -- development
    p libkaya-ncurses-dev - Ncurses binding for kaya
    v libncurses-dev -
    v ncurses-dev -

    ?

    Try to install ncurses-dev for the beginning (in ubuntu-forum-jargon "sudo aptitude search ncurses-dev"): Maybe that solves, but if not, diggle more with the libraries named on "aptitude search libncurses": Already tried libncurses-dev ?

    If you compile something on your own (with configure, make, menuconfig etc.), the problems mostly lies in dependencies between libraries and other files which are not catched up by a package-manager because you just undergo him at that moment you dont use him to install an app on the system (you compile the written code of a programmer, and nobody wrote that wonderful deb/rpm files in which exactly those dependencies are written in)
    Hope it helps... if still not, then try to post what related packages you installed, so the guys here can decide if some linkage is broken in your system? And do a "make -d" so you get more debug-info out!

    Btw., i found some "v4l-conf"-tool with description "tool to configure video4linux drivers", and "v4l2ucp" with description "Video for Linux 2 Universal Control Panel" in the tree.
    Wondering why ubuntu has config-tools in the karmic universe but not v4l itself
    Come on guys, im shure mythbuntu would be grateful
    Last edited by husindo; November 29th, 2009 at 08:37 AM. Reason: typos

  7. #7
    Join Date
    Nov 2009
    Beans
    3
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: v4l-dvb compile error

    i managed to get s2api with v4l-dvb (on my Hauppauge - WinTV-NOVA-HD-S2) which does not brake when package-manager does update/upgrade with the following steps:

    apt-get install build-essential
    apt-get install mercurial cvs subversion libncurses-dev

    cd /usr/local/src
    hg clone http://mercurial.intuxication.org/hg/s2-liplianin/
    cd s2-liplianin
    cd linux/include/linux
    ln -s /usr/src/linux-headers-`uname -r`/include/linux/compiler.h ./
    cd ../../../
    make
    make install
    depmod -a
    reboot


    Quotation from the thread i got the steps above:
    "To skip the procedures of constant patching (and breaking with newer
    revisions) I use Igor M. Liplianin's repo. This person has a repo to
    make our life easier so that we don't have to constant patch our v4l or
    kernel pulls. As a plus, Igor's S2API repo has supported for different
    kind of DVB-S2 cards which are not supported in multiproto or in any
    other repo! "




    Source (google-cache due to original site is down atm): http://209.85.135.132/search?q=cache...&hl=en&ct=clnk

  8. #8
    Join Date
    Aug 2008
    Location
    Berlin
    Beans
    25
    Distro
    Ubuntu

    Re: v4l-dvb compile error

    hi guys thank u for ur instructions but unfortunately nothing worked! here is what I get from terminal:

    for husindo's instruction:
    Quote Originally Posted by husindo View Post
    Try to install ncurses-dev for the beginning (in ubuntu-forum-jargon "sudo aptitude search ncurses-dev"): Maybe that solves, but if not, diggle more with the libraries named on "aptitude search libncurses": Already tried libncurses-dev ?
    I get:
    Code:
    tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ aptitude search libncurses
    v   libncurses-dev                                                  -                                                                          
    i   libncurses-gst                                                  - Ncurses bindings for GNU Smalltalk                                       
    i   libncurses-ruby                                                 - ruby Extension for the ncurses C library                                 
    i A libncurses-ruby1.8                                              - ruby Extension for the ncurses C library                                 
    p   libncurses-ruby1.9                                              - ruby Extension for the ncurses C library                                 
    i   libncurses5                                                     - shared libraries for terminal handling                                   
    p   libncurses5-dbg                                                 - debugging/profiling libraries for ncurses                                
    i   libncurses5-dev                                                 - developer's libraries and docs for ncurses                               
    i   libncursesw5                                                    - shared libraries for terminal handling (wide character support)          
    p   libncursesw5-dbg                                                - debugging/profiling libraries for ncurses                                
    i   libncursesw5-dev                                                - developer's libraries for ncursesw                                       
    tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ sudo apt-get install libncurses-dev libncurses-gst libncurses-ruby libncurses5-dev libncursesw5 libncursesw5-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting libncurses5-dev instead of libncurses-dev
    libncurses5-dev is already the newest version.
    libncurses-gst is already the newest version.
    libncurses-ruby is already the newest version.
    libncurses5-dev is already the newest version.
    libncursesw5 is already the newest version.
    libncursesw5-dev is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
    And:
    Code:
    tduccuong@ctOfficeLaptop:~/Tmp/v4l-dvb$ make menuconfig
    make -C /home/tduccuong/Tmp/v4l-dvb/v4l menuconfig
    make[1]: Entering directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
    make -C /lib/modules/2.6.31-15-generic/build -f /home/tduccuong/Tmp/v4l-dvb/v4l/Makefile.kernel config-targets=1 mixed-targets=0 dot-config=0 SRCDIR=/lib/modules/2.6.31-15-generic/build v4l-mconf
    make[2]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
    make -f /lib/modules/2.6.31-15-generic/build/scripts/Makefile.build obj=scripts/kconfig hostprogs-y=mconf scripts/kconfig/mconf
     *** Unable to find the ncurses libraries or the
     *** required header files.
     *** 'make menuconfig' requires the ncurses libraries.
     *** 
     *** Install ncurses (ncurses-devel) and try again.
     *** 
    make[3]: *** [scripts/kconfig/dochecklxdialog] Error 1
    make[2]: *** [v4l-mconf] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
    make[1]: *** [/lib/modules/2.6.31-15-generic/build/scripts/kconfig/mconf] Error 2
    make[1]: Leaving directory `/home/tduccuong/Tmp/v4l-dvb/v4l'
    make: *** [menuconfig] Error 2
    The other solution via "s2api" does not work either! I get the same error message when try to do the "make" command:
    Code:
    Kernel build directory is /lib/modules/2.6.31-15-generic/build
    make -C /lib/modules/2.6.31-15-generic/build SUBDIRS=/home/tduccuong/Tmp/v4l-dvb/v4l  modules
    make[2]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
      CC [M]  /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.o
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
    /home/tduccuong/Tmp/v4l-dvb/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
    I guess I have installed all "ncurses-" related stuffs. It kinda drives me crazy now, what is ncurse anyway?

  9. #9
    Join Date
    Aug 2008
    Location
    Berlin
    Beans
    25
    Distro
    Ubuntu

    Re: v4l-dvb compile error

    Anyone please?

  10. #10
    Join Date
    Dec 2009
    Beans
    2

    Re: v4l-dvb compile error

    i seem to have fixed this error as i also had it,

    instead of running "make menuconfig"
    just run "make config"

    press the enter key until you reach the point that shows :

    Code:
        * Supported FireWire (IEEE 1394) Adapters
        *
        FireDTV and FloppyDTV (DVB_FIREDTV) [M/n/?]
    Press "n"

    and then press enter continously until it exits, then run "make"

    this stops the error on that card and accepts all the defaults.

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
  •