Results 1 to 2 of 2

Thread: compile v4l on 12.04

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Beans
    3

    compile v4l on 12.04

    Hi guys

    i'm new here , and have some experience with ubuntu but not a master.
    i have upgraded my ubuntu from 10.04 -> 12.04

    i have a DVB-T dongle i'm trying to compile the V4L for it - according to this guide http://linuxtv.org/wiki/index.php/Ho...Device_Drivers
    i also installed linux-sources-3.2.0-52
    but there is a compilel error i'm not able to find answer to

    here it is



    CC [M] /home/shlomic/v4l/media_build/v4l/v4l2-clk.o
    CC [M] /home/shlomic/v4l/media_build/v4l/v4l2-async.o
    CC [M] /home/shlomic/v4l/media_build/v4l/v4l2-of.o
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c: In function 'v4l2_of_parse_csi_bus':
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c:38:4: error: implicit declaration of function 'of_prop_next_u32' [-Werror=implicit-function-declaration]
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c:38:9: warning: assignment makes pointer from integer without a cast [enabled by default]
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c: In function 'v4l2_of_get_next_endpoint':
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c:176:3: error: implicit declaration of function 'of_get_child_by_name' [-Werror=implicit-function-declaration]
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c:176:8: warning: assignment makes pointer from integer without a cast [enabled by default]
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c:180:8: warning: assignment makes pointer from integer without a cast [enabled by default]
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c: In function 'v4l2_of_get_remote_port_parent':
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c:238:2: warning: passing argument 1 of 'of_parse_phandle' discards 'const' qualifier from pointer target type [enabled by default]
    include/linux/of.h:230:28: note: expected 'struct device_node *' but argument is of type 'const struct device_node *'
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c: In function 'v4l2_of_get_remote_port':
    /home/shlomic/v4l/media_build/v4l/v4l2-of.c:262:2: warning: passing argument 1 of 'of_parse_phandle' discards 'const' qualifier from pointer target type [enabled by default]
    include/linux/of.h:230:28: note: expected 'struct device_node *' but argument is of type 'const struct device_node *'
    cc1: some warnings being treated as errors
    make[3]: *** [/home/shlomic/v4l/media_build/v4l/v4l2-of.o] Error 1
    make[2]: *** [_module_/home/shlomic/v4l/media_build/v4l] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-3.2.0-52-generic'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/home/shlomic/v4l/media_build/v4l'
    make: *** [all] Error 2
    build failed at ./build line 454.
    shlomic@shlomic-ubuntu:~/v4l/media_build$

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: compile v4l on 12.04

    Duplicate here:

    http://ubuntuforums.org/showthread.php?t=2171567

    Please do not post duplicate threads.

    Thread closed.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

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
  •