From: "Frédéric Bernard" <fred.pa.bernard@gmail.com>
To: linux-media@vger.kernel.org
Subject: Error compiling coda-common.c:1893:2 from media_build on Cubox-i
Date: Sun, 28 Sep 2014 01:24:23 +0200 [thread overview]
Message-ID: <54274727.3010808@gmail.com> (raw)
Please check https://bugzilla.kernel.org/show_bug.cgi?id=85201
I aim to use a Cinergy HTC USB XS on ARM with xbmc. The USB stick uses a the driver dvb-usb-dib0700 with the firmware dvb-usb-terratec-htc-stick-drxk.fw taken here
wgethttps://github.com/OpenELEC/dvb-firmware/blob/master/firmware/dvb-usb-terratec-htc-stick-drxk.fw
I checked on a amd64 PC and successfully media_builded, installed VDR and scan utilities and scanned TV channels with
w_scan -ft-A3-c FR >/etc/vdr/channels.conf
So I switched to the ARM real target.
I encountered this error while executing './build' in build_media directory :
CC [M] /root/media_build/v4l/mcam-core.o
CC [M] /root/media_build/v4l/coda-common.o
/root/media_build/v4l/coda-common.c: In function 'coda_probe':
/root/media_build/v4l/coda-common.c:1893:2: error: implicit declaration of function 'devm_reset_control_get_optional' [-Werror=implicit-function-declaration]
/root/media_build/v4l/coda-common.c:1893:12: warning: assignment makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[3]: *** [/root/media_build/v4l/coda-common.o] Error 1
make[2]: *** [_module_/root/media_build/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.14.14+'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/media_build/v4l'
make: *** [all] Error 2
build failed at ./build line 491.
Here is the context
The device is a CuBox-i4Pro (SoC is i.MX6 Quad see here :http://www.solid-run.com/wiki/CuBox-i_Hardware)
I use the Debian wheezy available at the link given herehttp://www.solid-run.com/wiki/Debian_and_derivatives and more specificallyhttp://www.igorpecovnik.com/2014/08/19/cubox-i-hummingboard-debian-sd-image/
I build a kernel 3.14 as said herehttp://www.solid-run.com/wiki/Building_the_kernel_and_u-boot_for_the_CuBox-i_and_the_HummingBoard and generated kernel packages with
apt-get install dpkg-dev
apt-get install libfile-fcntllock-perl
make deb-pkg
cd ..
dpkg -i linux*deb
And then
git clone git://linuxtv.org/media_build.git
cd media_build
./build
And that's where the error occurs
I can't go farther.
Thanks for helping
Best regards
Frédéric Bernard
F92400 Courbevoie
reply other threads:[~2014-09-27 23:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54274727.3010808@gmail.com \
--to=fred.pa.bernard@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.