idandavidi Posted October 22, 2016 Share Posted October 22, 2016 Hello, I have recently installed Armbian 5.20 server which was the recommended os for this board. I have T230C DVB-T/2 tuner which is not recognized by the system by default. I need to build and install media_build by CrazyCat: https://bitbucket.org/CrazyCat/media_build I have managed to build and install the repository with the required firmware in Ubuntu 16.04 (VMWare), but I cannot do that in my Armbian OrangePi Pc. During the build progress the log says: ***WARNING:*** You do not have the full kernel sources installed. This does not prevent you from building the v4l-dvb tree if you have the kernel headers, but the full kernel source may be required in order to use make menuconfig / xconfig / qconfig. If you are experiencing problems building the v4l-dvb tree, please try building against a vanilla kernel before reporting a bug. Vanilla kernels are available at http://kernel.org. On most distros, this will compile a newly downloaded kernel: cp /boot/config-`uname -r` <your kernel dir>/.config cd <your kernel dir> make all modules_install install Please see your distro's web site for instructions to build a new kernel. Buy I didn't find a vanilla kernel on the download page: http://www.armbian.com/orange-pi-pc/ How can I build this media_build repository without errors? Is it really has something to do with the kernel? You can see the full log below: Script started on Sat 22 Oct 2016 12:53:05 PM CEST root@orangepipc:/home/idan/media_build# ./build --main-git Checking if the needed tools for Debian GNU/Linux 8.5 (jessie) are available Needed package dependencies are met. ************************************************************ * building https://github.com/crazycat69/linux_media.git git tree * ************************************************************ ************************************************************ * All drivers and build system are under GPLv2 License * * Firmware files are under the license terms found at: * * https://bitbucket.org/CrazyCat/media_build/downloads * * Please abort in the next 5 secs if you don't agree with * * the license * ************************************************************ Not aborted. It means that the licence was agreed. Proceeding... Fetching origin remote: Counting objects: 429, done.[K remote: Compressing objects: 1% (1/79) [K remote: Compressing objects: 2% (2/79) [K remote: Compressing objects: 3% (3/79) [K remote: Compressing objects: 5% (4/79) [K remote: Compressing objects: 6% (5/79) [K remote: Compressing objects: 7% (6/79) [K remote: Compressing objects: 8% (7/79) [K remote: Compressing objects: 10% (8/79) [K remote: Compressing objects: 11% (9/79) [K remote: Compressing objects: 12% (10/79) [K remote: Compressing objects: 13% (11/79) [K remote: Compressing objects: 15% (12/79) [K remote: Compressing objects: 16% (13/79) [K remote: Compressing objects: 17% (14/79) [K remote: Compressing objects: 18% (15/79) [K remote: Compressing objects: 20% (16/79) [K remote: Compressing objects: 21% (17/79) [K remote: Compressing objects: 22% (18/79) [K remote: Compressing objects: 24% (19/79) [K remote: Compressing objects: 25% (20/79) [K remote: Compressing objects: 26% (21/79) [K remote: Compressing objects: 27% (22/79) [K remote: Compressing objects: 29% (23/79) [K remote: Compressing objects: 30% (24/79) [K remote: Compressing objects: 31% (25/79) [K remote: Compressing objects: 32% (26/79) [K remote: Compressing objects: 34% (27/79) [K remote: Compressing objects: 35% (28/79) [K remote: Compressing objects: 36% (29/79) [K remote: Compressing objects: 37% (30/79) [K remote: Compressing objects: 39% (31/79) [K remote: Compressing objects: 40% (32/79) [K remote: Compressing objects: 41% (33/79) [K remote: Compressing objects: 43% (34/79) [K remote: Compressing objects: 44% (35/79) [K remote: Compressing objects: 45% (36/79) [K remote: Compressing objects: 46% (37/79) [K remote: Compressing objects: 48% (38/79) [K remote: Compressing objects: 49% (39/79) [K remote: Compressing objects: 50% (40/79) [K remote: Compressing objects: 51% (41/79) [K remote: Compressing objects: 53% (42/79) [K remote: Compressing objects: 54% (43/79) [K remote: Compressing objects: 55% (44/79) [K remote: Compressing objects: 56% (45/79) [K remote: Compressing objects: 58% (46/79) [K remote: Compressing objects: 59% (47/79) [K remote: Compressing objects: 60% (48/79) [K remote: Compressing objects: 62% (49/79) [K remote: Compressing objects: 63% (50/79) [K remote: Compressing objects: 64% (51/79) [K remote: Compressing objects: 65% (52/79) [K remote: Compressing objects: 67% (53/79) [K remote: Compressing objects: 68% (54/79) [K remote: Compressing objects: 69% (55/79) [K remote: Compressing objects: 70% (56/79) [K remote: Compressing objects: 72% (57/79) [K remote: Compressing objects: 73% (58/79) [K remote: Compressing objects: 74% (59/79) [K remote: Compressing objects: 75% (60/79) [K remote: Compressing objects: 77% (61/79) [K remote: Compressing objects: 78% (62/79) [K remote: Compressing objects: 79% (63/79) [K remote: Compressing objects: 81% (64/79) [K remote: Compressing objects: 82% (65/79) [K remote: Compressing objects: 83% (66/79) [K remote: Compressing objects: 84% (67/79) [K remote: Compressing objects: 86% (68/79) [K remote: Compressing objects: 87% (69/79) [K remote: Compressing objects: 88% (70/79) [K remote: Compressing objects: 89% (71/79) [K remote: Compressing objects: 91% (72/79) [K remote: Compressing objects: 92% (73/79) [K remote: Compressing objects: 93% (74/79) [K remote: Compressing objects: 94% (75/79) [K remote: Compressing objects: 96% (76/79) [K remote: Compressing objects: 97% (77/79) [K remote: Compressing objects: 98% (78/79) [K remote: Compressing objects: 100% (79/79) [K remote: Compressing objects: 100% (79/79), done.[K Receiving objects: 0% (1/429) Receiving objects: 1% (5/429) Receiving objects: 2% (9/429) Receiving objects: 3% (13/429) Receiving objects: 4% (18/429) Receiving objects: 5% (22/429) Receiving objects: 6% (26/429) Receiving objects: 7% (31/429) Receiving objects: 8% (35/429) Receiving objects: 9% (39/429) Receiving objects: 10% (43/429) Receiving objects: 11% (48/429) Receiving objects: 12% (52/429) Receiving objects: 13% (56/429) Receiving objects: 14% (61/429) Receiving objects: 15% (65/429) remote: Total 429 (delta 354), reused 425 (delta 350)[K Receiving objects: 16% (69/429) Receiving objects: 17% (73/429) Receiving objects: 18% (78/429) Receiving objects: 19% (82/429) Receiving objects: 20% (86/429) Receiving objects: 21% (91/429) Receiving objects: 22% (95/429) Receiving objects: 23% (99/429) Receiving objects: 24% (103/429) Receiving objects: 25% (108/429) Receiving objects: 26% (112/429) Receiving objects: 27% (116/429) Receiving objects: 28% (121/429) Receiving objects: 29% (125/429) Receiving objects: 30% (129/429) Receiving objects: 31% (133/429) Receiving objects: 32% (138/429) Receiving objects: 33% (142/429) Receiving objects: 34% (146/429) Receiving objects: 35% (151/429) Receiving objects: 36% (155/429) Receiving objects: 37% (159/429) Receiving objects: 38% (164/429) Receiving objects: 39% (168/429) Receiving objects: 40% (172/429) Receiving objects: 41% (176/429) Receiving objects: 42% (181/429) Receiving objects: 43% (185/429) Receiving objects: 44% (189/429) Receiving objects: 45% (194/429) Receiving objects: 46% (198/429) Receiving objects: 47% (202/429) Receiving objects: 48% (206/429) Receiving objects: 49% (211/429) Receiving objects: 50% (215/429) Receiving objects: 51% (219/429) Receiving objects: 52% (224/429) Receiving objects: 53% (228/429) Receiving objects: 54% (232/429) Receiving objects: 55% (236/429) Receiving objects: 56% (241/429) Receiving objects: 57% (245/429) Receiving objects: 58% (249/429) Receiving objects: 59% (254/429) Receiving objects: 60% (258/429) Receiving objects: 61% (262/429) Receiving objects: 62% (266/429) Receiving objects: 63% (271/429) Receiving objects: 64% (275/429) Receiving objects: 65% (279/429) Receiving objects: 66% (284/429) Receiving objects: 67% (288/429) Receiving objects: 68% (292/429) Receiving objects: 69% (297/429) Receiving objects: 70% (301/429) Receiving objects: 71% (305/429) Receiving objects: 72% (309/429) Receiving objects: 73% (314/429) Receiving objects: 74% (318/429) Receiving objects: 75% (322/429) Receiving objects: 76% (327/429) Receiving objects: 77% (331/429) Receiving objects: 78% (335/429) Receiving objects: 79% (339/429) Receiving objects: 80% (344/429) Receiving objects: 81% (348/429) Receiving objects: 82% (352/429) Receiving objects: 83% (357/429) Receiving objects: 84% (361/429) Receiving objects: 85% (365/429) Receiving objects: 86% (369/429) Receiving objects: 87% (374/429) Receiving objects: 88% (378/429) Receiving objects: 89% (382/429) Receiving objects: 90% (387/429) Receiving objects: 91% (391/429) Receiving objects: 92% (395/429) Receiving objects: 93% (399/429) Receiving objects: 94% (404/429) Receiving objects: 95% (408/429) Receiving objects: 96% (412/429) Receiving objects: 97% (417/429) Receiving objects: 98% (421/429) Receiving objects: 99% (425/429) Receiving objects: 100% (429/429) Receiving objects: 100% (429/429), 71.61 KiB | 0 bytes/s, done. Resolving deltas: 0% (0/354) Resolving deltas: 1% (4/354) Resolving deltas: 4% (17/354) Resolving deltas: 5% (19/354) Resolving deltas: 6% (22/354) Resolving deltas: 7% (26/354) Resolving deltas: 8% (29/354) Resolving deltas: 9% (32/354) Resolving deltas: 11% (41/354) Resolving deltas: 12% (43/354) Resolving deltas: 13% (48/354) Resolving deltas: 14% (51/354) Resolving deltas: 15% (54/354) Resolving deltas: 16% (58/354) Resolving deltas: 17% (61/354) Resolving deltas: 20% (71/354) Resolving deltas: 22% (79/354) Resolving deltas: 25% (89/354) Resolving deltas: 26% (94/354) Resolving deltas: 27% (96/354) Resolving deltas: 28% (100/354) Resolving deltas: 29% (104/354) Resolving deltas: 33% (117/354) Resolving deltas: 35% (124/354) Resolving deltas: 36% (128/354) Resolving deltas: 37% (131/354) Resolving deltas: 38% (135/354) Resolving deltas: 40% (145/354) Resolving deltas: 41% (148/354) Resolving deltas: 42% (152/354) Resolving deltas: 43% (153/354) Resolving deltas: 44% (156/354) Resolving deltas: 45% (161/354) Resolving deltas: 46% (163/354) Resolving deltas: 47% (167/354) Resolving deltas: 48% (170/354) Resolving deltas: 49% (174/354) Resolving deltas: 50% (177/354) Resolving deltas: 51% (181/354) Resolving deltas: 52% (185/354) Resolving deltas: 53% (188/354) Resolving deltas: 54% (192/354) Resolving deltas: 59% (212/354) Resolving deltas: 61% (217/354) Resolving deltas: 65% (232/354) Resolving deltas: 66% (234/354) Resolving deltas: 68% (241/354) Resolving deltas: 73% (259/354) Resolving deltas: 77% (276/354) Resolving deltas: 78% (278/354) Resolving deltas: 79% (280/354) Resolving deltas: 83% (297/354) Resolving deltas: 84% (298/354) Resolving deltas: 87% (311/354) Resolving deltas: 88% (315/354) Resolving deltas: 90% (319/354) Resolving deltas: 92% (326/354) Resolving deltas: 95% (338/354) Resolving deltas: 98% (349/354) Resolving deltas: 99% (352/354) Resolving deltas: 100% (354/354) Resolving deltas: 100% (354/354), completed with 125 local objects. From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 6f33d645..dcd4693 master -> origin/master updating remote crazycat69_linux_media Fetching r_crazycat69_linux_media creating a local branch crazycat69_linux_media Already on 'crazycat69_linux_media/latest' Your branch is up-to-date with 'r_crazycat69_linux_media/latest'. From . * remote-tracking branch r_crazycat69_linux_media/latest -> FETCH_HEAD Already up-to-date. make: Entering directory '/home/idan/media_build/linux' rm -rf drivers firmware include sound .patches_applied .linked_dir .git_log.md5 git_log kernel_version.h Searching in ../media//Makefile for kernel version. ./use_dir.pl ../media/ sync file: include/trace/events/vb2.h sync file: include/uapi/linux/ivtv.h sync file: include/linux/kconfig.h sync file: include/uapi/linux/media-bus-format.h sync file: firmware/av7110/Boot.S sync file: include/uapi/linux/videodev2.h sync file: include/sound/aci.h sync file: include/linux/ti_wilink_st.h sync file: include/uapi/linux/usb/video.h sync file: include/linux/of_graph.h sync file: include/uapi/linux/meye.h sync file: include/uapi/linux/v4l2-controls.h sync file: include/uapi/linux/v4l2-dv-timings.h sync file: include/misc/altera.h sync file: include/uapi/linux/v4l2-mediabus.h sync file: include/uapi/linux/smiapp.h sync file: include/linux/compiler-gcc.h sync file: firmware/av7110/bootcode.bin.ihex sync file: firmware/ttusb-budget/dspbootcode.bin.ihex sync file: include/linux/dma/xilinx_dma.h sync file: include/linux/cec-funcs.h sync file: include/linux/cec.h sync file: firmware/vicam/firmware.H16 sync file: include/linux/mmc/sdio_ids.h sync file: include/linux/dma-buf.h sync file: include/linux/via-core.h sync file: firmware/cpia2/stv0672_vp4.bin.ihex sync file: include/uapi/linux/lirc.h sync file: include/uapi/linux/uvcvideo.h sync file: include/uapi/linux/media.h sync file: include/uapi/linux/v4l2-common.h sync file: include/linux/fixp-arith.h sync file: firmware/ihex2fw.c sync file: include/linux/hdmi.h sync file: include/linux/fence.h sync file: include/uapi/linux/v4l2-subdev.h sync file: include/uapi/linux/ivtvfb.h sync file: include/uapi/linux/xilinx-v4l2-controls.h sync file: mm/frame_vector.c sync file: include/linux/pci_ids.h sync file: include/trace/events/v4l2.h sync file: sound/pci/bt87x.c sync dir: drivers/media/ sync dir: drivers/staging/media/ sync dir: drivers/misc/altera-stapl/ sync dir: include/media/ sync dir: include/uapi/linux/dvb/ sync dir: include/dt-bindings/media/ sync dir: include/linux/platform_data/media/ make: Leaving directory '/home/idan/media_build/linux' ********************************************************** * Downloading firmwares from linuxtv.org. * ********************************************************** dvb-demod-drxk-pctv.fw dvb-demod-mn88472-02.fw dvb-demod-mn88473-01.fw dvb-demod-si2168-01.fw dvb-demod-si2168-02.fw dvb-demod-si2168-a20-01.fw dvb-demod-si2168-a30-01.fw dvb-demod-si2168-b40-01.fw dvb-demod-si2168-d60-01.fw dvb-demod-si2183-b60-01.fw dvb-fe-bcm3510-01.fw dvb-fe-cx24116.fw dvb-fe-cx24117.fw dvb-fe-drxj-mc-1.0.8.fw dvb-fe-drxj-mc-vsb-1.0.8.fw dvb-fe-drxj-mc-vsb-qam-1.0.8.fw dvb-fe-ds3000.fw dvb-fe-ds300x.fw dvb-fe-ds3103.fw dvb-fe-mxl5xx.fw dvb-fe-or51132-qam.fw dvb-fe-or51132-vsb.fw dvb-fe-or51211.fw dvb-fe-rs6000.fw dvb-fe-tda10045.fw dvb-fe-tda10046.fw dvb-fe-tda10048-1.0.fw dvb-fe-tda10071.fw dvb-fe-xc4000-1.4.1.fw dvb-fe-xc5000-1.6.114.fw dvb-fe-xc5000c-4.1.30.7.fw dvb-tuner-si2141-a10-01.fw dvb-tuner-si2158-a20-01.fw dvb-usb-avertv-a800-02.fw dvb-usb-bluebird-01.fw dvb-usb-dib0700-1.20.fw dvb-usb-dibusb-5.0.0.11.fw dvb-usb-dibusb-6.0.0.8.fw dvb-usb-dtt200u-01.fw dvb-usb-dw2101.fw dvb-usb-dw2102.fw dvb-usb-dw2104.fw dvb-usb-dw3101.fw dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw dvb-usb-p1100.fw dvb-usb-p1100-old.fw dvb-usb-p7500.fw dvb-usb-pctv-400e-01.fw dvb-usb-pctv-450e-01.fw dvb-usb-pctv-452e-01.fw dvb-usb-s620.fw dvb-usb-s630.fw dvb-usb-s660.fw dvb-usb-sb340.fw dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw dvb-usb-tbsqbox-dvbc.fw dvb-usb-tbsqbox-id2601.fw dvb-usb-tbsqbox-id5220.fw dvb-usb-tbsqbox-id5520.fw dvb-usb-tbsqbox-id5680.fw dvb-usb-tbsqbox-id5880.fw dvb-usb-tbsqbox-id5881.fw dvb-usb-tbsqbox-id5910.fw dvb-usb-tbsqbox-id5920.fw dvb-usb-tbsqbox-id5921.fw dvb-usb-tbsqbox-id5922.fw dvb-usb-tbsqbox-id5925.fw dvb-usb-tbsqbox-id5927.fw dvb-usb-tbsqbox-id5928.fw dvb-usb-tbsqbox-id5980.fw dvb-usb-terratec-h5-drxk.fw dvb-usb-terratec-h7-az6007.fw dvb-usb-terratec-h7-drxk.fw dvb-usb-tt-s2400-01.fw dvb-usb-umt-010-02.fw dvb-usb-vp702x-01.fw dvb-usb-vp7045-01.fw dvb-usb-wt220u-01.fw dvb-usb-wt220u-02.fw sms1xxx-hcw-55xxx-dvbt-02.fw sms1xxx-hcw-55xxx-isdbt-02.fw sms1xxx-nova-a-dvbt-01.fw sms1xxx-nova-b-dvbt-01.fw sms1xxx-stellar-dvbt-01.fw v4l-cx231xx-avcore-01.fw v4l-cx23418-apu.fw v4l-cx23418-cpu.fw v4l-cx23418-dig.fw v4l-cx23885-avcore-01.fw v4l-cx23885-enc-broken.fw v4l-cx23885-enc.fw v4l-cx25840.fw ****************** * Start building * ****************** make -C /home/idan/media_build/v4l allyesconfig make[1]: Entering directory '/home/idan/media_build/v4l' make[2]: Entering directory '/home/idan/media_build/linux' Syncing with dir ../media/ Applying patches for kernel 3.4.112-sun8i patch -s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch patch -s -f -N -p1 -i ../backports/debug.patch patch -s -f -N -p1 -i ../backports/drx39xxj.patch patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch patch -s -f -N -p1 -i ../backports/v4.6_i2c_mux.patch patch -s -f -N -p1 -i ../backports/v4.5_gpiochip_data_pointer.patch patch -s -f -N -p1 -i ../backports/v4.5_get_user_pages.patch patch -s -f -N -p1 -i ../backports/v4.5_uvc_super_plus.patch patch -s -f -N -p1 -i ../backports/v4.4_gpio_chip_parent.patch patch -s -f -N -p1 -i ../backports/v4.1_pat_enabled.patch patch -s -f -N -p1 -i ../backports/v4.0_dma_buf_export.patch patch -s -f -N -p1 -i ../backports/v4.0_drop_trace.patch patch -s -f -N -p1 -i ../backports/v4.0_fwnode.patch patch -s -f -N -p1 -i ../backports/v3.19_get_user_pages_locked.patch patch -s -f -N -p1 -i ../backports/v3.17_fix_clamp.patch patch -s -f -N -p1 -i ../backports/v3.16_netdev.patch patch -s -f -N -p1 -i ../backports/v3.16_wait_on_bit.patch patch -s -f -N -p1 -i ../backports/v3.16_void_gpiochip_remove.patch patch -s -f -N -p1 -i ../backports/v3.12_kfifo_in.patch patch -s -f -N -p1 -i ../backports/v3.11_dev_groups.patch patch -s -f -N -p1 -i ../backports/v3.10_fw_driver_probe.patch patch -s -f -N -p1 -i ../backports/v3.10_ir_hix5hd2.patch patch -s -f -N -p1 -i ../backports/v3.9_drxj_warnings.patch patch -s -f -N -p1 -i ../backports/v3.8_config_of.patch patch -s -f -N -p1 -i ../backports/v3.6_pci_error_handlers.patch patch -s -f -N -p1 -i ../backports/v3.6_i2c_add_mux_adapter.patch patch -s -f -N -p1 -i ../backports/v3.4_i2c_add_mux_adapter.patch Patched drivers/media/dvb-core/dvbdev.c Patched drivers/media/v4l2-core/v4l2-dev.c Patched drivers/media/rc/rc-main.c Syncing with dir ../media/ make[2]: Leaving directory '/home/idan/media_build/linux' ./scripts/make_kconfig.pl /lib/modules/3.4.112-sun8i/build /lib/modules/3.4.112-sun8i/build 1 Preparing to compile for kernel version 3.4.112 ***WARNING:*** You do not have the full kernel sources installed. This does not prevent you from building the v4l-dvb tree if you have the kernel headers, but the full kernel source may be required in order to use make menuconfig / xconfig / qconfig. If you are experiencing problems building the v4l-dvb tree, please try building against a vanilla kernel before reporting a bug. Vanilla kernels are available at http://kernel.org. On most distros, this will compile a newly downloaded kernel: cp /boot/config-`uname -r` <your kernel dir>/.config cd <your kernel dir> make all modules_install install Please see your distro's web site for instructions to build a new kernel. WARNING: This is the V4L/DVB backport tree, with experimental drivers backported to run on legacy kernels from the development tree at: http://git.linuxtv.org/media-tree.git. It is generally safe to use it for testing a new driver or feature, but its usage on production environments is risky. Don't use it in production. You've been warned. V4L2_FLASH_LED_CLASS: Requires at least kernel 3.18.0 VIDEOBUF2_DMA_CONTIG: Requires at least kernel 3.6.0 IR_HIX5HD2: Requires at least kernel 3.10.0 IR_NUVOTON: Requires at least kernel 3.12.0 IR_IMG: Requires at least kernel 3.9.0 RC_ST: Requires at least kernel 3.15.0 DVB_USB_RTL28XXU: Requires at least kernel 3.7.0 VIDEO_FB_IVTV: Requires at least kernel 3.11.0 DVB_PT3: Requires at least kernel 3.11.0 DVB_NETUP_UNIDVB: Requires at least kernel 3.7.0 VIDEO_XILINX: Requires at least kernel 3.17.0 VIDEO_RCAR_VIN: Requires at least kernel 3.9.0 VIDEO_CODA: Requires at least kernel 3.5.0 VIDEO_SH_VEU: Requires at least kernel 3.9.0 VIDEO_RENESAS_VSP1: Requires at least kernel 3.9.0 RADIO_SI4713: Requires at least kernel 3.13.0 I2C_SI4713: Requires at least kernel 3.17.0 VIDEO_ADV7180: Requires at least kernel 3.17.0 VIDEO_ADV7183: Requires at least kernel 3.5.0 VIDEO_ADV7604: Requires at least kernel 3.17.0 VIDEO_TC358743: Requires at least kernel 3.17.0 VIDEO_TVP5150: Requires at least kernel 3.17.0 VIDEO_OV2659: Requires at least kernel 3.5.0 VIDEO_OV9650: Requires at least kernel 3.5.0 VIDEO_VS6624: Requires at least kernel 3.5.0 VIDEO_MT9P031: Requires at least kernel 3.17.0 VIDEO_MT9T001: Requires at least kernel 3.5.0 VIDEO_MT9V032: Requires at least kernel 3.19.0 VIDEO_NOON010PC30: Requires at least kernel 3.5.0 VIDEO_M5MOLS: Requires at least kernel 3.6.0 VIDEO_S5K6AA: Requires at least kernel 3.5.0 VIDEO_S5K6A3: Requires at least kernel 3.5.0 VIDEO_S5K5BAF: Requires at least kernel 3.5.0 VIDEO_SMIAPP: Requires at least kernel 4.0.0 VIDEO_S5C73M3: Requires at least kernel 3.6.0 VIDEO_ADP1653: Requires at least kernel 3.17.0 SOC_CAMERA_OV2640: Requires at least kernel 3.17.0 MEDIA_TUNER_E4000: Requires at least kernel 3.5.0 DVB_M88DS3103: Requires at least kernel 3.8.0 DVB_TS2020: Requires at least kernel 3.8.0 DVB_CXD2820R: Requires at least kernel 4.4.0 DVB_RTL2830: Requires at least kernel 3.8.0 DVB_RTL2832: Requires at least kernel 3.8.0 MEDIA_CEC: Requires at least kernel 3.19.0 Created default (all yes) .config file ./scripts/fix_kconfig.pl make[1]: Leaving directory '/home/idan/media_build/v4l' make -C /home/idan/media_build/v4l make[1]: Entering directory '/home/idan/media_build/v4l' scripts/make_makefile.pl ./scripts/make_myconfig.pl perl scripts/make_config_compat.pl /lib/modules/3.4.112-sun8i/build ./.myconfig ./config-compat.h make -C firmware prep creating symbolic links... make[2]: Entering directory '/home/idan/media_build/v4l/firmware' make[2]: Leaving directory '/home/idan/media_build/v4l/firmware' make -C firmware make[2]: Entering directory '/home/idan/media_build/v4l/firmware' CC ihex2fw Generating vicam/firmware.fw Generating ttusb-budget/dspbootcode.bin Generating cpia2/stv0672_vp4.bin Generating av7110/bootcode.bin make[2]: Leaving directory '/home/idan/media_build/v4l/firmware' Kernel build directory is /lib/modules/3.4.112-sun8i/build make -C ../linux apply_patches make[2]: Entering directory '/home/idan/media_build/linux' Syncing with dir ../media/ Patches for 3.4.112-sun8i already applied. make[2]: Leaving directory '/home/idan/media_build/linux' make -C /lib/modules/3.4.112-sun8i/build SUBDIRS=/home/idan/media_build/v4l modules make[2]: Entering directory '/usr/src/linux-headers-3.4.112-sun8i' CC [M] /home/idan/media_build/v4l/cec-edid.o CC [M] /home/idan/media_build/v4l/altera-lpt.o CC [M] /home/idan/media_build/v4l/altera-jtag.o CC [M] /home/idan/media_build/v4l/altera-comp.o CC [M] /home/idan/media_build/v4l/altera.o CC [M] /home/idan/media_build/v4l/au0828-core.o CC [M] /home/idan/media_build/v4l/au0828-i2c.o CC [M] /home/idan/media_build/v4l/au0828-cards.o CC [M] /home/idan/media_build/v4l/au0828-dvb.o CC [M] /home/idan/media_build/v4l/au0828-video.o CC [M] /home/idan/media_build/v4l/au0828-vbi.o CC [M] /home/idan/media_build/v4l/au0828-input.o CC [M] /home/idan/media_build/v4l/flexcop-usb.o CC [M] /home/idan/media_build/v4l/flexcop.o CC [M] /home/idan/media_build/v4l/flexcop-fe-tuner.o CC [M] /home/idan/media_build/v4l/flexcop-i2c.o CC [M] /home/idan/media_build/v4l/flexcop-sram.o CC [M] /home/idan/media_build/v4l/flexcop-eeprom.o CC [M] /home/idan/media_build/v4l/flexcop-misc.o CC [M] /home/idan/media_build/v4l/flexcop-hw-filter.o CC [M] /home/idan/media_build/v4l/cpia2_v4l.o CC [M] /home/idan/media_build/v4l/cpia2_usb.o CC [M] /home/idan/media_build/v4l/cpia2_core.o CC [M] /home/idan/media_build/v4l/cx25840-core.o CC [M] /home/idan/media_build/v4l/cx25840-audio.o CC [M] /home/idan/media_build/v4l/cx25840-firmware.o CC [M] /home/idan/media_build/v4l/cx25840-vbi.o CC [M] /home/idan/media_build/v4l/cx25840-ir.o CC [M] /home/idan/media_build/v4l/drxj.o CC [M] /home/idan/media_build/v4l/drxd_firm.o CC [M] /home/idan/media_build/v4l/drxd_hard.o CC [M] /home/idan/media_build/v4l/drxk_hard.o CC [M] /home/idan/media_build/v4l/as102_drv.o CC [M] /home/idan/media_build/v4l/as102_fw.o CC [M] /home/idan/media_build/v4l/as10x_cmd.o CC [M] /home/idan/media_build/v4l/as10x_cmd_stream.o CC [M] /home/idan/media_build/v4l/as102_usb_drv.o CC [M] /home/idan/media_build/v4l/as10x_cmd_cfg.o CC [M] /home/idan/media_build/v4l/dvbdev.o CC [M] /home/idan/media_build/v4l/dmxdev.o CC [M] /home/idan/media_build/v4l/dvb_demux.o CC [M] /home/idan/media_build/v4l/dvb_filter.o CC [M] /home/idan/media_build/v4l/dvb_ca_en50221.o CC [M] /home/idan/media_build/v4l/dvb_frontend.o CC [M] /home/idan/media_build/v4l/dvb_net.o CC [M] /home/idan/media_build/v4l/dvb_ringbuffer.o CC [M] /home/idan/media_build/v4l/dvb_math.o CC [M] /home/idan/media_build/v4l/a800.o CC [M] /home/idan/media_build/v4l/af9005-remote.o CC [M] /home/idan/media_build/v4l/af9005.o CC [M] /home/idan/media_build/v4l/af9005-fe.o CC [M] /home/idan/media_build/v4l/af9015.o CC [M] /home/idan/media_build/v4l/af9035.o CC [M] /home/idan/media_build/v4l/au6610.o CC [M] /home/idan/media_build/v4l/az6007.o CC [M] /home/idan/media_build/v4l/az6027.o CC [M] /home/idan/media_build/v4l/ce6230.o CC [M] /home/idan/media_build/v4l/cinergyT2-core.o CC [M] /home/idan/media_build/v4l/cinergyT2-fe.o CC [M] /home/idan/media_build/v4l/cxusb.o CC [M] /home/idan/media_build/v4l/dib0700_core.o CC [M] /home/idan/media_build/v4l/dib0700_devices.o /home/idan/media_build/v4l/cxusb.c: In function 'cxusb_disconnect': /home/idan/media_build/v4l/cxusb.c:1643:22: warning: unused variable 'st' [-Wunused-variable] struct cxusb_state *st = d->priv; ^ /home/idan/media_build/v4l/dib0700_core.c: In function 'dib0700_rc_urb_completion': /home/idan/media_build/v4l/dib0700_core.c:763:2: warning: 'protocol' may be used uninitialized in this function [-Wmaybe-uninitialized] rc_keydown(d->rc_dev, protocol, keycode, toggle); ^ CC [M] /home/idan/media_build/v4l/dibusb-common.o CC [M] /home/idan/media_build/v4l/dibusb-mb.o CC [M] /home/idan/media_build/v4l/dibusb-mc-common.o CC [M] /home/idan/media_build/v4l/dibusb-mc.o CC [M] /home/idan/media_build/v4l/digitv.o CC [M] /home/idan/media_build/v4l/dtt200u.o CC [M] /home/idan/media_build/v4l/dtt200u-fe.o CC [M] /home/idan/media_build/v4l/dtv5100.o CC [M] /home/idan/media_build/v4l/ec168.o CC [M] /home/idan/media_build/v4l/friio.o CC [M] /home/idan/media_build/v4l/friio-fe.o CC [M] /home/idan/media_build/v4l/gl861.o CC [M] /home/idan/media_build/v4l/gp8psk.o CC [M] /home/idan/media_build/v4l/gp8psk-fe.o CC [M] /home/idan/media_build/v4l/m920x.o CC [M] /home/idan/media_build/v4l/mxl111sf.o CC [M] /home/idan/media_build/v4l/mxl111sf-phy.o CC [M] /home/idan/media_build/v4l/mxl111sf-i2c.o CC [M] /home/idan/media_build/v4l/mxl111sf-gpio.o CC [M] /home/idan/media_build/v4l/nova-t-usb2.o CC [M] /home/idan/media_build/v4l/opera1.o CC [M] /home/idan/media_build/v4l/pctv452e.o CC [M] /home/idan/media_build/v4l/tbs5220.o CC [M] /home/idan/media_build/v4l/tbs5520.o CC [M] /home/idan/media_build/v4l/tbs5881.o CC [M] /home/idan/media_build/v4l/tbs5922se.o CC [M] /home/idan/media_build/v4l/tbs5925.o CC [M] /home/idan/media_build/v4l/tbs5927.o CC [M] /home/idan/media_build/v4l/tbs-qbox.o CC [M] /home/idan/media_build/v4l/tbs-qbox2.o CC [M] /home/idan/media_build/v4l/tbs-qbox22.o CC [M] /home/idan/media_build/v4l/tbs-qbox2ci.o CC [M] /home/idan/media_build/v4l/tbs-qboxs2.o CC [M] /home/idan/media_build/v4l/technisat-usb2.o CC [M] /home/idan/media_build/v4l/ttusb2.o CC [M] /home/idan/media_build/v4l/umt-010.o CC [M] /home/idan/media_build/v4l/vp702x.o CC [M] /home/idan/media_build/v4l/vp702x-fe.o CC [M] /home/idan/media_build/v4l/vp7045.o CC [M] /home/idan/media_build/v4l/vp7045-fe.o CC [M] /home/idan/media_build/v4l/dvb-usb-firmware.o CC [M] /home/idan/media_build/v4l/dvb-usb-init.o CC [M] /home/idan/media_build/v4l/dvb-usb-urb.o CC [M] /home/idan/media_build/v4l/dvb-usb-i2c.o CC [M] /home/idan/media_build/v4l/dvb-usb-dvb.o CC [M] /home/idan/media_build/v4l/dvb-usb-remote.o CC [M] /home/idan/media_build/v4l/usb-urb.o CC [M] /home/idan/media_build/v4l/dvb_usb_core.o CC [M] /home/idan/media_build/v4l/dvb_usb_urb.o CC [M] /home/idan/media_build/v4l/usb_urb.o CC [M] /home/idan/media_build/v4l/em28xx-audio.o /home/idan/media_build/v4l/em28xx-audio.c: In function 'em28xx_audio_init': /home/idan/media_build/v4l/em28xx-audio.c:923:49: warning: passing argument 3 of 'snd_pcm_set_ops' discards 'const' qualifier from pointer target type snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_em28xx_pcm_capture); ^ In file included from /home/idan/media_build/v4l/compat.h:1534:0, from <command-line>:0: include/sound/pcm.h:872:6: note: expected 'struct snd_pcm_ops *' but argument is of type 'const struct snd_pcm_ops *' void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); ^ CC [M] /home/idan/media_build/v4l/em28xx-input.o CC [M] /home/idan/media_build/v4l/em28xx-video.o CC [M] /home/idan/media_build/v4l/em28xx-vbi.o CC [M] /home/idan/media_build/v4l/em28xx-core.o CC [M] /home/idan/media_build/v4l/em28xx-i2c.o CC [M] /home/idan/media_build/v4l/em28xx-cards.o CC [M] /home/idan/media_build/v4l/em28xx-camera.o CC [M] /home/idan/media_build/v4l/go7007-v4l2.o CC [M] /home/idan/media_build/v4l/go7007-driver.o CC [M] /home/idan/media_build/v4l/go7007-i2c.o CC [M] /home/idan/media_build/v4l/go7007-fw.o CC [M] /home/idan/media_build/v4l/snd-go7007.o CC [M] /home/idan/media_build/v4l/benq.o /home/idan/media_build/v4l/snd-go7007.c: In function 'go7007_snd_init': /home/idan/media_build/v4l/snd-go7007.c:269:4: warning: passing argument 3 of 'snd_pcm_set_ops' discards 'const' qualifier from pointer target type &go7007_snd_capture_ops); ^ In file included from /home/idan/media_build/v4l/compat.h:1534:0, from <command-line>:0: include/sound/pcm.h:872:6: note: expected 'struct snd_pcm_ops *' but argument is of type 'const struct snd_pcm_ops *' void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); ^ CC [M] /home/idan/media_build/v4l/conex.o CC [M] /home/idan/media_build/v4l/cpia1.o CC [M] /home/idan/media_build/v4l/dtcs033.o CC [M] /home/idan/media_build/v4l/etoms.o CC [M] /home/idan/media_build/v4l/finepix.o CC [M] /home/idan/media_build/v4l/gl860.o CC [M] /home/idan/media_build/v4l/gl860-mi1320.o CC [M] /home/idan/media_build/v4l/gl860-ov2640.o CC [M] /home/idan/media_build/v4l/gl860-ov9655.o CC [M] /home/idan/media_build/v4l/gl860-mi2020.o CC [M] /home/idan/media_build/v4l/jeilinj.o CC [M] /home/idan/media_build/v4l/jl2005bcd.o CC [M] /home/idan/media_build/v4l/kinect.o CC [M] /home/idan/media_build/v4l/konica.o CC [M] /home/idan/media_build/v4l/m5602_core.o CC [M] /home/idan/media_build/v4l/m5602_ov9650.o CC [M] /home/idan/media_build/v4l/m5602_ov7660.o CC [M] /home/idan/media_build/v4l/m5602_mt9m111.o CC [M] /home/idan/media_build/v4l/m5602_po1030.o CC [M] /home/idan/media_build/v4l/m5602_s5k83a.o CC [M] /home/idan/media_build/v4l/m5602_s5k4aa.o CC [M] /home/idan/media_build/v4l/gspca.o CC [M] /home/idan/media_build/v4l/autogain_functions.o CC [M] /home/idan/media_build/v4l/mars.o CC [M] /home/idan/media_build/v4l/mr97310a.o CC [M] /home/idan/media_build/v4l/nw80x.o CC [M] /home/idan/media_build/v4l/ov519.o CC [M] /home/idan/media_build/v4l/ov534.o CC [M] /home/idan/media_build/v4l/ov534_9.o CC [M] /home/idan/media_build/v4l/pac207.o CC [M] /home/idan/media_build/v4l/pac7302.o CC [M] /home/idan/media_build/v4l/pac7311.o CC [M] /home/idan/media_build/v4l/se401.o CC [M] /home/idan/media_build/v4l/sn9c2028.o CC [M] /home/idan/media_build/v4l/sn9c20x.o CC [M] /home/idan/media_build/v4l/sonixb.o CC [M] /home/idan/media_build/v4l/sonixj.o CC [M] /home/idan/media_build/v4l/spca1528.o CC [M] /home/idan/media_build/v4l/spca500.o CC [M] /home/idan/media_build/v4l/spca501.o CC [M] /home/idan/media_build/v4l/spca505.o CC [M] /home/idan/media_build/v4l/spca506.o CC [M] /home/idan/media_build/v4l/spca508.o CC [M] /home/idan/media_build/v4l/spca561.o CC [M] /home/idan/media_build/v4l/sq905.o CC [M] /home/idan/media_build/v4l/sq905c.o CC [M] /home/idan/media_build/v4l/sq930x.o CC [M] /home/idan/media_build/v4l/stk014.o CC [M] /home/idan/media_build/v4l/stk1135.o CC [M] /home/idan/media_build/v4l/stv0680.o CC [M] /home/idan/media_build/v4l/stv06xx.o CC [M] /home/idan/media_build/v4l/stv06xx_vv6410.o CC [M] /home/idan/media_build/v4l/stv06xx_hdcs.o CC [M] /home/idan/media_build/v4l/stv06xx_pb0100.o CC [M] /home/idan/media_build/v4l/stv06xx_st6422.o CC [M] /home/idan/media_build/v4l/sunplus.o CC [M] /home/idan/media_build/v4l/t613.o CC [M] /home/idan/media_build/v4l/topro.o CC [M] /home/idan/media_build/v4l/touptek.o CC [M] /home/idan/media_build/v4l/tv8532.o CC [M] /home/idan/media_build/v4l/vc032x.o CC [M] /home/idan/media_build/v4l/vicam.o CC [M] /home/idan/media_build/v4l/xirlink_cit.o CC [M] /home/idan/media_build/v4l/zc3xx.o CC [M] /home/idan/media_build/v4l/hdpvr-control.o CC [M] /home/idan/media_build/v4l/hdpvr-core.o CC [M] /home/idan/media_build/v4l/hdpvr-video.o CC [M] /home/idan/media_build/v4l/hdpvr-i2c.o CC [M] /home/idan/media_build/v4l/media-device.o CC [M] /home/idan/media_build/v4l/media-devnode.o CC [M] /home/idan/media_build/v4l/media-entity.o CC [M] /home/idan/media_build/v4l/msp3400-driver.o CC [M] /home/idan/media_build/v4l/msp3400-kthreads.o CC [M] /home/idan/media_build/v4l/pvrusb2-i2c-core.o CC [M] /home/idan/media_build/v4l/pvrusb2-audio.o CC [M] /home/idan/media_build/v4l/pvrusb2-encoder.o CC [M] /home/idan/media_build/v4l/pvrusb2-video-v4l.o CC [M] /home/idan/media_build/v4l/pvrusb2-eeprom.o CC [M] /home/idan/media_build/v4l/pvrusb2-main.o CC [M] /home/idan/media_build/v4l/pvrusb2-hdw.o CC [M] /home/idan/media_build/v4l/pvrusb2-v4l2.o CC [M] /home/idan/media_build/v4l/pvrusb2-ctrl.o CC [M] /home/idan/media_build/v4l/pvrusb2-std.o CC [M] /home/idan/media_build/v4l/pvrusb2-devattr.o CC [M] /home/idan/media_build/v4l/pvrusb2-context.o CC [M] /home/idan/media_build/v4l/pvrusb2-io.o CC [M] /home/idan/media_build/v4l/pvrusb2-ioread.o CC [M] /home/idan/media_build/v4l/pvrusb2-cx2584x-v4l.o CC [M] /home/idan/media_build/v4l/pvrusb2-wm8775.o CC [M] /home/idan/media_build/v4l/pvrusb2-cs53l32a.o CC [M] /home/idan/media_build/v4l/pvrusb2-dvb.o CC [M] /home/idan/media_build/v4l/pvrusb2-sysfs.o CC [M] /home/idan/media_build/v4l/pvrusb2-debugifc.o CC [M] /home/idan/media_build/v4l/pwc-if.o CC [M] /home/idan/media_build/v4l/pwc-misc.o CC [M] /home/idan/media_build/v4l/pwc-ctrl.o CC [M] /home/idan/media_build/v4l/pwc-v4l.o CC [M] /home/idan/media_build/v4l/pwc-uncompress.o CC [M] /home/idan/media_build/v4l/pwc-dec1.o CC [M] /home/idan/media_build/v4l/pwc-dec23.o CC [M] /home/idan/media_build/v4l/pwc-kiara.o CC [M] /home/idan/media_build/v4l/pwc-timon.o CC [M] /home/idan/media_build/v4l/radio-si470x-usb.o CC [M] /home/idan/media_build/v4l/radio-si470x-common.o CC [M] /home/idan/media_build/v4l/rc-main.o CC [M] /home/idan/media_build/v4l/rc-ir-raw.o CC [M] /home/idan/media_build/v4l/s2250-board.o CC [M] /home/idan/media_build/v4l/radio-shark2.o CC [M] /home/idan/media_build/v4l/radio-tea5777.o CC [M] /home/idan/media_build/v4l/smsdvb-main.o CC [M] /home/idan/media_build/v4l/smsdvb-debugfs.o CC [M] /home/idan/media_build/v4l/smscoreapi.o CC [M] /home/idan/media_build/v4l/sms-cards.o CC [M] /home/idan/media_build/v4l/smsendian.o CC [M] /home/idan/media_build/v4l/smsir.o CC [M] /home/idan/media_build/v4l/stb0899_drv.o CC [M] /home/idan/media_build/v4l/stb0899_algo.o CC [M] /home/idan/media_build/v4l/stk-webcam.o CC [M] /home/idan/media_build/v4l/stk-sensor.o CC [M] /home/idan/media_build/v4l/stv0900_core.o CC [M] /home/idan/media_build/v4l/stv0900_sw.o CC [M] /home/idan/media_build/v4l/tda18271-maps.o CC [M] /home/idan/media_build/v4l/tda18271-common.o CC [M] /home/idan/media_build/v4l/tda18271-fe.o CC [M] /home/idan/media_build/v4l/tm6000-cards.o CC [M] /home/idan/media_build/v4l/tm6000-core.o CC [M] /home/idan/media_build/v4l/tm6000-i2c.o CC [M] /home/idan/media_build/v4l/tm6000-video.o CC [M] /home/idan/media_build/v4l/tm6000-stds.o CC [M] /home/idan/media_build/v4l/tm6000-input.o CC [M] /home/idan/media_build/v4l/tuner-core.o CC [M] /home/idan/media_build/v4l/usbtv-core.o CC [M] /home/idan/media_build/v4l/usbtv-video.o CC [M] /home/idan/media_build/v4l/usbtv-audio.o CC [M] /home/idan/media_build/v4l/usbvision-core.o CC [M] /home/idan/media_build/v4l/usbvision-video.o /home/idan/media_build/v4l/usbtv-audio.c: In function 'usbtv_audio_init': /home/idan/media_build/v4l/usbtv-audio.c:378:49: warning: passing argument 3 of 'snd_pcm_set_ops' discards 'const' qualifier from pointer target type snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_usbtv_pcm_ops); ^ In file included from /home/idan/media_build/v4l/compat.h:1534:0, from <command-line>:0: include/sound/pcm.h:872:6: note: expected 'struct snd_pcm_ops *' but argument is of type 'const struct snd_pcm_ops *' void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); ^ CC [M] /home/idan/media_build/v4l/usbvision-i2c.o CC [M] /home/idan/media_build/v4l/usbvision-cards.o CC [M] /home/idan/media_build/v4l/uvc_driver.o CC [M] /home/idan/media_build/v4l/uvc_queue.o CC [M] /home/idan/media_build/v4l/uvc_v4l2.o CC [M] /home/idan/media_build/v4l/uvc_video.o CC [M] /home/idan/media_build/v4l/uvc_ctrl.o CC [M] /home/idan/media_build/v4l/uvc_status.o CC [M] /home/idan/media_build/v4l/uvc_isight.o CC [M] /home/idan/media_build/v4l/uvc_debugfs.o CC [M] /home/idan/media_build/v4l/uvc_entity.o CC [M] /home/idan/media_build/v4l/v4l2-tpg-core.o CC [M] /home/idan/media_build/v4l/v4l2-tpg-colors.o CC [M] /home/idan/media_build/v4l/v4l2-dev.o CC [M] /home/idan/media_build/v4l/v4l2-ioctl.o CC [M] /home/idan/media_build/v4l/v4l2-device.o CC [M] /home/idan/media_build/v4l/v4l2-fh.o CC [M] /home/idan/media_build/v4l/v4l2-event.o CC [M] /home/idan/media_build/v4l/v4l2-ctrls.o CC [M] /home/idan/media_build/v4l/v4l2-subdev.o CC [M] /home/idan/media_build/v4l/v4l2-clk.o CC [M] /home/idan/media_build/v4l/v4l2-async.o CC [M] /home/idan/media_build/v4l/v4l2-mc.o CC [M] /home/idan/media_build/v4l/imx074.o CC [M] /home/idan/media_build/v4l/mt9m001.o CC [M] /home/idan/media_build/v4l/mt9t031.o CC [M] /home/idan/media_build/v4l/mt9t112.o CC [M] /home/idan/media_build/v4l/mt9v022.o CC [M] /home/idan/media_build/v4l/ov5642.o CC [M] /home/idan/media_build/v4l/ov6650.o CC [M] /home/idan/media_build/v4l/ov772x.o CC [M] /home/idan/media_build/v4l/ov9640.o CC [M] /home/idan/media_build/v4l/ov9740.o CC [M] /home/idan/media_build/v4l/rj54n1cb0c.o CC [M] /home/idan/media_build/v4l/tw9910.o CC [M] /home/idan/media_build/v4l/aptina-pll.o CC [M] /home/idan/media_build/v4l/tvaudio.o CC [M] /home/idan/media_build/v4l/tda7432.o CC [M] /home/idan/media_build/v4l/saa6588.o CC [M] /home/idan/media_build/v4l/tda9840.o CC [M] /home/idan/media_build/v4l/tea6415c.o CC [M] /home/idan/media_build/v4l/tea6420.o CC [M] /home/idan/media_build/v4l/saa7110.o CC [M] /home/idan/media_build/v4l/saa7115.o CC [M] /home/idan/media_build/v4l/saa717x.o CC [M] /home/idan/media_build/v4l/saa7127.o CC [M] /home/idan/media_build/v4l/saa7185.o CC [M] /home/idan/media_build/v4l/saa6752hs.o CC [M] /home/idan/media_build/v4l/ad5820.o CC [M] /home/idan/media_build/v4l/adv7170.o CC [M] /home/idan/media_build/v4l/adv7175.o CC [M] /home/idan/media_build/v4l/adv7343.o CC [M] /home/idan/media_build/v4l/adv7393.o CC [M] /home/idan/media_build/v4l/ad9389b.o CC [M] /home/idan/media_build/v4l/vpx3220.o CC [M] /home/idan/media_build/v4l/bt819.o CC [M] /home/idan/media_build/v4l/bt856.o CC [M] /home/idan/media_build/v4l/bt866.o CC [M] /home/idan/media_build/v4l/ks0127.o CC [M] /home/idan/media_build/v4l/ths7303.o CC [M] /home/idan/media_build/v4l/ths8200.o CC [M] /home/idan/media_build/v4l/tvp514x.o CC [M] /home/idan/media_build/v4l/tvp7002.o CC [M] /home/idan/media_build/v4l/tw2804.o CC [M] /home/idan/media_build/v4l/tw9903.o CC [M] /home/idan/media_build/v4l/tw9906.o CC [M] /home/idan/media_build/v4l/cs3308.o CC [M] /home/idan/media_build/v4l/cs5345.o CC [M] /home/idan/media_build/v4l/cs53l32a.o CC [M] /home/idan/media_build/v4l/m52790.o CC [M] /home/idan/media_build/v4l/tlv320aic23b.o CC [M] /home/idan/media_build/v4l/uda1342.o CC [M] /home/idan/media_build/v4l/wm8775.o CC [M] /home/idan/media_build/v4l/wm8739.o CC [M] /home/idan/media_build/v4l/vp27smpx.o CC [M] /home/idan/media_build/v4l/sony-btf-mpx.o CC [M] /home/idan/media_build/v4l/upd64031a.o CC [M] /home/idan/media_build/v4l/upd64083.o CC [M] /home/idan/media_build/v4l/ov7640.o CC [M] /home/idan/media_build/v4l/ov7670.o CC [M] /home/idan/media_build/v4l/mt9m032.o CC [M] /home/idan/media_build/v4l/mt9m111.o CC [M] /home/idan/media_build/v4l/mt9v011.o CC [M] /home/idan/media_build/v4l/sr030pc30.o CC [M] /home/idan/media_build/v4l/s5k4ecgx.o CC [M] /home/idan/media_build/v4l/as3645a.o CC [M] /home/idan/media_build/v4l/lm3560.o CC [M] /home/idan/media_build/v4l/lm3646.o CC [M] /home/idan/media_build/v4l/smiapp-pll.o CC [M] /home/idan/media_build/v4l/ak881x.o CC [M] /home/idan/media_build/v4l/ir-kbd-i2c.o CC [M] /home/idan/media_build/v4l/ml86v7667.o /home/idan/media_build/v4l/ir-kbd-i2c.c: In function 'get_key_haup_common': /home/idan/media_build/v4l/ir-kbd-i2c.c:62:2: warning: 'toggle' may be used uninitialized in this function [-Wmaybe-uninitialized] printk(KERN_DEBUG MODULE_NAME ": " fmt , ## arg) ^ /home/idan/media_build/v4l/ir-kbd-i2c.c:70:20: note: 'toggle' was declared here int start, range, toggle, dev, code, ircode, vendor; ^ CC [M] /home/idan/media_build/v4l/tuner-xc2028.o CC [M] /home/idan/media_build/v4l/tuner-simple.o CC [M] /home/idan/media_build/v4l/tuner-types.o CC [M] /home/idan/media_build/v4l/mt20xx.o CC [M] /home/idan/media_build/v4l/tda8290.o CC [M] /home/idan/media_build/v4l/tea5767.o CC [M] /home/idan/media_build/v4l/tea5761.o CC [M] /home/idan/media_build/v4l/tda9887.o CC [M] /home/idan/media_build/v4l/tda827x.o LD [M] /home/idan/media_build/v4l/tda18271.o CC [M] /home/idan/media_build/v4l/tda18273.o CC [M] /home/idan/media_build/v4l/xc5000.o CC [M] /home/idan/media_build/v4l/xc4000.o /home/idan/media_build/v4l/tda18273.c: In function 'tda18273_set_params': /home/idan/media_build/v4l/tda18273.c:1573:24: warning: 'PostDivGrowing' may be used uninitialized in this function [-Wmaybe-uninitialized] FVCO = LO * Prescaler * PostDiv; ^ /home/idan/media_build/v4l/tda18273.c:1489:16: note: 'PostDivGrowing' was declared here unsigned char PostDivGrowing; ^ /home/idan/media_build/v4l/tda18273.c:1573:12: warning: 'PrescalerGrowing' may be used uninitialized in this function [-Wmaybe-uninitialized] FVCO = LO * Prescaler * PostDiv; ^ /home/idan/media_build/v4l/tda18273.c:1490:16: note: 'PrescalerGrowing' was declared here unsigned char PrescalerGrowing; ^ CC [M] /home/idan/media_build/v4l/msi001.o CC [M] /home/idan/media_build/v4l/mt2060.o CC [M] /home/idan/media_build/v4l/mt2063.o CC [M] /home/idan/media_build/v4l/mt2266.o CC [M] /home/idan/media_build/v4l/qt1010.o CC [M] /home/idan/media_build/v4l/mt2131.o CC [M] /home/idan/media_build/v4l/mxl5005s.o CC [M] /home/idan/media_build/v4l/mxl5007t.o CC [M] /home/idan/media_build/v4l/mc44s803.o CC [M] /home/idan/media_build/v4l/max2165.o CC [M] /home/idan/media_build/v4l/tda18218.o CC [M] /home/idan/media_build/v4l/tda18212.o CC [M] /home/idan/media_build/v4l/fc2580.o /home/idan/media_build/v4l/tda18218.c: In function 'tda18218_attach': /home/idan/media_build/v4l/tda18218.c:324:10: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ret || val != def_regs[R00_ID]) { ^ CC [M] /home/idan/media_build/v4l/tua9001.o CC [M] /home/idan/media_build/v4l/si2157.o CC [M] /home/idan/media_build/v4l/fc0011.o CC [M] /home/idan/media_build/v4l/fc0012.o CC [M] /home/idan/media_build/v4l/fc0013.o CC [M] /home/idan/media_build/v4l/it913x.o CC [M] /home/idan/media_build/v4l/r820t.o CC [M] /home/idan/media_build/v4l/mxl301rf.o CC [M] /home/idan/media_build/v4l/qm1d1c0042.o CC [M] /home/idan/media_build/v4l/m88rs6000t.o CC [M] /home/idan/media_build/v4l/av201x.o CC [M] /home/idan/media_build/v4l/r848.o /home/idan/media_build/v4l/av201x.c: In function 'av201x_get_rf_strength': /home/idan/media_build/v4l/av201x.c:233:22: warning: unused variable 'priv' [-Wunused-variable] struct av201x_priv *priv = fe->tuner_priv; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_Muti_Read': /home/idan/media_build/v4l/r848.c:126:15: warning: unused variable 'R848_I2C_Len' [-Wunused-variable] I2C_LEN_TYPE R848_I2C_Len; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_Cal_Prepare': /home/idan/media_build/v4l/r848.c:336:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_Xtal_Check': /home/idan/media_build/v4l/r848.c:677:15: warning: unused variable 'R848_I2C_Len' [-Wunused-variable] I2C_LEN_TYPE R848_I2C_Len; ^ /home/idan/media_build/v4l/r848.c:676:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_PLL': CC [M] /home/idan/media_build/v4l/stv6120.o /home/idan/media_build/v4l/r848.c:903:15: warning: unused variable 'R848_I2C_Len' [-Wunused-variable] I2C_LEN_TYPE R848_I2C_Len; ^ /home/idan/media_build/v4l/r848.c:902:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_MUX': /home/idan/media_build/v4l/r848.c:1387:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_IQ_Tree': /home/idan/media_build/v4l/r848.c:1515:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_IMR_Cross': /home/idan/media_build/v4l/r848.c:1655:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_CompreStep': /home/idan/media_build/v4l/r848.c:1827:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_IMR_Iqcap': /home/idan/media_build/v4l/r848.c:1880:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_IQ': /home/idan/media_build/v4l/r848.c:1933:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_F_IMR': /home/idan/media_build/v4l/r848.c:2087:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_SetTF': /home/idan/media_build/v4l/r848.c:2187:12: warning: unused variable 'R848_I2C' [-Wunused-variable] I2C_TYPE R848_I2C; ^ /home/idan/media_build/v4l/r848.c: In function 'R848_SysFreq_Sel': /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_T_6M' not handled in switch [-Wswitch] switch(R848_Standard) { ^ /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_T_7M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_T_8M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_C_8M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_C_6M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_J83B' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_ISDB_T' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_ISDB_T_4570' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DTMB_4570' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DTMB_6000' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_4500' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_ATSC' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_S' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_T_6M_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_T_7M_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_T_8M_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_C_8M_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DVB_C_6M_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_J83B_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_ISDB_T_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_DTMB_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_ATSC_IF_5M' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_FM' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c:3721:5: warning: enumeration value 'R848_STD_SIZE' not handled in switch [-Wswitch] /home/idan/media_build/v4l/r848.c: In function 'R848_RfGainMode': /home/idan/media_build/v4l/r848.c:3758:15: warning: unused variable 'R848_I2C_Len' [-Wunused-variable] I2C_LEN_TYPE R848_I2C_Len; ^ /home/idan/media_build/v4l/r848.c: In function 'r848_init': /home/idan/media_build/v4l/r848.c:4444:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] u8 i; ^ /home/idan/media_build/v4l/r848.c: At top level: /home/idan/media_build/v4l/r848.c:82:12: warning: 'r848_regmask' defined but not used [-Wunused-function] static int r848_regmask(struct r848_priv *priv, ^ CC [M] /home/idan/media_build/v4l/dvb-pll.o CC [M] /home/idan/media_build/v4l/stv0299.o /home/idan/media_build/v4l/stv6120.c: In function 'init_regs': /home/idan/media_build/v4l/stv6120.c:273:6: warning: unused variable 'bbmode' [-Wunused-variable] u32 bbmode = 0xffffffff; ^ /home/idan/media_build/v4l/stv6120.c:272:6: warning: unused variable 'agcset' [-Wunused-variable] u32 agcset = 0xffffffff; ^ /home/idan/media_build/v4l/stv6120.c:271:6: warning: unused variable 'agcref' [-Wunused-variable] u32 agcref = 2; ^ /home/idan/media_build/v4l/stv6120.c:270:6: warning: unused variable 'agcmode' [-Wunused-variable] u32 agcmode = 0; ^ /home/idan/media_build/v4l/stv6120.c:269:6: warning: unused variable 'clkdiv' [-Wunused-variable] u32 clkdiv = 0; ^ /home/idan/media_build/v4l/stv6120.c: In function 'set_lof': /home/idan/media_build/v4l/stv6120.c:403:6: warning: unused variable 'freq' [-Wunused-variable] u32 freq = Frequency; ^ /home/idan/media_build/v4l/stv6120.c:401:10: warning: unused variable 'tmp' [-Wunused-variable] u8 Icp, tmp; ^ /home/idan/media_build/v4l/stv6120.c:400:13: warning: unused variable 'psel' [-Wunused-variable] u32 p = 1, psel = 0, fvco, div, frac; ^ /home/idan/media_build/v4l/stv6120.c:400:6: warning: unused variable 'p' [-Wunused-variable] u32 p = 1, psel = 0, fvco, div, frac; ^ /home/idan/media_build/v4l/stv6120.c: In function 'get_rf_strength': /home/idan/media_build/v4l/stv6120.c:596:14: warning: unused variable 'state' [-Wunused-variable] struct stv *state = fe->tuner_priv; ^ /home/idan/media_build/v4l/stv6120.c: In function 'stv6120_attach': /home/idan/media_build/v4l/stv6120.c:662:6: warning: unused variable 'stat' [-Wunused-variable] int stat = 0; ^ /home/idan/media_build/v4l/stv6120.c: At top level: /home/idan/media_build/v4l/stv6120.c:223:12: warning: 'read_regs' defined but not used [-Wunused-function] static int read_regs(struct stv *state, u8 reg, u8 *val, int len) ^ /home/idan/media_build/v4l/stv6120.c:524:12: warning: 'get_frequency' defined but not used [-Wunused-function] static int get_frequency(struct dvb_frontend *fe, u32 *frequency) ^ /home/idan/media_build/v4l/stv6120.c:530:12: warning: 'AGC_Gain' defined but not used [-Wunused-variable] static u32 AGC_Gain[] = { ^ /home/idan/media_build/v4l/stv6120.c:617:12: warning: 'get_if' defined but not used [-Wunused-function] static int get_if(struct dvb_frontend *fe, u32 *frequency) ^ /home/idan/media_build/v4l/stv6120.c:623:12: warning: 'get_bandwidth' defined but not used [-Wunused-function] static int get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) ^ LD [M] /home/idan/media_build/v4l/stb0899.o CC [M] /home/idan/media_build/v4l/stb6100.o CC [M] /home/idan/media_build/v4l/sp8870.o CC [M] /home/idan/media_build/v4l/cx22700.o CC [M] /home/idan/media_build/v4l/s5h1432.o CC [M] /home/idan/media_build/v4l/cx24110.o CC [M] /home/idan/media_build/v4l/tda8083.o CC [M] /home/idan/media_build/v4l/l64781.o CC [M] /home/idan/media_build/v4l/dib3000mb.o CC [M] /home/idan/media_build/v4l/dib3000mc.o CC [M] /home/idan/media_build/v4l/dibx000_common.o CC [M] /home/idan/media_build/v4l/dib7000m.o CC [M] /home/idan/media_build/v4l/dib7000p.o CC [M] /home/idan/media_build/v4l/dib8000.o CC [M] /home/idan/media_build/v4l/dib9000.o CC [M] /home/idan/media_build/v4l/mt312.o CC [M] /home/idan/media_build/v4l/ves1820.o CC [M] /home/idan/media_build/v4l/ves1x93.o CC [M] /home/idan/media_build/v4l/tda1004x.o CC [M] /home/idan/media_build/v4l/sp887x.o CC [M] /home/idan/media_build/v4l/nxt6000.o CC [M] /home/idan/media_build/v4l/mt352.o CC [M] /home/idan/media_build/v4l/zl10036.o CC [M] /home/idan/media_build/v4l/zl10039.o CC [M] /home/idan/media_build/v4l/zl10353.o CC [M] /home/idan/media_build/v4l/cx22702.o LD [M] /home/idan/media_build/v4l/drxd.o CC [M] /home/idan/media_build/v4l/tda10021.o CC [M] /home/idan/media_build/v4l/tda10023.o CC [M] /home/idan/media_build/v4l/stv0297.o CC [M] /home/idan/media_build/v4l/nxt200x.o CC [M] /home/idan/media_build/v4l/or51211.o CC [M] /home/idan/media_build/v4l/or51132.o CC [M] /home/idan/media_build/v4l/bcm3510.o CC [M] /home/idan/media_build/v4l/s5h1420.o CC [M] /home/idan/media_build/v4l/lgdt330x.o CC [M] /home/idan/media_build/v4l/lgdt3305.o CC [M] /home/idan/media_build/v4l/lgdt3306a.o CC [M] /home/idan/media_build/v4l/lg2160.o CC [M] /home/idan/media_build/v4l/cx24123.o CC [M] /home/idan/media_build/v4l/lnbh25.o CC [M] /home/idan/media_build/v4l/lnbp21.o CC [M] /home/idan/media_build/v4l/lnbp22.o CC [M] /home/idan/media_build/v4l/isl6405.o CC [M] /home/idan/media_build/v4l/isl6421.o CC [M] /home/idan/media_build/v4l/tda10086.o CC [M] /home/idan/media_build/v4l/tda826x.o CC [M] /home/idan/media_build/v4l/tda8261.o CC [M] /home/idan/media_build/v4l/dib0070.o CC [M] /home/idan/media_build/v4l/dib0090.o CC [M] /home/idan/media_build/v4l/tua6100.o CC [M] /home/idan/media_build/v4l/s5h1409.o CC [M] /home/idan/media_build/v4l/itd1000.o CC [M] /home/idan/media_build/v4l/au8522_common.o CC [M] /home/idan/media_build/v4l/au8522_dig.o CC [M] /home/idan/media_build/v4l/au8522_decoder.o CC [M] /home/idan/media_build/v4l/tda10048.o CC [M] /home/idan/media_build/v4l/cx24113.o CC [M] /home/idan/media_build/v4l/s5h1411.o CC [M] /home/idan/media_build/v4l/lgs8gl5.o CC [M] /home/idan/media_build/v4l/tda665x.o CC [M] /home/idan/media_build/v4l/lgs8gxx.o CC [M] /home/idan/media_build/v4l/atbm8830.o CC [M] /home/idan/media_build/v4l/dvb_dummy_fe.o CC [M] /home/idan/media_build/v4l/af9013.o CC [M] /home/idan/media_build/v4l/cx24116.o CC [M] /home/idan/media_build/v4l/cx24117.o CC [M] /home/idan/media_build/v4l/cx24120.o CC [M] /home/idan/media_build/v4l/si21xx.o CC [M] /home/idan/media_build/v4l/stv0288.o CC [M] /home/idan/media_build/v4l/stb6000.o CC [M] /home/idan/media_build/v4l/s921.o CC [M] /home/idan/media_build/v4l/stv6110.o LD [M] /home/idan/media_build/v4l/stv0900.o CC [M] /home/idan/media_build/v4l/stv090x.o CC [M] /home/idan/media_build/v4l/stv6110x.o CC [M] /home/idan/media_build/v4l/mn88472.o CC [M] /home/idan/media_build/v4l/mn88473.o CC [M] /home/idan/media_build/v4l/isl6422.o CC [M] /home/idan/media_build/v4l/isl6423.o CC [M] /home/idan/media_build/v4l/ec100.o CC [M] /home/idan/media_build/v4l/hd29l2.o CC [M] /home/idan/media_build/v4l/ds3000.o CC [M] /home/idan/media_build/v4l/mb86a16.o LD [M] /home/idan/media_build/v4l/drx39xyj.o CC [M] /home/idan/media_build/v4l/mb86a20s.o CC [M] /home/idan/media_build/v4l/ix2505v.o CC [M] /home/idan/media_build/v4l/stv0367.o CC [M] /home/idan/media_build/v4l/cxd2841er.o LD [M] /home/idan/media_build/v4l/drxk.o CC [M] /home/idan/media_build/v4l/tda18271c2dd.o CC [M] /home/idan/media_build/v4l/si2165.o CC [M] /home/idan/media_build/v4l/a8293.o CC [M] /home/idan/media_build/v4l/sp2.o CC [M] /home/idan/media_build/v4l/tda10071.o CC [M] /home/idan/media_build/v4l/m88rs2000.o CC [M] /home/idan/media_build/v4l/af9033.o CC [M] /home/idan/media_build/v4l/as102_fe.o CC [M] /home/idan/media_build/v4l/tc90522.o CC [M] /home/idan/media_build/v4l/tas2101.o CC [M] /home/idan/media_build/v4l/avl6882.o CC [M] /home/idan/media_build/v4l/stv0910.o /home/idan/media_build/v4l/tas2101.c: In function 'tas2101_read_signal_strength': /home/idan/media_build/v4l/tas2101.c:187:34: warning: unused variable 'c' [-Wunused-variable] struct dtv_frontend_properties *c = &fe->dtv_property_cache; ^ /home/idan/media_build/v4l/tas2101.c: In function 'tas2101_attach': /home/idan/media_build/v4l/tas2101.c:626:1: warning: label 'err1' defined but not used [-Wunused-label] err1: ^ CC [M] /home/idan/media_build/v4l/mxl5xx.o /home/idan/media_build/v4l/mxl5xx.c: In function 'send_burst': /home/idan/media_build/v4l/mxl5xx.c:378:6: warning: unused variable 'i' [-Wunused-variable] int i = 0,ret = 0; ^ /home/idan/media_build/v4l/mxl5xx.c: In function 'config_ts': /home/idan/media_build/v4l/mxl5xx.c:1189:18: warning: unused variable 'mxl561_xpt_ts_valid' [-Wunused-variable] MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = { ^ /home/idan/media_build/v4l/mxl5xx.c:1185:18: warning: unused variable 'mxl561_xpt_ts_sync' [-Wunused-variable] MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = { ^ /home/idan/media_build/v4l/mxl5xx.c: In function 'load_fw': /home/idan/media_build/v4l/mxl5xx.c:1366:44: warning: passing argument 3 of 'firmware_download' discards 'const' qualifier from pointer target type stat = firmware_download(state, fw->size, fw->data); ^ /home/idan/media_build/v4l/mxl5xx.c:973:12: note: expected 'u8 *' but argument is of type 'const u8 * const' static int firmware_download(struct mxl *state, u32 mbinBufferSize, ^ /home/idan/media_build/v4l/mxl5xx.c:1354:6: warning: unused variable 'buf' [-Wunused-variable] u8 *buf; ^ /home/idan/media_build/v4l/mxl5xx.c:1352:21: warning: unused variable 'cfg' [-Wunused-variable] struct mxl5xx_cfg *cfg = state->base->cfg; ^ /home/idan/media_build/v4l/mxl5xx.c: In function 'probe': /home/idan/media_build/v4l/mxl5xx.c:1425:28: warning: unused variable 'mpegInterfaceCfg' [-Wunused-variable] MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg; ^ /home/idan/media_build/v4l/mxl5xx.c:1424:18: warning: unused variable 'j' [-Wunused-variable] int fw, status, j; ^ /home/idan/media_build/v4l/mxl5xx.c: At top level: /home/idan/media_build/v4l/mxl5xx.c:162:12: warning: 'write_register_block' defined but not used [-Wunused-function] static int write_register_block(struct mxl *state, u32 reg, u32 size, u8 *data) ^ /home/idan/media_build/v4l/mxl5xx.c:286:13: warning: 'extract_from_mnemonic' defined but not used [-Wunused-function] static void extract_from_mnemonic(u32 regAddr, u8 lsbPos, u8 width, ^ /home/idan/media_build/v4l/mxl5xx.c:333:12: warning: 'CfgDemodAbortTune' defined but not used [-Wunused-function] static int CfgDemodAbortTune(struct mxl *state) ^ /home/idan/media_build/v4l/mxl5xx.c:1126:12: warning: 'config_ts' defined but not used [-Wunused-function] static int config_ts(struct mxl *state, MXL_HYDRA_DEMOD_ID_E demodId, MXL_HYDRA_MPEGOUT_PARAM_T *mpegOutParamPtr) ^ /home/idan/media_build/v4l/mxl5xx.c:1314:12: warning: 'config_mux' defined but not used [-Wunused-function] static int config_mux(struct mxl *state) ^ CC [M] /home/idan/media_build/v4l/si2183.o /home/idan/media_build/v4l/si2183.c: In function 'si2183_set_dvbc': /home/idan/media_build/v4l/si2183.c:418:20: warning: unused variable 'cmd' [-Wunused-variable] struct si2183_cmd cmd; ^ /home/idan/media_build/v4l/si2183.c: In function 'si2183_set_mcns': /home/idan/media_build/v4l/si2183.c:472:20: warning: unused variable 'cmd' [-Wunused-variable] struct si2183_cmd cmd; ^ /home/idan/media_build/v4l/si2183.c: In function 'si2183_probe': /home/idan/media_build/v4l/si2183.c:1515:2: error: implicit declaration of function 'i2c_gate_ctrl' [-Werror=implicit-function-declaration] i2c_gate_ctrl(&dev->fe, 1); ^ /home/idan/media_build/v4l/si2183.c:1519:1: warning: label 'err_base_kfree' defined but not used [-Wunused-label] err_base_kfree: ^ /home/idan/media_build/v4l/si2183.c: At top level: /home/idan/media_build/v4l/si2183.c:207:12: warning: 'si2183_get_prop' defined but not used [-Wunused-function] static int si2183_get_prop(struct i2c_client *client, u16 prop, u16 *val) ^ CC [M] /home/idan/media_build/v4l/horus3a.o CC [M] /home/idan/media_build/v4l/ascot2e.o cc1: some warnings being treated as errors scripts/Makefile.build:313: recipe for target '/home/idan/media_build/v4l/si2183.o' failed make[3]: *** [/home/idan/media_build/v4l/si2183.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Makefile:1368: recipe for target '_module_/home/idan/media_build/v4l' failed make[2]: *** [_module_/home/idan/media_build/v4l] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-3.4.112-sun8i' Makefile:51: recipe for target 'default' failed make[1]: *** [default] Error 2 make[1]: Leaving directory '/home/idan/media_build/v4l' Makefile:26: recipe for target 'all' failed make: *** [all] Error 2 build failed at ./build line 512, <IN> line 3. root@orangepipc:/home/idan/media_build# exit exit Script done on Sat 22 Oct 2016 01:43:54 PM CEST Thank you. Link to comment Share on other sites More sharing options...
DontP4nic Posted April 2, 2017 Share Posted April 2, 2017 Hi, you can upgrade to the dev-kernel which fixes the building problems and then it compiles just fine. But after doing so I ran into the problem that i cant load the module root@orangepizero:~/media_build# modprobe --force dvb-usb-tbs5922se modprobe: ERROR: could not insert 'dvb_usb_tbs5922se': Exec format error root@orangepizero:~/media_build# dmesg [ 1329.207807] media: exports duplicate symbol __media_device_register (owned by kernel) recompiling didnt fix this on gcc4.9 and kernel root@orangepizero:~/media_build# uname -r 4.10.0-sun8i I dont know how that is possible since I compiled it on the system with this kernel and I deleted the older kernel so it couldnt have messed that up. Thank you for any help! Edit: All this was on an Orange Pi Zero! Link to comment Share on other sites More sharing options...
Robert Grela Posted April 15, 2017 Share Posted April 15, 2017 I have a same problem with Orange pi pc, somebody has any idea how resolve it? media: exports duplicate symbol __media_device_register (owned by kernel) im use Linux orangepipc 4.10.3-sun8i #1 SMP Fri Apr 14 15:34:19 CEST 2017 armv7l GNU/Linux TBS5520se dvb ---------------------- Its working! [ 10.372700] usb 4-1: Product: TBS 5521 [ 10.372809] usb 4-1: Manufacturer: TBS-Tech [ 10.378441] dvb-usb: found a 'TBS 5520se USB2.0' in cold state, will try to load a firmware [ 10.378498] dvb-usb: downloading firmware from file 'dvb-usb-id5520se.fw' [ 10.378526] tbs5520se: start downloading TBS5520se firmware [ 10.551756] dvb-usb: found a 'TBS 5520se USB2.0' in warm state. [ 10.555102] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 10.556024] dvbdev: DVB: registering new adapter (TBS 5520se USB2.0) [ 10.556152] usb 4-1: media controller created [ 10.801737] dvb-usb: MAC address: 00:22:ab:c0:44:c2 [ 10.812372] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered. [ 10.851991] i2c i2c-3: Added multiplexed i2c bus 4 [ 10.852061] si2183 3-0067: Silicon Labs Si2183 successfully attached [ 10.885805] si2157 4-0061: Silicon Labs Si2147/2148/2157/2158 successfully attached [ 10.931637] i2c i2c-4: av201x: Airoha Technology AV201x successfully attached [ 10.980863] usb 4-1: DVB: registering adapter 0 frontend 0 (TBS 5520se USB2.0)... [ 10.980999] dvbdev: dvb_create_media_entity: media entity 'TBS 5520se USB2.0' registered. [ 10.982512] usb 4-1: DVB: registering adapter 0 frontend 1 (Silicon Labs Si2183)... [ 10.982590] dvbdev: dvb_create_media_entity: media entity 'Silicon Labs Si2183' registered. [ 10.993512] dvb-usb: TBS 5520se USB2.0 successfully initialized and connected. Solution: Compile own image without media & sound Link to comment Share on other sites More sharing options...
dony71 Posted April 21, 2017 Share Posted April 21, 2017 I try to compile this too, but have this error Any idea? File not found: /lib/modules/3.4.113-sun8i/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4. Link to comment Share on other sites More sharing options...
saturn Posted May 29, 2017 Share Posted May 29, 2017 Hi, this is an old post but if It's still of interesst I wrote an Howto regarding compiling media_build: Link to comment Share on other sites More sharing options...
Recommended Posts