Error compiling coda-common.c:1893:2 from media_build on Cubox-i

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux