Hallo hakunamatata,
sollte es ein Treiber Problem sein.
Der Treiber von meiner Karte.
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
03:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
Anbei die gesamte Installation.
Ich weiß nicht weiter.
Ich hoffe das Du mir hierbei weiter Helfen kannst.
andreas@andreas-System-Product-Name:~$ git clone https://github.com/ljalves/media_build.git
Klone nach 'media_build' ...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 3482 (delta 24), reused 23 (delta 23), pack-reused 3453
Empfange Objekte: 100% (3482/3482), 688.92 KiB | 657.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (2474/2474), Fertig.
Prüfe Konnektivität ... Fertig.
andreas@andreas-System-Product-Name:~$ git clone --depth=1 https://github.com/ljalves/linux_media.git -b latest ./media
Klone nach './media' ...
remote: Enumerating objects: 60820, done.
remote: Counting objects: 100% (60820/60820), done.
remote: Compressing objects: 100% (57275/57275), done.
remote: Total 60820 (delta 5372), reused 17502 (delta 2644), pack-reused 0
Empfange Objekte: 100% (60820/60820), 159.98 MiB | 1.30 MiB/s, Fertig.
Löse Unterschiede auf: 100% (5372/5372), Fertig.
Prüfe Konnektivität ... Fertig.
Checke Dateien aus: 100% (57316/57316), Fertig.
andreas@andreas-System-Product-Name:~$ cd media_build
andreas@andreas-System-Product-Name:~/media_build$ make dir DIR=../media
make -C linux/ dir DIR="../../media"
make[1]: Verzeichnis „/home/andreas/media_build/linux“ wird betreten
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/uapi/linux/v4l2-common.h
sync file: include/uapi/linux/xilinx-v4l2-controls.h
sync file: include/uapi/linux/ivtv.h
sync file: include/uapi/linux/v4l2-controls.h
sync file: include/uapi/linux/v4l2-dv-timings.h
sync file: include/uapi/linux/videodev2.h
sync file: include/uapi/linux/cec.h
sync file: include/uapi/linux/uvcvideo.h
sync file: include/linux/dma-fence.h
sync file: include/uapi/linux/media-bus-format.h
sync file: include/linux/fixp-arith.h
sync file: include/linux/compiler-gcc.h
sync file: include/linux/kconfig.h
sync file: include/linux/pci_ids.h
sync file: include/uapi/linux/ivtvfb.h
sync file: sound/pci/bt87x.c
sync file: firmware/vicam/firmware.H16
sync file: firmware/av7110/Boot.S
sync file: firmware/ttusb-budget/dspbootcode.bin.ihex
sync file: include/linux/ti_wilink_st.h
sync file: firmware/av7110/bootcode.bin.ihex
sync file: include/linux/dma/xilinx_dma.h
sync file: include/linux/via-core.h
sync file: include/sound/aci.h
sync file: firmware/cpia2/stv0672_vp4.bin.ihex
sync file: include/trace/events/vb2.h
sync file: include/linux/mmc/sdio_ids.h
sync file: include/uapi/linux/media.h
sync file: include/uapi/linux/usb/video.h
sync file: include/uapi/linux/meye.h
sync file: include/trace/events/v4l2.h
sync file: include/linux/of_graph.h
sync file: include/misc/altera.h
sync file: include/uapi/linux/cec-funcs.h
sync file: include/uapi/linux/v4l2-mediabus.h
sync file: include/linux/hdmi.h
sync file: include/linux/dma-buf.h
sync file: include/uapi/linux/smiapp.h
sync file: include/uapi/linux/lirc.h
sync file: include/uapi/linux/v4l2-subdev.h
sync file: firmware/ihex2fw.c
sync dir: include/media/
sync dir: drivers/staging/media/
sync dir: drivers/media/
sync dir: include/uapi/linux/dvb/
sync dir: drivers/misc/altera-stapl/
sync dir: include/dt-bindings/media/
sync dir: include/linux/platform_data/media/
make[1]: Verzeichnis „/home/andreas/media_build/linux“ wird verlassen
andreas@andreas-System-Product-Name:~/media_build$ make distclean
make -C /home/andreas/media_build/v4l distclean
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
No version yet, using 4.4.0-143-generic
rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
config-compat.h Module.symvers Module.markers modules.order \
*.unsigned .*.ko.unsigned.cmd
make -C firmware clean
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
rm -f .version .*.o.flags .*.o.d *.mod.gcno Makefile.media \
Kconfig Kconfig.kern .config .config.cmd .myconfig \
.kconfig.dep
rm -rf .tmp_versions .tmp*.ver .tmp*.o .*.gcno
rm -f scripts/lxdialog scripts/kconfig
make -C firmware distclean
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
for i in av7110/ cpia2/ ttusb-budget/ vicam/; do if [ -d $i ]; then rm -rf $i; fi; done
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
andreas@andreas-System-Product-Name:~/media_build$ make
make -C /home/andreas/media_build/v4l
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
No version yet, using 4.4.0-143-generic
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 4.4.0-143-generic
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.9_mm_address.patch
patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.patch
patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
patch -s -f -N -p1 -i ../backports/v4.7_pci_alloc_irq_vectors.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
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/andreas/media_build/linux'
Preparing to compile for kernel version 4.4.0
***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.
DVB_CXD2820R: Requires at least kernel 4.6.0
Created default (all yes) .config file
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.4.0-143-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/andreas/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/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.4.0-143-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Patches for 4.4.0-143-generic already applied.
make[2]: Leaving directory '/home/andreas/media_build/linux'
make -C /lib/modules/4.4.0-143-generic/build SUBDIRS=/home/andreas/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-143-generic'
CC [M] /home/andreas/media_build/v4l/cec-edid.o
CC [M] /home/andreas/media_build/v4l/cec-core.o
CC [M] /home/andreas/media_build/v4l/cec-adap.o
CC [M] /home/andreas/media_build/v4l/cec-api.o
LD [M] /home/andreas/media_build/v4l/cec.o
CC [M] /home/andreas/media_build/v4l/msp3400-driver.o
CC [M] /home/andreas/media_build/v4l/msp3400-kthreads.o
LD [M] /home/andreas/media_build/v4l/msp3400.o
CC [M] /home/andreas/media_build/v4l/smiapp-core.o
CC [M] /home/andreas/media_build/v4l/smiapp-regs.o
CC [M] /home/andreas/media_build/v4l/smiapp-quirk.o
CC [M] /home/andreas/media_build/v4l/smiapp-limits.o
LD [M] /home/andreas/media_build/v4l/smiapp.o
CC [M] /home/andreas/media_build/v4l/cx25840-core.o
CC [M] /home/andreas/media_build/v4l/cx25840-audio.o
CC [M] /home/andreas/media_build/v4l/cx25840-firmware.o
CC [M] /home/andreas/media_build/v4l/cx25840-vbi.o
CC [M] /home/andreas/media_build/v4l/cx25840-ir.o
LD [M] /home/andreas/media_build/v4l/cx25840.o
CC [M] /home/andreas/media_build/v4l/m5mols_core.o
CC [M] /home/andreas/media_build/v4l/m5mols_controls.o
CC [M] /home/andreas/media_build/v4l/m5mols_capture.o
LD [M] /home/andreas/media_build/v4l/m5mols.o
CC [M] /home/andreas/media_build/v4l/imx074.o
CC [M] /home/andreas/media_build/v4l/mt9m001.o
CC [M] /home/andreas/media_build/v4l/mt9t031.o
CC [M] /home/andreas/media_build/v4l/mt9t112.o
CC [M] /home/andreas/media_build/v4l/mt9v022.o
CC [M] /home/andreas/media_build/v4l/ov2640.o
CC [M] /home/andreas/media_build/v4l/ov5642.o
CC [M] /home/andreas/media_build/v4l/ov6650.o
CC [M] /home/andreas/media_build/v4l/ov772x.o
CC [M] /home/andreas/media_build/v4l/ov9640.o
CC [M] /home/andreas/media_build/v4l/ov9740.o
CC [M] /home/andreas/media_build/v4l/rj54n1cb0c.o
CC [M] /home/andreas/media_build/v4l/tw9910.o
CC [M] /home/andreas/media_build/v4l/aptina-pll.o
CC [M] /home/andreas/media_build/v4l/tvaudio.o
CC [M] /home/andreas/media_build/v4l/tda7432.o
CC [M] /home/andreas/media_build/v4l/saa6588.o
CC [M] /home/andreas/media_build/v4l/tda9840.o
CC [M] /home/andreas/media_build/v4l/tea6415c.o
CC [M] /home/andreas/media_build/v4l/tea6420.o
CC [M] /home/andreas/media_build/v4l/saa7110.o
CC [M] /home/andreas/media_build/v4l/saa7115.o
CC [M] /home/andreas/media_build/v4l/saa717x.o
CC [M] /home/andreas/media_build/v4l/saa7127.o
CC [M] /home/andreas/media_build/v4l/saa7185.o
CC [M] /home/andreas/media_build/v4l/saa6752hs.o
CC [M] /home/andreas/media_build/v4l/ad5820.o
CC [M] /home/andreas/media_build/v4l/adv7170.o
CC [M] /home/andreas/media_build/v4l/adv7175.o
CC [M] /home/andreas/media_build/v4l/adv7180.o
CC [M] /home/andreas/media_build/v4l/adv7183.o
CC [M] /home/andreas/media_build/v4l/adv7343.o
CC [M] /home/andreas/media_build/v4l/adv7393.o
CC [M] /home/andreas/media_build/v4l/adv7604.o
CC [M] /home/andreas/media_build/v4l/adv7842.o
CC [M] /home/andreas/media_build/v4l/ad9389b.o
CC [M] /home/andreas/media_build/v4l/adv7511.o
CC [M] /home/andreas/media_build/v4l/vpx3220.o
CC [M] /home/andreas/media_build/v4l/vs6624.o
CC [M] /home/andreas/media_build/v4l/bt819.o
CC [M] /home/andreas/media_build/v4l/bt856.o
CC [M] /home/andreas/media_build/v4l/bt866.o
CC [M] /home/andreas/media_build/v4l/ks0127.o
CC [M] /home/andreas/media_build/v4l/ths7303.o
CC [M] /home/andreas/media_build/v4l/ths8200.o
CC [M] /home/andreas/media_build/v4l/tvp5150.o
CC [M] /home/andreas/media_build/v4l/tvp514x.o
CC [M] /home/andreas/media_build/v4l/tvp7002.o
CC [M] /home/andreas/media_build/v4l/tw2804.o
CC [M] /home/andreas/media_build/v4l/tw9903.o
CC [M] /home/andreas/media_build/v4l/tw9906.o
CC [M] /home/andreas/media_build/v4l/cs3308.o
CC [M] /home/andreas/media_build/v4l/cs5345.o
CC [M] /home/andreas/media_build/v4l/cs53l32a.o
CC [M] /home/andreas/media_build/v4l/m52790.o
CC [M] /home/andreas/media_build/v4l/tlv320aic23b.o
CC [M] /home/andreas/media_build/v4l/uda1342.o
CC [M] /home/andreas/media_build/v4l/wm8775.o
CC [M] /home/andreas/media_build/v4l/wm8739.o
CC [M] /home/andreas/media_build/v4l/vp27smpx.o
CC [M] /home/andreas/media_build/v4l/sony-btf-mpx.o
CC [M] /home/andreas/media_build/v4l/upd64031a.o
CC [M] /home/andreas/media_build/v4l/upd64083.o
CC [M] /home/andreas/media_build/v4l/ov7640.o
CC [M] /home/andreas/media_build/v4l/ov7670.o
CC [M] /home/andreas/media_build/v4l/ov9650.o
CC [M] /home/andreas/media_build/v4l/mt9m032.o
CC [M] /home/andreas/media_build/v4l/mt9m111.o
CC [M] /home/andreas/media_build/v4l/mt9p031.o
CC [M] /home/andreas/media_build/v4l/mt9t001.o
CC [M] /home/andreas/media_build/v4l/mt9v011.o
CC [M] /home/andreas/media_build/v4l/mt9v032.o
CC [M] /home/andreas/media_build/v4l/sr030pc30.o
CC [M] /home/andreas/media_build/v4l/noon010pc30.o
CC [M] /home/andreas/media_build/v4l/s5k6aa.o
CC [M] /home/andreas/media_build/v4l/s5k6a3.o
CC [M] /home/andreas/media_build/v4l/s5k4ecgx.o
CC [M] /home/andreas/media_build/v4l/s5k5baf.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-core.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-spi.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-ctrls.o
LD [M] /home/andreas/media_build/v4l/s5c73m3.o
CC [M] /home/andreas/media_build/v4l/adp1653.o
CC [M] /home/andreas/media_build/v4l/as3645a.o
CC [M] /home/andreas/media_build/v4l/lm3560.o
CC [M] /home/andreas/media_build/v4l/lm3646.o
CC [M] /home/andreas/media_build/v4l/smiapp-pll.o
CC [M] /home/andreas/media_build/v4l/ak881x.o
CC [M] /home/andreas/media_build/v4l/ir-kbd-i2c.o
CC [M] /home/andreas/media_build/v4l/ml86v7667.o
CC [M] /home/andreas/media_build/v4l/ov2659.o
CC [M] /home/andreas/media_build/v4l/tc358743.o
CC [M] /home/andreas/media_build/v4l/tuner-xc2028.o
CC [M] /home/andreas/media_build/v4l/tuner-simple.o
CC [M] /home/andreas/media_build/v4l/tuner-types.o
CC [M] /home/andreas/media_build/v4l/mt20xx.o
CC [M] /home/andreas/media_build/v4l/tda8290.o
CC [M] /home/andreas/media_build/v4l/tea5767.o
CC [M] /home/andreas/media_build/v4l/tea5761.o
CC [M] /home/andreas/media_build/v4l/tda9887.o
CC [M] /home/andreas/media_build/v4l/tda827x.o
CC [M] /home/andreas/media_build/v4l/tda18271-maps.o
CC [M] /home/andreas/media_build/v4l/tda18271-common.o
CC [M] /home/andreas/media_build/v4l/tda18271-fe.o
LD [M] /home/andreas/media_build/v4l/tda18271.o
CC [M] /home/andreas/media_build/v4l/tda18273.o
CC [M] /home/andreas/media_build/v4l/xc5000.o
CC [M] /home/andreas/media_build/v4l/xc4000.o
CC [M] /home/andreas/media_build/v4l/msi001.o
CC [M] /home/andreas/media_build/v4l/mt2060.o
CC [M] /home/andreas/media_build/v4l/mt2063.o
CC [M] /home/andreas/media_build/v4l/mt2266.o
CC [M] /home/andreas/media_build/v4l/qt1010.o
CC [M] /home/andreas/media_build/v4l/mt2131.o
CC [M] /home/andreas/media_build/v4l/mxl5005s.o
CC [M] /home/andreas/media_build/v4l/mxl5007t.o
CC [M] /home/andreas/media_build/v4l/mc44s803.o
CC [M] /home/andreas/media_build/v4l/max2165.o
CC [M] /home/andreas/media_build/v4l/tda18218.o
CC [M] /home/andreas/media_build/v4l/tda18212.o
CC [M] /home/andreas/media_build/v4l/e4000.o
CC [M] /home/andreas/media_build/v4l/fc2580.o
CC [M] /home/andreas/media_build/v4l/tua9001.o
CC [M] /home/andreas/media_build/v4l/si2157.o
CC [M] /home/andreas/media_build/v4l/fc0011.o
CC [M] /home/andreas/media_build/v4l/fc0012.o
CC [M] /home/andreas/media_build/v4l/fc0013.o
CC [M] /home/andreas/media_build/v4l/it913x.o
CC [M] /home/andreas/media_build/v4l/r820t.o
CC [M] /home/andreas/media_build/v4l/mxl301rf.o
CC [M] /home/andreas/media_build/v4l/qm1d1c0042.o
CC [M] /home/andreas/media_build/v4l/m88rs6000t.o
CC [M] /home/andreas/media_build/v4l/av201x.o
CC [M] /home/andreas/media_build/v4l/stv6120.o
/home/andreas/media_build/v4l/stv6120.c: In function 'init_regs':
/home/andreas/media_build/v4l/stv6120.c:195:6: warning: unused variable 'bbmode' [-Wunused-variable]
u32 bbmode = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:194:6: warning: unused variable 'agcset' [-Wunused-variable]
u32 agcset = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:193:6: warning: unused variable 'agcref' [-Wunused-variable]
u32 agcref = 2;
^
/home/andreas/media_build/v4l/stv6120.c:192:6: warning: unused variable 'agcmode' [-Wunused-variable]
u32 agcmode = 0;
^
/home/andreas/media_build/v4l/stv6120.c:191:6: warning: unused variable 'clkdiv' [-Wunused-variable]
u32 clkdiv = 0;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'set_lof':
/home/andreas/media_build/v4l/stv6120.c:324:6: warning: unused variable 'freq' [-Wunused-variable]
u32 freq = Frequency;
^
/home/andreas/media_build/v4l/stv6120.c:322:10: warning: unused variable 'tmp' [-Wunused-variable]
u8 Icp, tmp;
^
/home/andreas/media_build/v4l/stv6120.c:321:13: warning: unused variable 'psel' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c:321:6: warning: unused variable 'p' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'stv6120_attach':
/home/andreas/media_build/v4l/stv6120.c:547:6: warning: unused variable 'stat' [-Wunused-variable]
int stat = 0;
^
/home/andreas/media_build/v4l/stv6120.c: At top level:
/home/andreas/media_build/v4l/stv6120.c:145:12: warning: 'read_regs' defined but not used [-Wunused-function]
static int read_regs(struct stv *state, u8 reg, u8 *val, int len)
^
/home/andreas/media_build/v4l/stv6120.c:445:12: warning: 'get_frequency' defined but not used [-Wunused-function]
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:451:12: warning: 'AGC_Gain' defined but not used [-Wunused-variable]
static u32 AGC_Gain[] = {
^
/home/andreas/media_build/v4l/stv6120.c:484:12: warning: 'get_rf_strength' defined but not used [-Wunused-function]
static int get_rf_strength(struct dvb_frontend *fe, u16 *st)
^
/home/andreas/media_build/v4l/stv6120.c:502:12: warning: 'get_if' defined but not used [-Wunused-function]
static int get_if(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:508:12: warning: 'get_bandwidth' defined but not used [-Wunused-function]
static int get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
^
CC [M] /home/andreas/media_build/v4l/r848.o
/home/andreas/media_build/v4l/r848.c: In function 'R848_SysFreq_Sel':
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M' not handled in switch [-Wswitch]
switch(R848_Standard) {
^
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6000' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_4500' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_S' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_FM' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_STD_SIZE' not handled in switch [-Wswitch]
CC [M] /home/andreas/media_build/v4l/dvb-pll.o
CC [M] /home/andreas/media_build/v4l/stv0299.o
CC [M] /home/andreas/media_build/v4l/stb0899_drv.o
CC [M] /home/andreas/media_build/v4l/stb0899_algo.o
LD [M] /home/andreas/media_build/v4l/stb0899.o
CC [M] /home/andreas/media_build/v4l/stb6100.o
CC [M] /home/andreas/media_build/v4l/sp8870.o
CC [M] /home/andreas/media_build/v4l/cx22700.o
CC [M] /home/andreas/media_build/v4l/s5h1432.o
CC [M] /home/andreas/media_build/v4l/cx24110.o
CC [M] /home/andreas/media_build/v4l/tda8083.o
CC [M] /home/andreas/media_build/v4l/l64781.o
CC [M] /home/andreas/media_build/v4l/dib3000mb.o
CC [M] /home/andreas/media_build/v4l/dib3000mc.o
CC [M] /home/andreas/media_build/v4l/dibx000_common.o
CC [M] /home/andreas/media_build/v4l/dib7000m.o
CC [M] /home/andreas/media_build/v4l/dib7000p.o
CC [M] /home/andreas/media_build/v4l/dib8000.o
CC [M] /home/andreas/media_build/v4l/dib9000.o
CC [M] /home/andreas/media_build/v4l/mt312.o
CC [M] /home/andreas/media_build/v4l/ves1820.o
CC [M] /home/andreas/media_build/v4l/ves1x93.o
CC [M] /home/andreas/media_build/v4l/tda1004x.o
CC [M] /home/andreas/media_build/v4l/sp887x.o
CC [M] /home/andreas/media_build/v4l/nxt6000.o
CC [M] /home/andreas/media_build/v4l/mt352.o
CC [M] /home/andreas/media_build/v4l/zl10036.o
CC [M] /home/andreas/media_build/v4l/zl10039.o
CC [M] /home/andreas/media_build/v4l/zl10353.o
CC [M] /home/andreas/media_build/v4l/cx22702.o
CC [M] /home/andreas/media_build/v4l/drxd_firm.o
CC [M] /home/andreas/media_build/v4l/drxd_hard.o
LD [M] /home/andreas/media_build/v4l/drxd.o
CC [M] /home/andreas/media_build/v4l/tda10021.o
CC [M] /home/andreas/media_build/v4l/tda10023.o
CC [M] /home/andreas/media_build/v4l/stv0297.o
CC [M] /home/andreas/media_build/v4l/nxt200x.o
CC [M] /home/andreas/media_build/v4l/or51211.o
CC [M] /home/andreas/media_build/v4l/or51132.o
CC [M] /home/andreas/media_build/v4l/bcm3510.o
CC [M] /home/andreas/media_build/v4l/s5h1420.o
CC [M] /home/andreas/media_build/v4l/lgdt330x.o
CC [M] /home/andreas/media_build/v4l/lgdt3305.o
CC [M] /home/andreas/media_build/v4l/lgdt3306a.o
CC [M] /home/andreas/media_build/v4l/lg2160.o
CC [M] /home/andreas/media_build/v4l/cx24123.o
CC [M] /home/andreas/media_build/v4l/lnbh25.o
CC [M] /home/andreas/media_build/v4l/lnbp21.o
CC [M] /home/andreas/media_build/v4l/lnbp22.o
CC [M] /home/andreas/media_build/v4l/isl6405.o
CC [M] /home/andreas/media_build/v4l/isl6421.o
CC [M] /home/andreas/media_build/v4l/tda10086.o
CC [M] /home/andreas/media_build/v4l/tda826x.o
CC [M] /home/andreas/media_build/v4l/tda8261.o
CC [M] /home/andreas/media_build/v4l/dib0070.o
CC [M] /home/andreas/media_build/v4l/dib0090.o
CC [M] /home/andreas/media_build/v4l/tua6100.o
CC [M] /home/andreas/media_build/v4l/s5h1409.o
CC [M] /home/andreas/media_build/v4l/itd1000.o
CC [M] /home/andreas/media_build/v4l/au8522_common.o
CC [M] /home/andreas/media_build/v4l/au8522_dig.o
CC [M] /home/andreas/media_build/v4l/au8522_decoder.o
CC [M] /home/andreas/media_build/v4l/tda10048.o
CC [M] /home/andreas/media_build/v4l/cx24113.o
CC [M] /home/andreas/media_build/v4l/s5h1411.o
CC [M] /home/andreas/media_build/v4l/lgs8gl5.o
CC [M] /home/andreas/media_build/v4l/tda665x.o
CC [M] /home/andreas/media_build/v4l/lgs8gxx.o
CC [M] /home/andreas/media_build/v4l/atbm8830.o
CC [M] /home/andreas/media_build/v4l/dvb_dummy_fe.o
CC [M] /home/andreas/media_build/v4l/af9013.o
CC [M] /home/andreas/media_build/v4l/cx24116.o
CC [M] /home/andreas/media_build/v4l/cx24117.o
CC [M] /home/andreas/media_build/v4l/cx24120.o
CC [M] /home/andreas/media_build/v4l/si21xx.o
CC [M] /home/andreas/media_build/v4l/si2168.o
CC [M] /home/andreas/media_build/v4l/stv0288.o
CC [M] /home/andreas/media_build/v4l/stb6000.o
CC [M] /home/andreas/media_build/v4l/s921.o
CC [M] /home/andreas/media_build/v4l/stv6110.o
CC [M] /home/andreas/media_build/v4l/stv0900_core.o
CC [M] /home/andreas/media_build/v4l/stv0900_sw.o
LD [M] /home/andreas/media_build/v4l/stv0900.o
CC [M] /home/andreas/media_build/v4l/stv090x.o
CC [M] /home/andreas/media_build/v4l/stv6110x.o
CC [M] /home/andreas/media_build/v4l/m88ds3103.o
CC [M] /home/andreas/media_build/v4l/mn88472.o
CC [M] /home/andreas/media_build/v4l/mn88473.o
CC [M] /home/andreas/media_build/v4l/isl6422.o
CC [M] /home/andreas/media_build/v4l/isl6423.o
CC [M] /home/andreas/media_build/v4l/ec100.o
CC [M] /home/andreas/media_build/v4l/hd29l2.o
CC [M] /home/andreas/media_build/v4l/ds3000.o
CC [M] /home/andreas/media_build/v4l/ts2020.o
CC [M] /home/andreas/media_build/v4l/mb86a16.o
CC [M] /home/andreas/media_build/v4l/drxj.o
LD [M] /home/andreas/media_build/v4l/drx39xyj.o
CC [M] /home/andreas/media_build/v4l/mb86a20s.o
CC [M] /home/andreas/media_build/v4l/ix2505v.o
CC [M] /home/andreas/media_build/v4l/stv0367.o
CC [M] /home/andreas/media_build/v4l/cxd2841er.o
CC [M] /home/andreas/media_build/v4l/drxk_hard.o
LD [M] /home/andreas/media_build/v4l/drxk.o
CC [M] /home/andreas/media_build/v4l/tda18271c2dd.o
CC [M] /home/andreas/media_build/v4l/si2165.o
CC [M] /home/andreas/media_build/v4l/a8293.o
CC [M] /home/andreas/media_build/v4l/sp2.o
CC [M] /home/andreas/media_build/v4l/tda10071.o
CC [M] /home/andreas/media_build/v4l/rtl2830.o
CC [M] /home/andreas/media_build/v4l/rtl2832.o
CC [M] /home/andreas/media_build/v4l/rtl2832_sdr.o
CC [M] /home/andreas/media_build/v4l/m88rs2000.o
CC [M] /home/andreas/media_build/v4l/af9033.o
CC [M] /home/andreas/media_build/v4l/as102_fe.o
CC [M] /home/andreas/media_build/v4l/gp8psk-fe.o
CC [M] /home/andreas/media_build/v4l/tc90522.o
CC [M] /home/andreas/media_build/v4l/horus3a.o
CC [M] /home/andreas/media_build/v4l/ascot2e.o
CC [M] /home/andreas/media_build/v4l/helene.o
CC [M] /home/andreas/media_build/v4l/tas2101.o
CC [M] /home/andreas/media_build/v4l/mxl5xx.o
/home/andreas/media_build/v4l/mxl5xx.c: In function 'config_ts':
/home/andreas/media_build/v4l/mxl5xx.c:992:18: warning: unused variable 'mxl561_xpt_ts_valid' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c:988:18: warning: unused variable 'mxl561_xpt_ts_sync' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'load_fw':
/home/andreas/media_build/v4l/mxl5xx.c:1169:44: warning: passing argument 3 of 'firmware_download' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
stat = firmware_download(state, fw->size, fw->data);
^
/home/andreas/media_build/v4l/mxl5xx.c:776:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * const {aka const unsigned char * const}'
static int firmware_download(struct mxl *state, u32 mbinBufferSize,
^
/home/andreas/media_build/v4l/mxl5xx.c:1157:6: warning: unused variable 'buf' [-Wunused-variable]
u8 *buf;
^
/home/andreas/media_build/v4l/mxl5xx.c:1155:21: warning: unused variable 'cfg' [-Wunused-variable]
struct mxl5xx_cfg *cfg = state->base->cfg;
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'probe':
/home/andreas/media_build/v4l/mxl5xx.c:1226:28: warning: unused variable 'mpegInterfaceCfg' [-Wunused-variable]
MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg;
^
/home/andreas/media_build/v4l/mxl5xx.c:1225:18: warning: unused variable 'j' [-Wunused-variable]
int fw, status, j;
^
/home/andreas/media_build/v4l/mxl5xx.c: At top level:
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:231:12: warning: 'read_register_block' defined but not used [-Wunused-function]
static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
^
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:929: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
^
/home/andreas/media_build/v4l/mxl5xx.c:1117:12: warning: 'config_mux' defined but not used [-Wunused-function]
static int config_mux(struct mxl *state)
^
CC [M] /home/andreas/media_build/v4l/si2183.o
CC [M] /home/andreas/media_build/v4l/stv0910.o
CC [M] /home/andreas/media_build/v4l/avl6882.o
CC [M] /home/andreas/media_build/v4l/media-device.o
CC [M] /home/andreas/media_build/v4l/media-devnode.o
CC [M] /home/andreas/media_build/v4l/media-entity.o
LD [M] /home/andreas/media_build/v4l/media.o
CC [M] /home/andreas/media_build/v4l/v4l2-dev.o
CC [M] /home/andreas/media_build/v4l/v4l2-ioctl.o
CC [M] /home/andreas/media_build/v4l/v4l2-device.o
CC [M] /home/andreas/media_build/v4l/v4l2-fh.o
CC [M] /home/andreas/media_build/v4l/v4l2-event.o
CC [M] /home/andreas/media_build/v4l/v4l2-ctrls.o
CC [M] /home/andreas/media_build/v4l/v4l2-subdev.o
CC [M] /home/andreas/media_build/v4l/v4l2-clk.o
CC [M] /home/andreas/media_build/v4l/v4l2-async.o
CC [M] /home/andreas/media_build/v4l/v4l2-compat-ioctl32.o
CC [M] /home/andreas/media_build/v4l/vb2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-mc.o
LD [M] /home/andreas/media_build/v4l/videodev.o
CC [M] /home/andreas/media_build/v4l/v4l2-common.o
CC [M] /home/andreas/media_build/v4l/v4l2-dv-timings.o
CC [M] /home/andreas/media_build/v4l/tuner-core.o
LD [M] /home/andreas/media_build/v4l/tuner.o
CC [M] /home/andreas/media_build/v4l/v4l2-mem2mem.o
CC [M] /home/andreas/media_build/v4l/v4l2-flash-led-class.o
CC [M] /home/andreas/media_build/v4l/videobuf-core.o
CC [M] /home/andreas/media_build/v4l/videobuf-dma-sg.o
/home/andreas/media_build/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_init_user_locked':
/home/andreas/media_build/v4l/videobuf-dma-sg.c:186:21: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
rw == READ, 1, /* force */
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct page **' but argument is of type 'int'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:187:9: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types]
dma->pages, NULL);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:184:8: error: too many arguments to function 'get_user_pages'
err = get_user_pages(current, current->mm,
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
scripts/Makefile.build:291: die Regel für Ziel „/home/andreas/media_build/v4l/videobuf-dma-sg.o“ scheiterte
make[3]: *** [/home/andreas/media_build/v4l/videobuf-dma-sg.o] Fehler 1
Makefile:1454: recipe for target '_module_/home/andreas/media_build/v4l' failed
make[2]: *** [_module_/home/andreas/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-143-generic'
Makefile:51: die Regel für Ziel „default“ scheiterte
make[1]: *** [default] Fehler 2
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
Makefile:26: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
andreas@andreas-System-Product-Name:~/media_build$ cat v4l/videobuf-dma-sg.c | grep -i "get_user_pages(" -A3
err = get_user_pages(current, current->mm,
data & PAGE_MASK, dma->nr_pages,
rw == READ, 1, /* force */
dma->pages, NULL);
andreas@andreas-System-Product-Name:~/media_build$ cd linux
andreas@andreas-System-Product-Name:~/media_build/linux$ ./patches_for_kernel.pl 4.4
api_version.patch pr_fmt.patch debug.patch drx39xxj.patch v4.9_mm_address.patch v4.9_dvb_net_max_mtu.patch v4.9_ktime_cleanups.patch v4.8_user_pages_flag.patch v4.7_dma_attrs.patch v4.7_pci_alloc_irq_vectors.patch v4.6_i2c_mux.patch v4.5_gpiochip_data_pointer.patch v4.5_get_user_pages.patch v4.5_uvc_super_plus.patch v4.4_gpio_chip_parent.patch
andreas@andreas-System-Product-Name:~/media_build/linux$ cd ~/media_build
andreas@andreas-System-Product-Name:~/media_build$ make dir DIR=../media
make -C linux/ dir DIR="../../media"
make[1]: Verzeichnis „/home/andreas/media_build/linux“ wird betreten
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: sound/pci/bt87x.c
sync file: include/uapi/linux/lirc.h
sync file: include/uapi/linux/v4l2-controls.h
sync file: include/uapi/linux/uvcvideo.h
sync file: include/uapi/linux/usb/video.h
sync file: include/uapi/linux/media-bus-format.h
sync file: include/sound/aci.h
sync file: include/linux/fixp-arith.h
sync file: include/misc/altera.h
sync file: include/uapi/linux/meye.h
sync file: include/linux/ti_wilink_st.h
sync file: include/linux/dma-fence.h
sync file: firmware/av7110/bootcode.bin.ihex
sync file: include/linux/kconfig.h
sync file: include/uapi/linux/v4l2-mediabus.h
sync file: include/linux/of_graph.h
sync file: include/uapi/linux/v4l2-dv-timings.h
sync file: include/uapi/linux/v4l2-subdev.h
sync file: include/uapi/linux/media.h
sync file: firmware/cpia2/stv0672_vp4.bin.ihex
sync file: include/linux/dma-buf.h
sync file: include/uapi/linux/xilinx-v4l2-controls.h
sync file: include/trace/events/v4l2.h
sync file: include/uapi/linux/v4l2-common.h
sync file: include/linux/mmc/sdio_ids.h
sync file: include/linux/via-core.h
sync file: include/linux/pci_ids.h
sync file: include/linux/compiler-gcc.h
sync file: include/linux/dma/xilinx_dma.h
sync file: firmware/ihex2fw.c
sync file: include/trace/events/vb2.h
sync file: include/uapi/linux/smiapp.h
sync file: include/uapi/linux/cec.h
sync file: include/uapi/linux/videodev2.h
sync file: include/uapi/linux/ivtv.h
sync file: firmware/vicam/firmware.H16
sync file: include/uapi/linux/cec-funcs.h
sync file: firmware/av7110/Boot.S
sync file: firmware/ttusb-budget/dspbootcode.bin.ihex
sync file: include/uapi/linux/ivtvfb.h
sync file: include/linux/hdmi.h
sync dir: drivers/media/
sync dir: drivers/staging/media/
sync dir: include/media/
sync dir: include/dt-bindings/media/
sync dir: include/linux/platform_data/media/
sync dir: include/uapi/linux/dvb/
sync dir: drivers/misc/altera-stapl/
make[1]: Verzeichnis „/home/andreas/media_build/linux“ wird verlassen
andreas@andreas-System-Product-Name:~/media_build$ make distclean
make -C /home/andreas/media_build/v4l distclean
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
config-compat.h Module.symvers Module.markers modules.order \
*.unsigned .*.ko.unsigned.cmd
make -C firmware clean
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
rm -f .version .*.o.flags .*.o.d *.mod.gcno Makefile.media \
Kconfig Kconfig.kern .config .config.cmd .myconfig \
.kconfig.dep
rm -rf .tmp_versions .tmp*.ver .tmp*.o .*.gcno
rm -f scripts/lxdialog scripts/kconfig
make -C firmware distclean
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
for i in av7110/ cpia2/ ttusb-budget/ vicam/; do if [ -d $i ]; then rm -rf $i; fi; done
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
andreas@andreas-System-Product-Name:~/media_build$ make
make -C /home/andreas/media_build/v4l
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
No version yet, using 4.4.0-143-generic
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 4.4.0-143-generic
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.9_mm_address.patch
patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.patch
patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
patch -s -f -N -p1 -i ../backports/v4.7_pci_alloc_irq_vectors.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
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/andreas/media_build/linux'
Preparing to compile for kernel version 4.4.0
***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.
DVB_CXD2820R: Requires at least kernel 4.6.0
Created default (all yes) .config file
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.4.0-143-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/andreas/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/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.4.0-143-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Patches for 4.4.0-143-generic already applied.
make[2]: Leaving directory '/home/andreas/media_build/linux'
make -C /lib/modules/4.4.0-143-generic/build SUBDIRS=/home/andreas/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-143-generic'
CC [M] /home/andreas/media_build/v4l/cec-edid.o
CC [M] /home/andreas/media_build/v4l/cec-core.o
^Cscripts/Makefile.build:285: die Regel für Ziel „/home/andreas/media_build/v4l/cec-core.o“ scheiterte
make[3]: *** [/home/andreas/media_build/v4l/cec-core.o] Unterbrechung
Makefile:1454: recipe for target '_module_/home/andreas/media_build/v4l' failed
make[2]: *** [_module_/home/andreas/media_build/v4l] Interrupt
Makefile:51: die Regel für Ziel „default“ scheiterte
make[1]: *** [default] Unterbrechung
Makefile:26: die Regel für Ziel „all“ scheiterte
make: *** [all] Unterbrechung
andreas@andreas-System-Product-Name:~/media_build$ sed -i 's/# CONFIG_DVB_SAA716X_BUDGET is not set/CONFIG_DVB_SAA716X_BUDGET=m/' ./v4l/.config
andreas@andreas-System-Product-Name:~/media_build$ MAKE
MAKE: Befehl nicht gefunden.
andreas@andreas-System-Product-Name:~/media_build$ make
make -C /home/andreas/media_build/v4l
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.4.0-143-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.4.0-143-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Patches for 4.4.0-143-generic already applied.
make[2]: Leaving directory '/home/andreas/media_build/linux'
make -C /lib/modules/4.4.0-143-generic/build SUBDIRS=/home/andreas/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-143-generic'
CC [M] /home/andreas/media_build/v4l/cec-edid.o
CC [M] /home/andreas/media_build/v4l/cec-core.o
CC [M] /home/andreas/media_build/v4l/cec-adap.o
CC [M] /home/andreas/media_build/v4l/cec-api.o
LD [M] /home/andreas/media_build/v4l/cec.o
CC [M] /home/andreas/media_build/v4l/msp3400-driver.o
CC [M] /home/andreas/media_build/v4l/msp3400-kthreads.o
LD [M] /home/andreas/media_build/v4l/msp3400.o
CC [M] /home/andreas/media_build/v4l/smiapp-core.o
CC [M] /home/andreas/media_build/v4l/smiapp-regs.o
CC [M] /home/andreas/media_build/v4l/smiapp-quirk.o
CC [M] /home/andreas/media_build/v4l/smiapp-limits.o
LD [M] /home/andreas/media_build/v4l/smiapp.o
CC [M] /home/andreas/media_build/v4l/cx25840-core.o
CC [M] /home/andreas/media_build/v4l/cx25840-audio.o
CC [M] /home/andreas/media_build/v4l/cx25840-firmware.o
CC [M] /home/andreas/media_build/v4l/cx25840-vbi.o
CC [M] /home/andreas/media_build/v4l/cx25840-ir.o
LD [M] /home/andreas/media_build/v4l/cx25840.o
CC [M] /home/andreas/media_build/v4l/m5mols_core.o
CC [M] /home/andreas/media_build/v4l/m5mols_controls.o
CC [M] /home/andreas/media_build/v4l/m5mols_capture.o
LD [M] /home/andreas/media_build/v4l/m5mols.o
CC [M] /home/andreas/media_build/v4l/imx074.o
CC [M] /home/andreas/media_build/v4l/mt9m001.o
CC [M] /home/andreas/media_build/v4l/mt9t031.o
CC [M] /home/andreas/media_build/v4l/mt9t112.o
CC [M] /home/andreas/media_build/v4l/mt9v022.o
CC [M] /home/andreas/media_build/v4l/ov2640.o
CC [M] /home/andreas/media_build/v4l/ov5642.o
CC [M] /home/andreas/media_build/v4l/ov6650.o
CC [M] /home/andreas/media_build/v4l/ov772x.o
CC [M] /home/andreas/media_build/v4l/ov9640.o
CC [M] /home/andreas/media_build/v4l/ov9740.o
CC [M] /home/andreas/media_build/v4l/rj54n1cb0c.o
CC [M] /home/andreas/media_build/v4l/tw9910.o
CC [M] /home/andreas/media_build/v4l/aptina-pll.o
CC [M] /home/andreas/media_build/v4l/tvaudio.o
CC [M] /home/andreas/media_build/v4l/tda7432.o
CC [M] /home/andreas/media_build/v4l/saa6588.o
CC [M] /home/andreas/media_build/v4l/tda9840.o
CC [M] /home/andreas/media_build/v4l/tea6415c.o
CC [M] /home/andreas/media_build/v4l/tea6420.o
CC [M] /home/andreas/media_build/v4l/saa7110.o
CC [M] /home/andreas/media_build/v4l/saa7115.o
CC [M] /home/andreas/media_build/v4l/saa717x.o
CC [M] /home/andreas/media_build/v4l/saa7127.o
CC [M] /home/andreas/media_build/v4l/saa7185.o
CC [M] /home/andreas/media_build/v4l/saa6752hs.o
CC [M] /home/andreas/media_build/v4l/ad5820.o
CC [M] /home/andreas/media_build/v4l/adv7170.o
CC [M] /home/andreas/media_build/v4l/adv7175.o
CC [M] /home/andreas/media_build/v4l/adv7180.o
CC [M] /home/andreas/media_build/v4l/adv7183.o
CC [M] /home/andreas/media_build/v4l/adv7343.o
CC [M] /home/andreas/media_build/v4l/adv7393.o
CC [M] /home/andreas/media_build/v4l/adv7604.o
CC [M] /home/andreas/media_build/v4l/adv7842.o
CC [M] /home/andreas/media_build/v4l/ad9389b.o
CC [M] /home/andreas/media_build/v4l/adv7511.o
CC [M] /home/andreas/media_build/v4l/vpx3220.o
CC [M] /home/andreas/media_build/v4l/vs6624.o
CC [M] /home/andreas/media_build/v4l/bt819.o
CC [M] /home/andreas/media_build/v4l/bt856.o
CC [M] /home/andreas/media_build/v4l/bt866.o
CC [M] /home/andreas/media_build/v4l/ks0127.o
CC [M] /home/andreas/media_build/v4l/ths7303.o
CC [M] /home/andreas/media_build/v4l/ths8200.o
CC [M] /home/andreas/media_build/v4l/tvp5150.o
CC [M] /home/andreas/media_build/v4l/tvp514x.o
CC [M] /home/andreas/media_build/v4l/tvp7002.o
CC [M] /home/andreas/media_build/v4l/tw2804.o
CC [M] /home/andreas/media_build/v4l/tw9903.o
CC [M] /home/andreas/media_build/v4l/tw9906.o
CC [M] /home/andreas/media_build/v4l/cs3308.o
CC [M] /home/andreas/media_build/v4l/cs5345.o
CC [M] /home/andreas/media_build/v4l/cs53l32a.o
CC [M] /home/andreas/media_build/v4l/m52790.o
CC [M] /home/andreas/media_build/v4l/tlv320aic23b.o
CC [M] /home/andreas/media_build/v4l/uda1342.o
CC [M] /home/andreas/media_build/v4l/wm8775.o
CC [M] /home/andreas/media_build/v4l/wm8739.o
CC [M] /home/andreas/media_build/v4l/vp27smpx.o
CC [M] /home/andreas/media_build/v4l/sony-btf-mpx.o
CC [M] /home/andreas/media_build/v4l/upd64031a.o
CC [M] /home/andreas/media_build/v4l/upd64083.o
CC [M] /home/andreas/media_build/v4l/ov7640.o
CC [M] /home/andreas/media_build/v4l/ov7670.o
CC [M] /home/andreas/media_build/v4l/ov9650.o
CC [M] /home/andreas/media_build/v4l/mt9m032.o
CC [M] /home/andreas/media_build/v4l/mt9m111.o
CC [M] /home/andreas/media_build/v4l/mt9p031.o
CC [M] /home/andreas/media_build/v4l/mt9t001.o
CC [M] /home/andreas/media_build/v4l/mt9v011.o
CC [M] /home/andreas/media_build/v4l/mt9v032.o
CC [M] /home/andreas/media_build/v4l/sr030pc30.o
CC [M] /home/andreas/media_build/v4l/noon010pc30.o
CC [M] /home/andreas/media_build/v4l/s5k6aa.o
CC [M] /home/andreas/media_build/v4l/s5k6a3.o
CC [M] /home/andreas/media_build/v4l/s5k4ecgx.o
CC [M] /home/andreas/media_build/v4l/s5k5baf.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-core.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-spi.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-ctrls.o
LD [M] /home/andreas/media_build/v4l/s5c73m3.o
CC [M] /home/andreas/media_build/v4l/adp1653.o
CC [M] /home/andreas/media_build/v4l/as3645a.o
CC [M] /home/andreas/media_build/v4l/lm3560.o
CC [M] /home/andreas/media_build/v4l/lm3646.o
CC [M] /home/andreas/media_build/v4l/smiapp-pll.o
CC [M] /home/andreas/media_build/v4l/ak881x.o
CC [M] /home/andreas/media_build/v4l/ir-kbd-i2c.o
CC [M] /home/andreas/media_build/v4l/ml86v7667.o
CC [M] /home/andreas/media_build/v4l/ov2659.o
CC [M] /home/andreas/media_build/v4l/tc358743.o
CC [M] /home/andreas/media_build/v4l/tuner-xc2028.o
CC [M] /home/andreas/media_build/v4l/tuner-simple.o
CC [M] /home/andreas/media_build/v4l/tuner-types.o
CC [M] /home/andreas/media_build/v4l/mt20xx.o
CC [M] /home/andreas/media_build/v4l/tda8290.o
CC [M] /home/andreas/media_build/v4l/tea5767.o
CC [M] /home/andreas/media_build/v4l/tea5761.o
CC [M] /home/andreas/media_build/v4l/tda9887.o
CC [M] /home/andreas/media_build/v4l/tda827x.o
CC [M] /home/andreas/media_build/v4l/tda18271-maps.o
CC [M] /home/andreas/media_build/v4l/tda18271-common.o
CC [M] /home/andreas/media_build/v4l/tda18271-fe.o
LD [M] /home/andreas/media_build/v4l/tda18271.o
CC [M] /home/andreas/media_build/v4l/tda18273.o
CC [M] /home/andreas/media_build/v4l/xc5000.o
CC [M] /home/andreas/media_build/v4l/xc4000.o
CC [M] /home/andreas/media_build/v4l/msi001.o
CC [M] /home/andreas/media_build/v4l/mt2060.o
CC [M] /home/andreas/media_build/v4l/mt2063.o
CC [M] /home/andreas/media_build/v4l/mt2266.o
CC [M] /home/andreas/media_build/v4l/qt1010.o
CC [M] /home/andreas/media_build/v4l/mt2131.o
CC [M] /home/andreas/media_build/v4l/mxl5005s.o
CC [M] /home/andreas/media_build/v4l/mxl5007t.o
CC [M] /home/andreas/media_build/v4l/mc44s803.o
CC [M] /home/andreas/media_build/v4l/max2165.o
CC [M] /home/andreas/media_build/v4l/tda18218.o
CC [M] /home/andreas/media_build/v4l/tda18212.o
CC [M] /home/andreas/media_build/v4l/e4000.o
CC [M] /home/andreas/media_build/v4l/fc2580.o
CC [M] /home/andreas/media_build/v4l/tua9001.o
CC [M] /home/andreas/media_build/v4l/si2157.o
CC [M] /home/andreas/media_build/v4l/fc0011.o
CC [M] /home/andreas/media_build/v4l/fc0012.o
CC [M] /home/andreas/media_build/v4l/fc0013.o
CC [M] /home/andreas/media_build/v4l/it913x.o
CC [M] /home/andreas/media_build/v4l/r820t.o
CC [M] /home/andreas/media_build/v4l/mxl301rf.o
CC [M] /home/andreas/media_build/v4l/qm1d1c0042.o
CC [M] /home/andreas/media_build/v4l/m88rs6000t.o
CC [M] /home/andreas/media_build/v4l/av201x.o
CC [M] /home/andreas/media_build/v4l/stv6120.o
/home/andreas/media_build/v4l/stv6120.c: In function 'init_regs':
/home/andreas/media_build/v4l/stv6120.c:195:6: warning: unused variable 'bbmode' [-Wunused-variable]
u32 bbmode = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:194:6: warning: unused variable 'agcset' [-Wunused-variable]
u32 agcset = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:193:6: warning: unused variable 'agcref' [-Wunused-variable]
u32 agcref = 2;
^
/home/andreas/media_build/v4l/stv6120.c:192:6: warning: unused variable 'agcmode' [-Wunused-variable]
u32 agcmode = 0;
^
/home/andreas/media_build/v4l/stv6120.c:191:6: warning: unused variable 'clkdiv' [-Wunused-variable]
u32 clkdiv = 0;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'set_lof':
/home/andreas/media_build/v4l/stv6120.c:324:6: warning: unused variable 'freq' [-Wunused-variable]
u32 freq = Frequency;
^
/home/andreas/media_build/v4l/stv6120.c:322:10: warning: unused variable 'tmp' [-Wunused-variable]
u8 Icp, tmp;
^
/home/andreas/media_build/v4l/stv6120.c:321:13: warning: unused variable 'psel' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c:321:6: warning: unused variable 'p' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'stv6120_attach':
/home/andreas/media_build/v4l/stv6120.c:547:6: warning: unused variable 'stat' [-Wunused-variable]
int stat = 0;
^
/home/andreas/media_build/v4l/stv6120.c: At top level:
/home/andreas/media_build/v4l/stv6120.c:145:12: warning: 'read_regs' defined but not used [-Wunused-function]
static int read_regs(struct stv *state, u8 reg, u8 *val, int len)
^
/home/andreas/media_build/v4l/stv6120.c:445:12: warning: 'get_frequency' defined but not used [-Wunused-function]
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:451:12: warning: 'AGC_Gain' defined but not used [-Wunused-variable]
static u32 AGC_Gain[] = {
^
/home/andreas/media_build/v4l/stv6120.c:484:12: warning: 'get_rf_strength' defined but not used [-Wunused-function]
static int get_rf_strength(struct dvb_frontend *fe, u16 *st)
^
/home/andreas/media_build/v4l/stv6120.c:502:12: warning: 'get_if' defined but not used [-Wunused-function]
static int get_if(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:508:12: warning: 'get_bandwidth' defined but not used [-Wunused-function]
static int get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
^
CC [M] /home/andreas/media_build/v4l/r848.o
/home/andreas/media_build/v4l/r848.c: In function 'R848_SysFreq_Sel':
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M' not handled in switch [-Wswitch]
switch(R848_Standard) {
^
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6000' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_4500' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_S' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_FM' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_STD_SIZE' not handled in switch [-Wswitch]
CC [M] /home/andreas/media_build/v4l/dvb-pll.o
CC [M] /home/andreas/media_build/v4l/stv0299.o
CC [M] /home/andreas/media_build/v4l/stb0899_drv.o
CC [M] /home/andreas/media_build/v4l/stb0899_algo.o
LD [M] /home/andreas/media_build/v4l/stb0899.o
CC [M] /home/andreas/media_build/v4l/stb6100.o
CC [M] /home/andreas/media_build/v4l/sp8870.o
CC [M] /home/andreas/media_build/v4l/cx22700.o
CC [M] /home/andreas/media_build/v4l/s5h1432.o
CC [M] /home/andreas/media_build/v4l/cx24110.o
CC [M] /home/andreas/media_build/v4l/tda8083.o
CC [M] /home/andreas/media_build/v4l/l64781.o
CC [M] /home/andreas/media_build/v4l/dib3000mb.o
CC [M] /home/andreas/media_build/v4l/dib3000mc.o
CC [M] /home/andreas/media_build/v4l/dibx000_common.o
CC [M] /home/andreas/media_build/v4l/dib7000m.o
CC [M] /home/andreas/media_build/v4l/dib7000p.o
CC [M] /home/andreas/media_build/v4l/dib8000.o
CC [M] /home/andreas/media_build/v4l/dib9000.o
CC [M] /home/andreas/media_build/v4l/mt312.o
CC [M] /home/andreas/media_build/v4l/ves1820.o
CC [M] /home/andreas/media_build/v4l/ves1x93.o
CC [M] /home/andreas/media_build/v4l/tda1004x.o
CC [M] /home/andreas/media_build/v4l/sp887x.o
CC [M] /home/andreas/media_build/v4l/nxt6000.o
CC [M] /home/andreas/media_build/v4l/mt352.o
CC [M] /home/andreas/media_build/v4l/zl10036.o
CC [M] /home/andreas/media_build/v4l/zl10039.o
CC [M] /home/andreas/media_build/v4l/zl10353.o
CC [M] /home/andreas/media_build/v4l/cx22702.o
CC [M] /home/andreas/media_build/v4l/drxd_firm.o
CC [M] /home/andreas/media_build/v4l/drxd_hard.o
LD [M] /home/andreas/media_build/v4l/drxd.o
CC [M] /home/andreas/media_build/v4l/tda10021.o
CC [M] /home/andreas/media_build/v4l/tda10023.o
CC [M] /home/andreas/media_build/v4l/stv0297.o
CC [M] /home/andreas/media_build/v4l/nxt200x.o
CC [M] /home/andreas/media_build/v4l/or51211.o
CC [M] /home/andreas/media_build/v4l/or51132.o
CC [M] /home/andreas/media_build/v4l/bcm3510.o
CC [M] /home/andreas/media_build/v4l/s5h1420.o
CC [M] /home/andreas/media_build/v4l/lgdt330x.o
CC [M] /home/andreas/media_build/v4l/lgdt3305.o
CC [M] /home/andreas/media_build/v4l/lgdt3306a.o
CC [M] /home/andreas/media_build/v4l/lg2160.o
CC [M] /home/andreas/media_build/v4l/cx24123.o
CC [M] /home/andreas/media_build/v4l/lnbh25.o
CC [M] /home/andreas/media_build/v4l/lnbp21.o
CC [M] /home/andreas/media_build/v4l/lnbp22.o
CC [M] /home/andreas/media_build/v4l/isl6405.o
CC [M] /home/andreas/media_build/v4l/isl6421.o
CC [M] /home/andreas/media_build/v4l/tda10086.o
CC [M] /home/andreas/media_build/v4l/tda826x.o
CC [M] /home/andreas/media_build/v4l/tda8261.o
CC [M] /home/andreas/media_build/v4l/dib0070.o
CC [M] /home/andreas/media_build/v4l/dib0090.o
CC [M] /home/andreas/media_build/v4l/tua6100.o
CC [M] /home/andreas/media_build/v4l/s5h1409.o
CC [M] /home/andreas/media_build/v4l/itd1000.o
CC [M] /home/andreas/media_build/v4l/au8522_common.o
CC [M] /home/andreas/media_build/v4l/au8522_dig.o
CC [M] /home/andreas/media_build/v4l/au8522_decoder.o
CC [M] /home/andreas/media_build/v4l/tda10048.o
CC [M] /home/andreas/media_build/v4l/cx24113.o
CC [M] /home/andreas/media_build/v4l/s5h1411.o
CC [M] /home/andreas/media_build/v4l/lgs8gl5.o
CC [M] /home/andreas/media_build/v4l/tda665x.o
CC [M] /home/andreas/media_build/v4l/lgs8gxx.o
CC [M] /home/andreas/media_build/v4l/atbm8830.o
CC [M] /home/andreas/media_build/v4l/dvb_dummy_fe.o
CC [M] /home/andreas/media_build/v4l/af9013.o
CC [M] /home/andreas/media_build/v4l/cx24116.o
CC [M] /home/andreas/media_build/v4l/cx24117.o
CC [M] /home/andreas/media_build/v4l/cx24120.o
CC [M] /home/andreas/media_build/v4l/si21xx.o
CC [M] /home/andreas/media_build/v4l/si2168.o
CC [M] /home/andreas/media_build/v4l/stv0288.o
CC [M] /home/andreas/media_build/v4l/stb6000.o
CC [M] /home/andreas/media_build/v4l/s921.o
CC [M] /home/andreas/media_build/v4l/stv6110.o
CC [M] /home/andreas/media_build/v4l/stv0900_core.o
CC [M] /home/andreas/media_build/v4l/stv0900_sw.o
LD [M] /home/andreas/media_build/v4l/stv0900.o
CC [M] /home/andreas/media_build/v4l/stv090x.o
CC [M] /home/andreas/media_build/v4l/stv6110x.o
CC [M] /home/andreas/media_build/v4l/m88ds3103.o
CC [M] /home/andreas/media_build/v4l/mn88472.o
CC [M] /home/andreas/media_build/v4l/mn88473.o
CC [M] /home/andreas/media_build/v4l/isl6422.o
CC [M] /home/andreas/media_build/v4l/isl6423.o
CC [M] /home/andreas/media_build/v4l/ec100.o
CC [M] /home/andreas/media_build/v4l/hd29l2.o
CC [M] /home/andreas/media_build/v4l/ds3000.o
CC [M] /home/andreas/media_build/v4l/ts2020.o
CC [M] /home/andreas/media_build/v4l/mb86a16.o
CC [M] /home/andreas/media_build/v4l/drxj.o
LD [M] /home/andreas/media_build/v4l/drx39xyj.o
CC [M] /home/andreas/media_build/v4l/mb86a20s.o
CC [M] /home/andreas/media_build/v4l/ix2505v.o
CC [M] /home/andreas/media_build/v4l/stv0367.o
CC [M] /home/andreas/media_build/v4l/cxd2841er.o
CC [M] /home/andreas/media_build/v4l/drxk_hard.o
LD [M] /home/andreas/media_build/v4l/drxk.o
CC [M] /home/andreas/media_build/v4l/tda18271c2dd.o
CC [M] /home/andreas/media_build/v4l/si2165.o
CC [M] /home/andreas/media_build/v4l/a8293.o
CC [M] /home/andreas/media_build/v4l/sp2.o
CC [M] /home/andreas/media_build/v4l/tda10071.o
CC [M] /home/andreas/media_build/v4l/rtl2830.o
CC [M] /home/andreas/media_build/v4l/rtl2832.o
CC [M] /home/andreas/media_build/v4l/rtl2832_sdr.o
CC [M] /home/andreas/media_build/v4l/m88rs2000.o
CC [M] /home/andreas/media_build/v4l/af9033.o
CC [M] /home/andreas/media_build/v4l/as102_fe.o
CC [M] /home/andreas/media_build/v4l/gp8psk-fe.o
CC [M] /home/andreas/media_build/v4l/tc90522.o
CC [M] /home/andreas/media_build/v4l/horus3a.o
CC [M] /home/andreas/media_build/v4l/ascot2e.o
CC [M] /home/andreas/media_build/v4l/helene.o
CC [M] /home/andreas/media_build/v4l/tas2101.o
CC [M] /home/andreas/media_build/v4l/mxl5xx.o
/home/andreas/media_build/v4l/mxl5xx.c: In function 'config_ts':
/home/andreas/media_build/v4l/mxl5xx.c:992:18: warning: unused variable 'mxl561_xpt_ts_valid' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c:988:18: warning: unused variable 'mxl561_xpt_ts_sync' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'load_fw':
/home/andreas/media_build/v4l/mxl5xx.c:1169:44: warning: passing argument 3 of 'firmware_download' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
stat = firmware_download(state, fw->size, fw->data);
^
/home/andreas/media_build/v4l/mxl5xx.c:776:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * const {aka const unsigned char * const}'
static int firmware_download(struct mxl *state, u32 mbinBufferSize,
^
/home/andreas/media_build/v4l/mxl5xx.c:1157:6: warning: unused variable 'buf' [-Wunused-variable]
u8 *buf;
^
/home/andreas/media_build/v4l/mxl5xx.c:1155:21: warning: unused variable 'cfg' [-Wunused-variable]
struct mxl5xx_cfg *cfg = state->base->cfg;
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'probe':
/home/andreas/media_build/v4l/mxl5xx.c:1226:28: warning: unused variable 'mpegInterfaceCfg' [-Wunused-variable]
MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg;
^
/home/andreas/media_build/v4l/mxl5xx.c:1225:18: warning: unused variable 'j' [-Wunused-variable]
int fw, status, j;
^
/home/andreas/media_build/v4l/mxl5xx.c: At top level:
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:231:12: warning: 'read_register_block' defined but not used [-Wunused-function]
static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
^
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:929: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
^
/home/andreas/media_build/v4l/mxl5xx.c:1117:12: warning: 'config_mux' defined but not used [-Wunused-function]
static int config_mux(struct mxl *state)
^
CC [M] /home/andreas/media_build/v4l/si2183.o
CC [M] /home/andreas/media_build/v4l/stv0910.o
CC [M] /home/andreas/media_build/v4l/avl6882.o
CC [M] /home/andreas/media_build/v4l/media-device.o
CC [M] /home/andreas/media_build/v4l/media-devnode.o
CC [M] /home/andreas/media_build/v4l/media-entity.o
LD [M] /home/andreas/media_build/v4l/media.o
CC [M] /home/andreas/media_build/v4l/v4l2-dev.o
CC [M] /home/andreas/media_build/v4l/v4l2-ioctl.o
CC [M] /home/andreas/media_build/v4l/v4l2-device.o
CC [M] /home/andreas/media_build/v4l/v4l2-fh.o
CC [M] /home/andreas/media_build/v4l/v4l2-event.o
CC [M] /home/andreas/media_build/v4l/v4l2-ctrls.o
CC [M] /home/andreas/media_build/v4l/v4l2-subdev.o
CC [M] /home/andreas/media_build/v4l/v4l2-clk.o
CC [M] /home/andreas/media_build/v4l/v4l2-async.o
CC [M] /home/andreas/media_build/v4l/v4l2-compat-ioctl32.o
CC [M] /home/andreas/media_build/v4l/vb2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-mc.o
LD [M] /home/andreas/media_build/v4l/videodev.o
CC [M] /home/andreas/media_build/v4l/v4l2-common.o
CC [M] /home/andreas/media_build/v4l/v4l2-dv-timings.o
CC [M] /home/andreas/media_build/v4l/tuner-core.o
LD [M] /home/andreas/media_build/v4l/tuner.o
CC [M] /home/andreas/media_build/v4l/v4l2-mem2mem.o
CC [M] /home/andreas/media_build/v4l/v4l2-flash-led-class.o
CC [M] /home/andreas/media_build/v4l/videobuf-core.o
CC [M] /home/andreas/media_build/v4l/videobuf-dma-sg.o
/home/andreas/media_build/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_init_user_locked':
/home/andreas/media_build/v4l/videobuf-dma-sg.c:186:21: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
rw == READ, 1, /* force */
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct page **' but argument is of type 'int'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:187:9: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types]
dma->pages, NULL);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:184:8: error: too many arguments to function 'get_user_pages'
err = get_user_pages(current, current->mm,
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
scripts/Makefile.build:291: die Regel für Ziel „/home/andreas/media_build/v4l/videobuf-dma-sg.o“ scheiterte
make[3]: *** [/home/andreas/media_build/v4l/videobuf-dma-sg.o] Fehler 1
Makefile:1454: recipe for target '_module_/home/andreas/media_build/v4l' failed
make[2]: *** [_module_/home/andreas/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-143-generic'
Makefile:51: die Regel für Ziel „default“ scheiterte
make[1]: *** [default] Fehler 2
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
Makefile:26: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
andreas@andreas-System-Product-Name:~/media_build$ wget https://media-cdn.ubuntu-de.org/forum/attachments/13/11/9059379-v4.4_get_user_pages.patch -O backports/v4.4_get_user_pages.patch
--2019-03-23 07:28:44-- https://media-cdn.ubuntu-de.org/forum/attachments/13/11/9059379-v4.4_get_user_pages.patch
Auflösen des Hostnamen »media-cdn.ubuntu-de.org (media-cdn.ubuntu-de.org)«... 2001:780:0:25:dead:beef:cafe:1, 213.95.41.4
Verbindungsaufbau zu media-cdn.ubuntu-de.org (media-cdn.ubuntu-de.org)|2001:780:0:25:dead:beef:cafe:1|:443... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 820 [application/octet-stream]
In »»backports/v4.4_get_user_pages.patch«« speichern.
backports/v4.4_get_ 100%[===================>] 820 --.-KB/s in 0s
2019-03-23 07:28:44 (164 MB/s) - »backports/v4.4_get_user_pages.patch« gespeichert [820/820]
andreas@andreas-System-Product-Name:~/media_build$ cd linux
andreas@andreas-System-Product-Name:~/media_build/linux$ patch -s -f -N -p1 -i ../backports/v4.4_get_user_pages.patch
andreas@andreas-System-Product-Name:~/media_build/linux$ cd ..
andreas@andreas-System-Product-Name:~/media_build$ make dir DIR=../media
make -C linux/ dir DIR="../../media"
make[1]: Verzeichnis „/home/andreas/media_build/linux“ wird betreten
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: firmware/ihex2fw.c
sync file: sound/pci/bt87x.c
sync file: include/linux/kconfig.h
sync file: include/linux/compiler-gcc.h
sync file: include/uapi/linux/v4l2-dv-timings.h
sync file: include/uapi/linux/meye.h
sync file: include/uapi/linux/usb/video.h
sync file: include/misc/altera.h
sync file: include/uapi/linux/cec.h
sync file: include/uapi/linux/media-bus-format.h
sync file: include/linux/dma-buf.h
sync file: include/linux/of_graph.h
sync file: include/uapi/linux/v4l2-common.h
sync file: include/linux/dma/xilinx_dma.h
sync file: include/linux/fixp-arith.h
sync file: firmware/av7110/Boot.S
sync file: include/uapi/linux/ivtvfb.h
sync file: include/uapi/linux/uvcvideo.h
sync file: include/uapi/linux/cec-funcs.h
sync file: include/uapi/linux/smiapp.h
sync file: include/uapi/linux/videodev2.h
sync file: include/uapi/linux/lirc.h
sync file: include/trace/events/v4l2.h
sync file: include/uapi/linux/v4l2-subdev.h
sync file: include/sound/aci.h
sync file: firmware/vicam/firmware.H16
sync file: firmware/ttusb-budget/dspbootcode.bin.ihex
sync file: include/linux/dma-fence.h
sync file: include/linux/hdmi.h
sync file: include/linux/ti_wilink_st.h
sync file: include/uapi/linux/ivtv.h
sync file: include/uapi/linux/v4l2-controls.h
sync file: include/uapi/linux/media.h
sync file: include/uapi/linux/xilinx-v4l2-controls.h
sync file: include/uapi/linux/v4l2-mediabus.h
sync file: include/trace/events/vb2.h
sync file: include/linux/pci_ids.h
sync file: firmware/cpia2/stv0672_vp4.bin.ihex
sync file: include/linux/mmc/sdio_ids.h
sync file: firmware/av7110/bootcode.bin.ihex
sync file: include/linux/via-core.h
sync dir: drivers/misc/altera-stapl/
sync dir: include/dt-bindings/media/
sync dir: include/linux/platform_data/media/
sync dir: include/media/
sync dir: drivers/media/
sync dir: drivers/staging/media/
sync dir: include/uapi/linux/dvb/
make[1]: Verzeichnis „/home/andreas/media_build/linux“ wird verlassen
andreas@andreas-System-Product-Name:~/media_build$ make distclean
make -C /home/andreas/media_build/v4l distclean
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
config-compat.h Module.symvers Module.markers modules.order \
*.unsigned .*.ko.unsigned.cmd
make -C firmware clean
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
rm -f .version .*.o.flags .*.o.d *.mod.gcno Makefile.media \
Kconfig Kconfig.kern .config .config.cmd .myconfig \
.kconfig.dep
rm -rf .tmp_versions .tmp*.ver .tmp*.o .*.gcno
rm -f scripts/lxdialog scripts/kconfig
make -C firmware distclean
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
rm -f ihex2fw
rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
for i in av7110/ cpia2/ ttusb-budget/ vicam/; do if [ -d $i ]; then rm -rf $i; fi; done
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
andreas@andreas-System-Product-Name:~/media_build$ make
make -C /home/andreas/media_build/v4l
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
No version yet, using 4.4.0-143-generic
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Applying patches for kernel 4.4.0-143-generic
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.9_mm_address.patch
patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.patch
patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
patch -s -f -N -p1 -i ../backports/v4.7_pci_alloc_irq_vectors.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
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/andreas/media_build/linux'
Preparing to compile for kernel version 4.4.0
***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.
DVB_CXD2820R: Requires at least kernel 4.6.0
Created default (all yes) .config file
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.4.0-143-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/andreas/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/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.4.0-143-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Patches for 4.4.0-143-generic already applied.
make[2]: Leaving directory '/home/andreas/media_build/linux'
make -C /lib/modules/4.4.0-143-generic/build SUBDIRS=/home/andreas/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-143-generic'
CC [M] /home/andreas/media_build/v4l/cec-edid.o
CC [M] /home/andreas/media_build/v4l/cec-core.o
CC [M] /home/andreas/media_build/v4l/cec-adap.o
^Cscripts/Makefile.build:285: die Regel für Ziel „/home/andreas/media_build/v4l/cec-adap.o“ scheiterte
make[3]: *** [/home/andreas/media_build/v4l/cec-adap.o] Unterbrechung
Makefile:1454: recipe for target '_module_/home/andreas/media_build/v4l' failed
make[2]: *** [_module_/home/andreas/media_build/v4l] Interrupt
Makefile:51: die Regel für Ziel „default“ scheiterte
make[1]: *** [default] Unterbrechung
Makefile:26: die Regel für Ziel „all“ scheiterte
make: *** [all] Unterbrechung
andreas@andreas-System-Product-Name:~/media_build$ sed -i 's/# CONFIG_DVB_SAA716X_BUDGET is not set/CONFIG_DVB_SAA716X_BUDGET=m/' ./v4l/.config
andreas@andreas-System-Product-Name:~/media_build$ make
make -C /home/andreas/media_build/v4l
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.4.0-143-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.4.0-143-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Patches for 4.4.0-143-generic already applied.
make[2]: Leaving directory '/home/andreas/media_build/linux'
make -C /lib/modules/4.4.0-143-generic/build SUBDIRS=/home/andreas/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-143-generic'
CC [M] /home/andreas/media_build/v4l/cec-edid.o
CC [M] /home/andreas/media_build/v4l/cec-core.o
CC [M] /home/andreas/media_build/v4l/cec-adap.o
CC [M] /home/andreas/media_build/v4l/cec-api.o
LD [M] /home/andreas/media_build/v4l/cec.o
CC [M] /home/andreas/media_build/v4l/msp3400-driver.o
CC [M] /home/andreas/media_build/v4l/msp3400-kthreads.o
LD [M] /home/andreas/media_build/v4l/msp3400.o
CC [M] /home/andreas/media_build/v4l/smiapp-core.o
CC [M] /home/andreas/media_build/v4l/smiapp-regs.o
CC [M] /home/andreas/media_build/v4l/smiapp-quirk.o
CC [M] /home/andreas/media_build/v4l/smiapp-limits.o
LD [M] /home/andreas/media_build/v4l/smiapp.o
CC [M] /home/andreas/media_build/v4l/cx25840-core.o
CC [M] /home/andreas/media_build/v4l/cx25840-audio.o
CC [M] /home/andreas/media_build/v4l/cx25840-firmware.o
CC [M] /home/andreas/media_build/v4l/cx25840-vbi.o
CC [M] /home/andreas/media_build/v4l/cx25840-ir.o
LD [M] /home/andreas/media_build/v4l/cx25840.o
CC [M] /home/andreas/media_build/v4l/m5mols_core.o
CC [M] /home/andreas/media_build/v4l/m5mols_controls.o
CC [M] /home/andreas/media_build/v4l/m5mols_capture.o
LD [M] /home/andreas/media_build/v4l/m5mols.o
CC [M] /home/andreas/media_build/v4l/imx074.o
CC [M] /home/andreas/media_build/v4l/mt9m001.o
CC [M] /home/andreas/media_build/v4l/mt9t031.o
CC [M] /home/andreas/media_build/v4l/mt9t112.o
CC [M] /home/andreas/media_build/v4l/mt9v022.o
CC [M] /home/andreas/media_build/v4l/ov2640.o
CC [M] /home/andreas/media_build/v4l/ov5642.o
CC [M] /home/andreas/media_build/v4l/ov6650.o
CC [M] /home/andreas/media_build/v4l/ov772x.o
CC [M] /home/andreas/media_build/v4l/ov9640.o
CC [M] /home/andreas/media_build/v4l/ov9740.o
CC [M] /home/andreas/media_build/v4l/rj54n1cb0c.o
CC [M] /home/andreas/media_build/v4l/tw9910.o
CC [M] /home/andreas/media_build/v4l/aptina-pll.o
CC [M] /home/andreas/media_build/v4l/tvaudio.o
CC [M] /home/andreas/media_build/v4l/tda7432.o
CC [M] /home/andreas/media_build/v4l/saa6588.o
CC [M] /home/andreas/media_build/v4l/tda9840.o
CC [M] /home/andreas/media_build/v4l/tea6415c.o
CC [M] /home/andreas/media_build/v4l/tea6420.o
CC [M] /home/andreas/media_build/v4l/saa7110.o
CC [M] /home/andreas/media_build/v4l/saa7115.o
CC [M] /home/andreas/media_build/v4l/saa717x.o
CC [M] /home/andreas/media_build/v4l/saa7127.o
CC [M] /home/andreas/media_build/v4l/saa7185.o
CC [M] /home/andreas/media_build/v4l/saa6752hs.o
CC [M] /home/andreas/media_build/v4l/ad5820.o
CC [M] /home/andreas/media_build/v4l/adv7170.o
CC [M] /home/andreas/media_build/v4l/adv7175.o
CC [M] /home/andreas/media_build/v4l/adv7180.o
CC [M] /home/andreas/media_build/v4l/adv7183.o
CC [M] /home/andreas/media_build/v4l/adv7343.o
CC [M] /home/andreas/media_build/v4l/adv7393.o
CC [M] /home/andreas/media_build/v4l/adv7604.o
CC [M] /home/andreas/media_build/v4l/adv7842.o
CC [M] /home/andreas/media_build/v4l/ad9389b.o
CC [M] /home/andreas/media_build/v4l/adv7511.o
CC [M] /home/andreas/media_build/v4l/vpx3220.o
CC [M] /home/andreas/media_build/v4l/vs6624.o
CC [M] /home/andreas/media_build/v4l/bt819.o
CC [M] /home/andreas/media_build/v4l/bt856.o
CC [M] /home/andreas/media_build/v4l/bt866.o
CC [M] /home/andreas/media_build/v4l/ks0127.o
CC [M] /home/andreas/media_build/v4l/ths7303.o
CC [M] /home/andreas/media_build/v4l/ths8200.o
CC [M] /home/andreas/media_build/v4l/tvp5150.o
CC [M] /home/andreas/media_build/v4l/tvp514x.o
CC [M] /home/andreas/media_build/v4l/tvp7002.o
CC [M] /home/andreas/media_build/v4l/tw2804.o
CC [M] /home/andreas/media_build/v4l/tw9903.o
CC [M] /home/andreas/media_build/v4l/tw9906.o
CC [M] /home/andreas/media_build/v4l/cs3308.o
CC [M] /home/andreas/media_build/v4l/cs5345.o
CC [M] /home/andreas/media_build/v4l/cs53l32a.o
CC [M] /home/andreas/media_build/v4l/m52790.o
CC [M] /home/andreas/media_build/v4l/tlv320aic23b.o
CC [M] /home/andreas/media_build/v4l/uda1342.o
CC [M] /home/andreas/media_build/v4l/wm8775.o
CC [M] /home/andreas/media_build/v4l/wm8739.o
CC [M] /home/andreas/media_build/v4l/vp27smpx.o
CC [M] /home/andreas/media_build/v4l/sony-btf-mpx.o
CC [M] /home/andreas/media_build/v4l/upd64031a.o
CC [M] /home/andreas/media_build/v4l/upd64083.o
CC [M] /home/andreas/media_build/v4l/ov7640.o
CC [M] /home/andreas/media_build/v4l/ov7670.o
CC [M] /home/andreas/media_build/v4l/ov9650.o
CC [M] /home/andreas/media_build/v4l/mt9m032.o
CC [M] /home/andreas/media_build/v4l/mt9m111.o
CC [M] /home/andreas/media_build/v4l/mt9p031.o
CC [M] /home/andreas/media_build/v4l/mt9t001.o
CC [M] /home/andreas/media_build/v4l/mt9v011.o
CC [M] /home/andreas/media_build/v4l/mt9v032.o
CC [M] /home/andreas/media_build/v4l/sr030pc30.o
CC [M] /home/andreas/media_build/v4l/noon010pc30.o
CC [M] /home/andreas/media_build/v4l/s5k6aa.o
CC [M] /home/andreas/media_build/v4l/s5k6a3.o
CC [M] /home/andreas/media_build/v4l/s5k4ecgx.o
CC [M] /home/andreas/media_build/v4l/s5k5baf.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-core.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-spi.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-ctrls.o
LD [M] /home/andreas/media_build/v4l/s5c73m3.o
CC [M] /home/andreas/media_build/v4l/adp1653.o
CC [M] /home/andreas/media_build/v4l/as3645a.o
CC [M] /home/andreas/media_build/v4l/lm3560.o
CC [M] /home/andreas/media_build/v4l/lm3646.o
CC [M] /home/andreas/media_build/v4l/smiapp-pll.o
CC [M] /home/andreas/media_build/v4l/ak881x.o
CC [M] /home/andreas/media_build/v4l/ir-kbd-i2c.o
CC [M] /home/andreas/media_build/v4l/ml86v7667.o
CC [M] /home/andreas/media_build/v4l/ov2659.o
CC [M] /home/andreas/media_build/v4l/tc358743.o
CC [M] /home/andreas/media_build/v4l/tuner-xc2028.o
CC [M] /home/andreas/media_build/v4l/tuner-simple.o
CC [M] /home/andreas/media_build/v4l/tuner-types.o
CC [M] /home/andreas/media_build/v4l/mt20xx.o
CC [M] /home/andreas/media_build/v4l/tda8290.o
CC [M] /home/andreas/media_build/v4l/tea5767.o
CC [M] /home/andreas/media_build/v4l/tea5761.o
CC [M] /home/andreas/media_build/v4l/tda9887.o
CC [M] /home/andreas/media_build/v4l/tda827x.o
CC [M] /home/andreas/media_build/v4l/tda18271-maps.o
CC [M] /home/andreas/media_build/v4l/tda18271-common.o
CC [M] /home/andreas/media_build/v4l/tda18271-fe.o
LD [M] /home/andreas/media_build/v4l/tda18271.o
CC [M] /home/andreas/media_build/v4l/tda18273.o
CC [M] /home/andreas/media_build/v4l/xc5000.o
CC [M] /home/andreas/media_build/v4l/xc4000.o
CC [M] /home/andreas/media_build/v4l/msi001.o
CC [M] /home/andreas/media_build/v4l/mt2060.o
CC [M] /home/andreas/media_build/v4l/mt2063.o
CC [M] /home/andreas/media_build/v4l/mt2266.o
CC [M] /home/andreas/media_build/v4l/qt1010.o
CC [M] /home/andreas/media_build/v4l/mt2131.o
CC [M] /home/andreas/media_build/v4l/mxl5005s.o
CC [M] /home/andreas/media_build/v4l/mxl5007t.o
CC [M] /home/andreas/media_build/v4l/mc44s803.o
CC [M] /home/andreas/media_build/v4l/max2165.o
CC [M] /home/andreas/media_build/v4l/tda18218.o
CC [M] /home/andreas/media_build/v4l/tda18212.o
CC [M] /home/andreas/media_build/v4l/e4000.o
CC [M] /home/andreas/media_build/v4l/fc2580.o
CC [M] /home/andreas/media_build/v4l/tua9001.o
CC [M] /home/andreas/media_build/v4l/si2157.o
CC [M] /home/andreas/media_build/v4l/fc0011.o
CC [M] /home/andreas/media_build/v4l/fc0012.o
CC [M] /home/andreas/media_build/v4l/fc0013.o
CC [M] /home/andreas/media_build/v4l/it913x.o
CC [M] /home/andreas/media_build/v4l/r820t.o
CC [M] /home/andreas/media_build/v4l/mxl301rf.o
CC [M] /home/andreas/media_build/v4l/qm1d1c0042.o
CC [M] /home/andreas/media_build/v4l/m88rs6000t.o
CC [M] /home/andreas/media_build/v4l/av201x.o
CC [M] /home/andreas/media_build/v4l/stv6120.o
/home/andreas/media_build/v4l/stv6120.c: In function 'init_regs':
/home/andreas/media_build/v4l/stv6120.c:195:6: warning: unused variable 'bbmode' [-Wunused-variable]
u32 bbmode = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:194:6: warning: unused variable 'agcset' [-Wunused-variable]
u32 agcset = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:193:6: warning: unused variable 'agcref' [-Wunused-variable]
u32 agcref = 2;
^
/home/andreas/media_build/v4l/stv6120.c:192:6: warning: unused variable 'agcmode' [-Wunused-variable]
u32 agcmode = 0;
^
/home/andreas/media_build/v4l/stv6120.c:191:6: warning: unused variable 'clkdiv' [-Wunused-variable]
u32 clkdiv = 0;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'set_lof':
/home/andreas/media_build/v4l/stv6120.c:324:6: warning: unused variable 'freq' [-Wunused-variable]
u32 freq = Frequency;
^
/home/andreas/media_build/v4l/stv6120.c:322:10: warning: unused variable 'tmp' [-Wunused-variable]
u8 Icp, tmp;
^
/home/andreas/media_build/v4l/stv6120.c:321:13: warning: unused variable 'psel' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c:321:6: warning: unused variable 'p' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'stv6120_attach':
/home/andreas/media_build/v4l/stv6120.c:547:6: warning: unused variable 'stat' [-Wunused-variable]
int stat = 0;
^
/home/andreas/media_build/v4l/stv6120.c: At top level:
/home/andreas/media_build/v4l/stv6120.c:145:12: warning: 'read_regs' defined but not used [-Wunused-function]
static int read_regs(struct stv *state, u8 reg, u8 *val, int len)
^
/home/andreas/media_build/v4l/stv6120.c:445:12: warning: 'get_frequency' defined but not used [-Wunused-function]
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:451:12: warning: 'AGC_Gain' defined but not used [-Wunused-variable]
static u32 AGC_Gain[] = {
^
/home/andreas/media_build/v4l/stv6120.c:484:12: warning: 'get_rf_strength' defined but not used [-Wunused-function]
static int get_rf_strength(struct dvb_frontend *fe, u16 *st)
^
/home/andreas/media_build/v4l/stv6120.c:502:12: warning: 'get_if' defined but not used [-Wunused-function]
static int get_if(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:508:12: warning: 'get_bandwidth' defined but not used [-Wunused-function]
static int get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
^
CC [M] /home/andreas/media_build/v4l/r848.o
/home/andreas/media_build/v4l/r848.c: In function 'R848_SysFreq_Sel':
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M' not handled in switch [-Wswitch]
switch(R848_Standard) {
^
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6000' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_4500' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_S' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_FM' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_STD_SIZE' not handled in switch [-Wswitch]
CC [M] /home/andreas/media_build/v4l/dvb-pll.o
CC [M] /home/andreas/media_build/v4l/stv0299.o
CC [M] /home/andreas/media_build/v4l/stb0899_drv.o
CC [M] /home/andreas/media_build/v4l/stb0899_algo.o
LD [M] /home/andreas/media_build/v4l/stb0899.o
CC [M] /home/andreas/media_build/v4l/stb6100.o
CC [M] /home/andreas/media_build/v4l/sp8870.o
CC [M] /home/andreas/media_build/v4l/cx22700.o
CC [M] /home/andreas/media_build/v4l/s5h1432.o
CC [M] /home/andreas/media_build/v4l/cx24110.o
CC [M] /home/andreas/media_build/v4l/tda8083.o
CC [M] /home/andreas/media_build/v4l/l64781.o
CC [M] /home/andreas/media_build/v4l/dib3000mb.o
CC [M] /home/andreas/media_build/v4l/dib3000mc.o
CC [M] /home/andreas/media_build/v4l/dibx000_common.o
CC [M] /home/andreas/media_build/v4l/dib7000m.o
CC [M] /home/andreas/media_build/v4l/dib7000p.o
CC [M] /home/andreas/media_build/v4l/dib8000.o
CC [M] /home/andreas/media_build/v4l/dib9000.o
CC [M] /home/andreas/media_build/v4l/mt312.o
CC [M] /home/andreas/media_build/v4l/ves1820.o
CC [M] /home/andreas/media_build/v4l/ves1x93.o
CC [M] /home/andreas/media_build/v4l/tda1004x.o
CC [M] /home/andreas/media_build/v4l/sp887x.o
CC [M] /home/andreas/media_build/v4l/nxt6000.o
CC [M] /home/andreas/media_build/v4l/mt352.o
CC [M] /home/andreas/media_build/v4l/zl10036.o
CC [M] /home/andreas/media_build/v4l/zl10039.o
CC [M] /home/andreas/media_build/v4l/zl10353.o
CC [M] /home/andreas/media_build/v4l/cx22702.o
CC [M] /home/andreas/media_build/v4l/drxd_firm.o
CC [M] /home/andreas/media_build/v4l/drxd_hard.o
LD [M] /home/andreas/media_build/v4l/drxd.o
CC [M] /home/andreas/media_build/v4l/tda10021.o
CC [M] /home/andreas/media_build/v4l/tda10023.o
CC [M] /home/andreas/media_build/v4l/stv0297.o
CC [M] /home/andreas/media_build/v4l/nxt200x.o
CC [M] /home/andreas/media_build/v4l/or51211.o
CC [M] /home/andreas/media_build/v4l/or51132.o
CC [M] /home/andreas/media_build/v4l/bcm3510.o
CC [M] /home/andreas/media_build/v4l/s5h1420.o
CC [M] /home/andreas/media_build/v4l/lgdt330x.o
CC [M] /home/andreas/media_build/v4l/lgdt3305.o
CC [M] /home/andreas/media_build/v4l/lgdt3306a.o
CC [M] /home/andreas/media_build/v4l/lg2160.o
CC [M] /home/andreas/media_build/v4l/cx24123.o
CC [M] /home/andreas/media_build/v4l/lnbh25.o
CC [M] /home/andreas/media_build/v4l/lnbp21.o
CC [M] /home/andreas/media_build/v4l/lnbp22.o
CC [M] /home/andreas/media_build/v4l/isl6405.o
CC [M] /home/andreas/media_build/v4l/isl6421.o
CC [M] /home/andreas/media_build/v4l/tda10086.o
CC [M] /home/andreas/media_build/v4l/tda826x.o
CC [M] /home/andreas/media_build/v4l/tda8261.o
CC [M] /home/andreas/media_build/v4l/dib0070.o
CC [M] /home/andreas/media_build/v4l/dib0090.o
CC [M] /home/andreas/media_build/v4l/tua6100.o
CC [M] /home/andreas/media_build/v4l/s5h1409.o
CC [M] /home/andreas/media_build/v4l/itd1000.o
CC [M] /home/andreas/media_build/v4l/au8522_common.o
CC [M] /home/andreas/media_build/v4l/au8522_dig.o
CC [M] /home/andreas/media_build/v4l/au8522_decoder.o
CC [M] /home/andreas/media_build/v4l/tda10048.o
CC [M] /home/andreas/media_build/v4l/cx24113.o
CC [M] /home/andreas/media_build/v4l/s5h1411.o
CC [M] /home/andreas/media_build/v4l/lgs8gl5.o
CC [M] /home/andreas/media_build/v4l/tda665x.o
CC [M] /home/andreas/media_build/v4l/lgs8gxx.o
CC [M] /home/andreas/media_build/v4l/atbm8830.o
CC [M] /home/andreas/media_build/v4l/dvb_dummy_fe.o
CC [M] /home/andreas/media_build/v4l/af9013.o
CC [M] /home/andreas/media_build/v4l/cx24116.o
CC [M] /home/andreas/media_build/v4l/cx24117.o
CC [M] /home/andreas/media_build/v4l/cx24120.o
CC [M] /home/andreas/media_build/v4l/si21xx.o
CC [M] /home/andreas/media_build/v4l/si2168.o
CC [M] /home/andreas/media_build/v4l/stv0288.o
CC [M] /home/andreas/media_build/v4l/stb6000.o
CC [M] /home/andreas/media_build/v4l/s921.o
CC [M] /home/andreas/media_build/v4l/stv6110.o
CC [M] /home/andreas/media_build/v4l/stv0900_core.o
CC [M] /home/andreas/media_build/v4l/stv0900_sw.o
LD [M] /home/andreas/media_build/v4l/stv0900.o
CC [M] /home/andreas/media_build/v4l/stv090x.o
CC [M] /home/andreas/media_build/v4l/stv6110x.o
CC [M] /home/andreas/media_build/v4l/m88ds3103.o
CC [M] /home/andreas/media_build/v4l/mn88472.o
CC [M] /home/andreas/media_build/v4l/mn88473.o
CC [M] /home/andreas/media_build/v4l/isl6422.o
CC [M] /home/andreas/media_build/v4l/isl6423.o
CC [M] /home/andreas/media_build/v4l/ec100.o
CC [M] /home/andreas/media_build/v4l/hd29l2.o
CC [M] /home/andreas/media_build/v4l/ds3000.o
CC [M] /home/andreas/media_build/v4l/ts2020.o
CC [M] /home/andreas/media_build/v4l/mb86a16.o
CC [M] /home/andreas/media_build/v4l/drxj.o
LD [M] /home/andreas/media_build/v4l/drx39xyj.o
CC [M] /home/andreas/media_build/v4l/mb86a20s.o
CC [M] /home/andreas/media_build/v4l/ix2505v.o
CC [M] /home/andreas/media_build/v4l/stv0367.o
CC [M] /home/andreas/media_build/v4l/cxd2841er.o
CC [M] /home/andreas/media_build/v4l/drxk_hard.o
LD [M] /home/andreas/media_build/v4l/drxk.o
CC [M] /home/andreas/media_build/v4l/tda18271c2dd.o
CC [M] /home/andreas/media_build/v4l/si2165.o
CC [M] /home/andreas/media_build/v4l/a8293.o
CC [M] /home/andreas/media_build/v4l/sp2.o
CC [M] /home/andreas/media_build/v4l/tda10071.o
CC [M] /home/andreas/media_build/v4l/rtl2830.o
CC [M] /home/andreas/media_build/v4l/rtl2832.o
CC [M] /home/andreas/media_build/v4l/rtl2832_sdr.o
CC [M] /home/andreas/media_build/v4l/m88rs2000.o
CC [M] /home/andreas/media_build/v4l/af9033.o
CC [M] /home/andreas/media_build/v4l/as102_fe.o
CC [M] /home/andreas/media_build/v4l/gp8psk-fe.o
CC [M] /home/andreas/media_build/v4l/tc90522.o
CC [M] /home/andreas/media_build/v4l/horus3a.o
CC [M] /home/andreas/media_build/v4l/ascot2e.o
CC [M] /home/andreas/media_build/v4l/helene.o
CC [M] /home/andreas/media_build/v4l/tas2101.o
CC [M] /home/andreas/media_build/v4l/mxl5xx.o
/home/andreas/media_build/v4l/mxl5xx.c: In function 'config_ts':
/home/andreas/media_build/v4l/mxl5xx.c:992:18: warning: unused variable 'mxl561_xpt_ts_valid' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c:988:18: warning: unused variable 'mxl561_xpt_ts_sync' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'load_fw':
/home/andreas/media_build/v4l/mxl5xx.c:1169:44: warning: passing argument 3 of 'firmware_download' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
stat = firmware_download(state, fw->size, fw->data);
^
/home/andreas/media_build/v4l/mxl5xx.c:776:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * const {aka const unsigned char * const}'
static int firmware_download(struct mxl *state, u32 mbinBufferSize,
^
/home/andreas/media_build/v4l/mxl5xx.c:1157:6: warning: unused variable 'buf' [-Wunused-variable]
u8 *buf;
^
/home/andreas/media_build/v4l/mxl5xx.c:1155:21: warning: unused variable 'cfg' [-Wunused-variable]
struct mxl5xx_cfg *cfg = state->base->cfg;
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'probe':
/home/andreas/media_build/v4l/mxl5xx.c:1226:28: warning: unused variable 'mpegInterfaceCfg' [-Wunused-variable]
MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg;
^
/home/andreas/media_build/v4l/mxl5xx.c:1225:18: warning: unused variable 'j' [-Wunused-variable]
int fw, status, j;
^
/home/andreas/media_build/v4l/mxl5xx.c: At top level:
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:231:12: warning: 'read_register_block' defined but not used [-Wunused-function]
static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
^
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:929: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
^
/home/andreas/media_build/v4l/mxl5xx.c:1117:12: warning: 'config_mux' defined but not used [-Wunused-function]
static int config_mux(struct mxl *state)
^
CC [M] /home/andreas/media_build/v4l/si2183.o
CC [M] /home/andreas/media_build/v4l/stv0910.o
CC [M] /home/andreas/media_build/v4l/avl6882.o
CC [M] /home/andreas/media_build/v4l/media-device.o
CC [M] /home/andreas/media_build/v4l/media-devnode.o
CC [M] /home/andreas/media_build/v4l/media-entity.o
LD [M] /home/andreas/media_build/v4l/media.o
CC [M] /home/andreas/media_build/v4l/v4l2-dev.o
CC [M] /home/andreas/media_build/v4l/v4l2-ioctl.o
CC [M] /home/andreas/media_build/v4l/v4l2-device.o
CC [M] /home/andreas/media_build/v4l/v4l2-fh.o
CC [M] /home/andreas/media_build/v4l/v4l2-event.o
CC [M] /home/andreas/media_build/v4l/v4l2-ctrls.o
CC [M] /home/andreas/media_build/v4l/v4l2-subdev.o
CC [M] /home/andreas/media_build/v4l/v4l2-clk.o
CC [M] /home/andreas/media_build/v4l/v4l2-async.o
CC [M] /home/andreas/media_build/v4l/v4l2-compat-ioctl32.o
CC [M] /home/andreas/media_build/v4l/vb2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-mc.o
LD [M] /home/andreas/media_build/v4l/videodev.o
CC [M] /home/andreas/media_build/v4l/v4l2-common.o
CC [M] /home/andreas/media_build/v4l/v4l2-dv-timings.o
CC [M] /home/andreas/media_build/v4l/tuner-core.o
LD [M] /home/andreas/media_build/v4l/tuner.o
CC [M] /home/andreas/media_build/v4l/v4l2-mem2mem.o
CC [M] /home/andreas/media_build/v4l/v4l2-flash-led-class.o
CC [M] /home/andreas/media_build/v4l/videobuf-core.o
CC [M] /home/andreas/media_build/v4l/videobuf-dma-sg.o
/home/andreas/media_build/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_init_user_locked':
/home/andreas/media_build/v4l/videobuf-dma-sg.c:186:21: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
rw == READ, 1, /* force */
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct page **' but argument is of type 'int'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:187:9: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types]
dma->pages, NULL);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:184:8: error: too many arguments to function 'get_user_pages'
err = get_user_pages(current, current->mm,
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
scripts/Makefile.build:291: die Regel für Ziel „/home/andreas/media_build/v4l/videobuf-dma-sg.o“ scheiterte
make[3]: *** [/home/andreas/media_build/v4l/videobuf-dma-sg.o] Fehler 1
Makefile:1454: recipe for target '_module_/home/andreas/media_build/v4l' failed
make[2]: *** [_module_/home/andreas/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-143-generic'
Makefile:51: die Regel für Ziel „default“ scheiterte
make[1]: *** [default] Fehler 2
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
Makefile:26: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
andreas@andreas-System-Product-Name:~/media_build$ wget https://media-cdn.ubuntu-de.org/forum/attachments/13/11/9059379-v4.4_get_user_pages.patch -O backports/v4.4_get_user_pages.patch
--2019-03-23 07:35:57-- https://media-cdn.ubuntu-de.org/forum/attachments/13/11/9059379-v4.4_get_user_pages.patch
Auflösen des Hostnamen »media-cdn.ubuntu-de.org (media-cdn.ubuntu-de.org)«... 2001:780:0:25:dead:beef:cafe:1, 213.95.41.4
Verbindungsaufbau zu media-cdn.ubuntu-de.org (media-cdn.ubuntu-de.org)|2001:780:0:25:dead:beef:cafe:1|:443... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 820 [application/octet-stream]
In »»backports/v4.4_get_user_pages.patch«« speichern.
backports/v4.4_get_ 100%[===================>] 820 --.-KB/s in 0s
2019-03-23 07:35:57 (197 MB/s) - »backports/v4.4_get_user_pages.patch« gespeichert [820/820]
andreas@andreas-System-Product-Name:~/media_build$ cd linux
andreas@andreas-System-Product-Name:~/media_build/linux$ patch -s -f -N -p1 -i ../backports/v4.4_get_user_pages.patch
andreas@andreas-System-Product-Name:~/media_build/linux$ cd ..
andreas@andreas-System-Product-Name:~/media_build$ cat v4l/videobuf-dma-sg.c | grep -i "get_user_pages(" -A3
err = get_user_pages(current, current->mm,
data & PAGE_MASK, dma->nr_pages,
flags, dma->pages, NULL);
andreas@andreas-System-Product-Name:~/media_build$ make
make -C /home/andreas/media_build/v4l
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.4.0-143-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Sync'ing file drivers/media/v4l2-core/videobuf-dma-sg.c (orig = 61100ddef6818e0b9b734d80d4456872c1e2b0ff, copy = d89384fe314306efad2d6119d1fe9c0a72268536, patched = 41813676fb09674ccf8c3ebed30915e1f365fd77)
sync patched file drivers/media/usb/gspca/gl860/gl860.c
sync patched file drivers/media/usb/gspca/m5602/m5602_s5k83a.c
sync patched file drivers/media/rc/nuvoton-cir.c
sync patched file drivers/media/rc/serial_ir.c
sync patched file drivers/media/v4l2-core/v4l2-ioctl.c
sync patched file drivers/media/dvb-frontends/nxt200x.c
sync patched file drivers/media/dvb-frontends/rtl2830.c
sync patched file drivers/media/platform/sti/bdisp/bdisp-hw.c
sync patched file drivers/media/usb/gspca/sq930x.c
sync patched file drivers/media/usb/gspca/t613.c
sync patched file drivers/media/usb/gspca/m5602/m5602_mt9m111.c
sync patched file drivers/media/pci/saa7146/hexium_orion.c
sync patched file drivers/media/platform/exynos4-is/fimc-isp.c
sync patched file drivers/media/usb/gspca/m5602/m5602_s5k4aa.c
sync patched file drivers/media/usb/gspca/spca561.c
sync patched file drivers/media/pci/cobalt/cobalt-driver.h
sync patched file drivers/media/v4l2-core/videobuf-dma-sg.c
sync patched file drivers/media/platform/s5p-mfc/s5p_mfc_debug.h
sync patched file drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c
sync patched file drivers/media/usb/gspca/ov534_9.c
sync patched file drivers/media/pci/cx25821/cx25821-audio-upstream.c
sync patched file drivers/media/usb/gspca/spca1528.c
sync patched file drivers/media/dvb-frontends/dib7000p.c
sync patched file drivers/media/pci/bt8xx/bttv-driver.c
sync patched file drivers/media/usb/gspca/cpia1.c
sync patched file drivers/media/common/saa7146/saa7146_i2c.c
sync patched file drivers/media/pci/cx25821/cx25821-video-upstream.c
sync patched file drivers/media/dvb-frontends/cxd2820r_core.c
sync patched file drivers/media/dvb-frontends/dib7000m.c
sync patched file drivers/media/usb/gspca/m5602/m5602_ov9650.c
sync patched file drivers/media/dvb-frontends/lgdt3306a.c
sync patched file drivers/media/pci/saa7146/mxb.c
sync patched file drivers/media/usb/gspca/dtcs033.c
sync patched file drivers/media/pci/ivtv/ivtv-yuv.c
sync patched file drivers/media/usb/gspca/mr97310a.c
sync patched file drivers/media/v4l2-core/videobuf2-dma-sg.c
sync patched file drivers/media/platform/s3c-camif/camif-regs.c
sync patched file drivers/media/common/saa7146/saa7146_video.c
sync patched file drivers/media/dvb-frontends/rtl2832_priv.h
sync patched file drivers/media/usb/go7007/go7007-usb.c
sync patched file drivers/media/usb/gspca/m5602/m5602_po1030.c
sync patched file drivers/media/v4l2-core/videobuf2-memops.c
sync patched file drivers/media/dvb-frontends/rtl2832.c
sync patched file drivers/media/v4l2-core/v4l2-dev.c
sync patched file drivers/media/dvb-frontends/or51211.c
sync patched file drivers/media/tuners/tea5767.c
sync patched file drivers/media/usb/gspca/sunplus.c
sync patched file drivers/media/pci/bt8xx/dst.c
sync patched file drivers/staging/media/lirc/lirc_sasem.c
sync patched file drivers/media/dvb-frontends/dib3000mb.c
sync patched file drivers/media/usb/gspca/finepix.c
sync patched file drivers/staging/media/lirc/lirc_sir.c
sync patched file drivers/media/pci/ivtv/ivtv-udma.c
sync patched file drivers/media/pci/cx25821/cx25821-video.c
sync patched file drivers/media/dvb-frontends/m88ds3103_priv.h
sync patched file drivers/media/usb/gspca/sq905c.c
sync patched file drivers/media/usb/gspca/w996Xcf.c
sync patched file drivers/media/media-devnode.c
sync patched file drivers/staging/media/lirc/lirc_bt829.c
sync patched file drivers/media/dvb-core/dvb_frontend.c
sync patched file drivers/media/dvb-core/dvb_ca_en50221.c
sync patched file drivers/media/usb/gspca/stk1135.c
sync patched file drivers/media/pci/bt8xx/btcx-risc.c
sync patched file drivers/media/dvb-frontends/rtl2832.h
sync patched file drivers/media/pci/bt8xx/bttv-i2c.c
sync patched file drivers/media/platform/s3c-camif/camif-core.c
sync patched file drivers/media/pci/bt8xx/bttv-gpio.c
sync patched file drivers/media/pci/saa7134/saa7134.h
sync patched file drivers/media/media-device.c
sync patched file drivers/staging/media/lirc/lirc_imon.c
sync patched file include/media/videobuf2-dma-contig.h
sync patched file drivers/media/usb/dvb-usb-v2/rtl28xxu.c
sync patched file drivers/media/rc/winbond-cir.c
sync patched file drivers/media/pci/bt8xx/bttv-risc.c
sync patched file drivers/media/pci/cx25821/cx25821-cards.c
sync patched file drivers/media/usb/gspca/benq.c
sync patched file include/media/videobuf2-core.h
sync patched file drivers/media/rc/lirc_dev.c
sync patched file drivers/media/dvb-frontends/nxt6000.c
sync patched file drivers/media/usb/gspca/se401.c
sync patched file drivers/media/usb/gspca/sn9c20x.c
sync patched file drivers/media/platform/exynos4-is/fimc-is.c
sync patched file drivers/media/pci/cx25821/cx25821-alsa.c
sync patched file drivers/media/usb/gspca/sonixj.c
sync patched file drivers/media/common/siano/smscoreapi.h
sync patched file drivers/media/usb/gspca/konica.c
sync patched file drivers/media/common/saa7146/saa7146
sync patched file drivers/media/pci/bt8xx/bttv-input.c
sync patched file drivers/media/pci/bt8xx/bttv-cards.c
sync patched file drivers/media/usb/em28xx/em28xx-dvb.c
sync patched file drivers/media/v4l2-core/videobuf2-dma-contig.c
sync patched file drivers/media/usb/gspca/m5602/m5602_ov7660.c
sync patched file drivers/media/dvb-frontends/rtl2832_sdr.c
sync patched file drivers/media/pci/bt8xx/dvb-bt8xx.c
sync patched file drivers/media/usb/au0828/au0828.h
sync patched file drivers/media/usb/gspca/stv0680.c
sync patched file drivers/media/common/tveeprom.c
sync patched file drivers/media/pci/cobalt/cobalt-driver.c
sync patched file drivers/media/dvb-frontends/rtl2832_sdr.h
sync patched file drivers/media/usb/gspca/pac207.c
sync patched file drivers/media/usb/gspca/mars.c
sync patched file drivers/media/dvb-frontends/drx39xyj/drxj.c
sync patched file drivers/media/usb/gspca/m5602/m5602_core.c
sync patched file drivers/media/usb/gspca/conex.c
sync patched file drivers/media/usb/gspca/sn9c2028.c
sync patched file drivers/media/usb/gspca/topro.c
sync patched file drivers/media/usb/gspca/stk014.c
sync patched file drivers/media/usb/uvc/uvc_video.c
sync patched file drivers/media/dvb-frontends/dib8000.c
sync patched file drivers/media/pci/pt3/pt3.c
sync patched file drivers/media/usb/gspca/nw80x.c
sync patched file drivers/media/dvb-core/dmxdev.c
sync patched file drivers/media/dvb-frontends/dib0090.c
sync patched file drivers/media/pci/saa7146/hexium_gemini.c
sync patched file drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c
sync patched file drivers/media/usb/uvc/uvc_driver.c
sync patched file drivers/media/dvb-frontends/rtl2830_priv.h
sync patched file drivers/media/dvb-frontends/si2168_priv.h
sync patched file drivers/media/usb/cx231xx/cx231xx-core.c
sync patched file drivers/media/usb/gspca/stv06xx/stv06xx.c
sync patched file drivers/media/dvb-frontends/dib0070.c
sync patched file drivers/media/dvb-frontends/gp8psk-fe.c
sync patched file drivers/media/usb/gspca/spca508.c
sync patched file drivers/media/pci/ttpci/budget-av.c
sync patched file drivers/media/pci/cx23885/altera-ci.c
sync patched file drivers/media/dvb-core/dvb_net.c
sync patched file drivers/media/platform/s3c-camif/camif-capture.c
sync patched file drivers/media/pci/bt8xx/bttv-vbi.c
sync patched file drivers/media/dvb-core/dvbdev.c
sync patched file drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c
sync patched file drivers/media/usb/gspca/jeilinj.c
sync patched file drivers/media/usb/gspca/ov534.c
sync patched file drivers/media/dvb-frontends/dib9000.c
sync patched file drivers/media/pci/cx23885/cx23885.h
sync patched file drivers/media/usb/gspca/etoms.c
sync patched file drivers/media/rc/imon.c
sync patched file drivers/media/usb/cx231xx/cx231xx.h
sync patched file drivers/media/usb/gspca/pac7302.c
sync patched file drivers/media/tuners/tda18271-priv.h
sync patched file drivers/media/pci/ivtv/ivtvfb.c
sync patched file drivers/media/usb/gspca/spca505.c
sync patched file drivers/media/dvb-core/dvb_demux.c
sync patched file drivers/media/dvb-frontends/dibx000_common.c
sync patched file drivers/media/v4l2-core/videobuf2-vmalloc.c
sync patched file drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c
sync patched file drivers/media/platform/exynos4-is/fimc-is-param.c
sync patched file drivers/media/usb/gspca/vc032x.c
sync patched file drivers/media/dvb-frontends/m88ds3103.c
sync patched file drivers/media/usb/gspca/xirlink_cit.c
sync patched file drivers/media/dvb-frontends/dib3000mc.c
sync patched file drivers/media/usb/cx231xx/cx231xx-i2c.c
sync patched file drivers/media/usb/gspca/gspca.c
sync patched file drivers/media/common/saa7146/saa7146_fops.c
sync patched file drivers/media/rc/rc-main.c
sync patched file drivers/media/pci/ttpci/av7110_v4l.c
sync patched file drivers/media/usb/gspca/spca501.c
sync patched file drivers/media/usb/gspca/zc3xx.c
sync patched file drivers/media/pci/cx88/cx88.h
sync patched file drivers/media/rc/fintek-cir.c
sync patched file drivers/media/rc/ir-rx51.c
sync patched file drivers/media/dvb-frontends/si2168.c
sync patched file drivers/media/pci/cx88/cx88-input.c
sync patched file drivers/media/usb/gspca/vicam.c
sync patched file drivers/media/common/saa7146/saa7146_core.c
sync patched file drivers/media/usb/gspca/pac7311.c
sync patched file drivers/media/rc/ene_ir.c
sync patched file drivers/media/usb/gspca/ov519.c
sync patched file drivers/media/pci/cx25821/cx25821-core.c
sync patched file drivers/media/pci/cx25821/cx25821-i2c.c
sync patched file drivers/media/usb/gspca/spca500.c
sync patched file drivers/media/usb/gspca/sq905.c
sync patched file drivers/media/dvb-frontends/drxk_hard.c
sync patched file drivers/media/usb/gspca/kinect.c
sync patched file drivers/media/dvb-frontends/dvb-pll.c
sync patched file drivers/staging/media/lirc/lirc_parallel.c
sync patched file drivers/media/pci/cx25821/cx25821-medusa-video.c
Applying patches for kernel 4.4.0-143-generic
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.9_mm_address.patch
patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.patch
patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
patch -s -f -N -p1 -i ../backports/v4.7_pci_alloc_irq_vectors.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
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/andreas/media_build/linux'
make -C /lib/modules/4.4.0-143-generic/build SUBDIRS=/home/andreas/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-143-generic'
CC [M] /home/andreas/media_build/v4l/imx074.o
CC [M] /home/andreas/media_build/v4l/mt9m001.o
CC [M] /home/andreas/media_build/v4l/mt9t031.o
CC [M] /home/andreas/media_build/v4l/mt9t112.o
^Cmake[3]: *** Datei „/home/andreas/media_build/v4l/mt9t112.o“ wird gelöscht
scripts/Makefile.build:291: die Regel für Ziel „/home/andreas/media_build/v4l/mt9t112.o“ scheiterte
make[3]: *** [/home/andreas/media_build/v4l/mt9t112.o] Unterbrechung
Makefile:1454: recipe for target '_module_/home/andreas/media_build/v4l' failed
make[2]: *** [_module_/home/andreas/media_build/v4l] Interrupt
Makefile:51: die Regel für Ziel „default“ scheiterte
make[1]: *** [default] Unterbrechung
Makefile:26: die Regel für Ziel „all“ scheiterte
make: *** [all] Unterbrechung
andreas@andreas-System-Product-Name:~/media_build$ sed -i 's/# CONFIG_DVB_SAA716X_BUDGET is not set/CONFIG_DVB_SAA716X_BUDGET=m/' ./v4l/.config
andreas@andreas-System-Product-Name:~/media_build$ make
make -C /home/andreas/media_build/v4l
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.4.0-143-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
make -C firmware prep
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make -C firmware
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
make[2]: Nothing to be done for 'default'.
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
Kernel build directory is /lib/modules/4.4.0-143-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/andreas/media_build/linux'
Syncing with dir ../../media
Patches for 4.4.0-143-generic already applied.
make[2]: Leaving directory '/home/andreas/media_build/linux'
make -C /lib/modules/4.4.0-143-generic/build SUBDIRS=/home/andreas/media_build/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-143-generic'
CC [M] /home/andreas/media_build/v4l/cec-edid.o
CC [M] /home/andreas/media_build/v4l/cec-core.o
CC [M] /home/andreas/media_build/v4l/cec-adap.o
CC [M] /home/andreas/media_build/v4l/cec-api.o
LD [M] /home/andreas/media_build/v4l/cec.o
CC [M] /home/andreas/media_build/v4l/msp3400-driver.o
CC [M] /home/andreas/media_build/v4l/msp3400-kthreads.o
LD [M] /home/andreas/media_build/v4l/msp3400.o
CC [M] /home/andreas/media_build/v4l/smiapp-core.o
CC [M] /home/andreas/media_build/v4l/smiapp-regs.o
CC [M] /home/andreas/media_build/v4l/smiapp-quirk.o
CC [M] /home/andreas/media_build/v4l/smiapp-limits.o
LD [M] /home/andreas/media_build/v4l/smiapp.o
CC [M] /home/andreas/media_build/v4l/cx25840-core.o
CC [M] /home/andreas/media_build/v4l/cx25840-audio.o
CC [M] /home/andreas/media_build/v4l/cx25840-firmware.o
CC [M] /home/andreas/media_build/v4l/cx25840-vbi.o
CC [M] /home/andreas/media_build/v4l/cx25840-ir.o
LD [M] /home/andreas/media_build/v4l/cx25840.o
CC [M] /home/andreas/media_build/v4l/m5mols_core.o
CC [M] /home/andreas/media_build/v4l/m5mols_controls.o
CC [M] /home/andreas/media_build/v4l/m5mols_capture.o
LD [M] /home/andreas/media_build/v4l/m5mols.o
CC [M] /home/andreas/media_build/v4l/imx074.o
CC [M] /home/andreas/media_build/v4l/mt9m001.o
CC [M] /home/andreas/media_build/v4l/mt9t031.o
CC [M] /home/andreas/media_build/v4l/mt9t112.o
CC [M] /home/andreas/media_build/v4l/mt9v022.o
CC [M] /home/andreas/media_build/v4l/ov2640.o
CC [M] /home/andreas/media_build/v4l/ov5642.o
CC [M] /home/andreas/media_build/v4l/ov6650.o
CC [M] /home/andreas/media_build/v4l/ov772x.o
CC [M] /home/andreas/media_build/v4l/ov9640.o
CC [M] /home/andreas/media_build/v4l/ov9740.o
CC [M] /home/andreas/media_build/v4l/rj54n1cb0c.o
CC [M] /home/andreas/media_build/v4l/tw9910.o
CC [M] /home/andreas/media_build/v4l/aptina-pll.o
CC [M] /home/andreas/media_build/v4l/tvaudio.o
CC [M] /home/andreas/media_build/v4l/tda7432.o
CC [M] /home/andreas/media_build/v4l/saa6588.o
CC [M] /home/andreas/media_build/v4l/tda9840.o
CC [M] /home/andreas/media_build/v4l/tea6415c.o
CC [M] /home/andreas/media_build/v4l/tea6420.o
CC [M] /home/andreas/media_build/v4l/saa7110.o
CC [M] /home/andreas/media_build/v4l/saa7115.o
CC [M] /home/andreas/media_build/v4l/saa717x.o
CC [M] /home/andreas/media_build/v4l/saa7127.o
CC [M] /home/andreas/media_build/v4l/saa7185.o
CC [M] /home/andreas/media_build/v4l/saa6752hs.o
CC [M] /home/andreas/media_build/v4l/ad5820.o
CC [M] /home/andreas/media_build/v4l/adv7170.o
CC [M] /home/andreas/media_build/v4l/adv7175.o
CC [M] /home/andreas/media_build/v4l/adv7180.o
CC [M] /home/andreas/media_build/v4l/adv7183.o
CC [M] /home/andreas/media_build/v4l/adv7343.o
CC [M] /home/andreas/media_build/v4l/adv7393.o
CC [M] /home/andreas/media_build/v4l/adv7604.o
CC [M] /home/andreas/media_build/v4l/adv7842.o
CC [M] /home/andreas/media_build/v4l/ad9389b.o
CC [M] /home/andreas/media_build/v4l/adv7511.o
CC [M] /home/andreas/media_build/v4l/vpx3220.o
CC [M] /home/andreas/media_build/v4l/vs6624.o
CC [M] /home/andreas/media_build/v4l/bt819.o
CC [M] /home/andreas/media_build/v4l/bt856.o
CC [M] /home/andreas/media_build/v4l/bt866.o
CC [M] /home/andreas/media_build/v4l/ks0127.o
CC [M] /home/andreas/media_build/v4l/ths7303.o
CC [M] /home/andreas/media_build/v4l/ths8200.o
CC [M] /home/andreas/media_build/v4l/tvp5150.o
CC [M] /home/andreas/media_build/v4l/tvp514x.o
CC [M] /home/andreas/media_build/v4l/tvp7002.o
CC [M] /home/andreas/media_build/v4l/tw2804.o
CC [M] /home/andreas/media_build/v4l/tw9903.o
CC [M] /home/andreas/media_build/v4l/tw9906.o
CC [M] /home/andreas/media_build/v4l/cs3308.o
CC [M] /home/andreas/media_build/v4l/cs5345.o
CC [M] /home/andreas/media_build/v4l/cs53l32a.o
CC [M] /home/andreas/media_build/v4l/m52790.o
CC [M] /home/andreas/media_build/v4l/tlv320aic23b.o
CC [M] /home/andreas/media_build/v4l/uda1342.o
CC [M] /home/andreas/media_build/v4l/wm8775.o
CC [M] /home/andreas/media_build/v4l/wm8739.o
CC [M] /home/andreas/media_build/v4l/vp27smpx.o
CC [M] /home/andreas/media_build/v4l/sony-btf-mpx.o
CC [M] /home/andreas/media_build/v4l/upd64031a.o
CC [M] /home/andreas/media_build/v4l/upd64083.o
CC [M] /home/andreas/media_build/v4l/ov7640.o
CC [M] /home/andreas/media_build/v4l/ov7670.o
CC [M] /home/andreas/media_build/v4l/ov9650.o
CC [M] /home/andreas/media_build/v4l/mt9m032.o
CC [M] /home/andreas/media_build/v4l/mt9m111.o
CC [M] /home/andreas/media_build/v4l/mt9p031.o
CC [M] /home/andreas/media_build/v4l/mt9t001.o
CC [M] /home/andreas/media_build/v4l/mt9v011.o
CC [M] /home/andreas/media_build/v4l/mt9v032.o
CC [M] /home/andreas/media_build/v4l/sr030pc30.o
CC [M] /home/andreas/media_build/v4l/noon010pc30.o
CC [M] /home/andreas/media_build/v4l/s5k6aa.o
CC [M] /home/andreas/media_build/v4l/s5k6a3.o
CC [M] /home/andreas/media_build/v4l/s5k4ecgx.o
CC [M] /home/andreas/media_build/v4l/s5k5baf.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-core.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-spi.o
CC [M] /home/andreas/media_build/v4l/s5c73m3-ctrls.o
LD [M] /home/andreas/media_build/v4l/s5c73m3.o
CC [M] /home/andreas/media_build/v4l/adp1653.o
CC [M] /home/andreas/media_build/v4l/as3645a.o
CC [M] /home/andreas/media_build/v4l/lm3560.o
CC [M] /home/andreas/media_build/v4l/lm3646.o
CC [M] /home/andreas/media_build/v4l/smiapp-pll.o
CC [M] /home/andreas/media_build/v4l/ak881x.o
CC [M] /home/andreas/media_build/v4l/ir-kbd-i2c.o
CC [M] /home/andreas/media_build/v4l/ml86v7667.o
CC [M] /home/andreas/media_build/v4l/ov2659.o
CC [M] /home/andreas/media_build/v4l/tc358743.o
CC [M] /home/andreas/media_build/v4l/tuner-xc2028.o
CC [M] /home/andreas/media_build/v4l/tuner-simple.o
CC [M] /home/andreas/media_build/v4l/tuner-types.o
CC [M] /home/andreas/media_build/v4l/mt20xx.o
CC [M] /home/andreas/media_build/v4l/tda8290.o
CC [M] /home/andreas/media_build/v4l/tea5767.o
CC [M] /home/andreas/media_build/v4l/tea5761.o
CC [M] /home/andreas/media_build/v4l/tda9887.o
CC [M] /home/andreas/media_build/v4l/tda827x.o
CC [M] /home/andreas/media_build/v4l/tda18271-maps.o
CC [M] /home/andreas/media_build/v4l/tda18271-common.o
CC [M] /home/andreas/media_build/v4l/tda18271-fe.o
LD [M] /home/andreas/media_build/v4l/tda18271.o
CC [M] /home/andreas/media_build/v4l/tda18273.o
CC [M] /home/andreas/media_build/v4l/xc5000.o
CC [M] /home/andreas/media_build/v4l/xc4000.o
CC [M] /home/andreas/media_build/v4l/msi001.o
CC [M] /home/andreas/media_build/v4l/mt2060.o
CC [M] /home/andreas/media_build/v4l/mt2063.o
CC [M] /home/andreas/media_build/v4l/mt2266.o
CC [M] /home/andreas/media_build/v4l/qt1010.o
CC [M] /home/andreas/media_build/v4l/mt2131.o
CC [M] /home/andreas/media_build/v4l/mxl5005s.o
CC [M] /home/andreas/media_build/v4l/mxl5007t.o
CC [M] /home/andreas/media_build/v4l/mc44s803.o
CC [M] /home/andreas/media_build/v4l/max2165.o
CC [M] /home/andreas/media_build/v4l/tda18218.o
CC [M] /home/andreas/media_build/v4l/tda18212.o
CC [M] /home/andreas/media_build/v4l/e4000.o
CC [M] /home/andreas/media_build/v4l/fc2580.o
CC [M] /home/andreas/media_build/v4l/tua9001.o
CC [M] /home/andreas/media_build/v4l/si2157.o
CC [M] /home/andreas/media_build/v4l/fc0011.o
CC [M] /home/andreas/media_build/v4l/fc0012.o
CC [M] /home/andreas/media_build/v4l/fc0013.o
CC [M] /home/andreas/media_build/v4l/it913x.o
CC [M] /home/andreas/media_build/v4l/r820t.o
CC [M] /home/andreas/media_build/v4l/mxl301rf.o
CC [M] /home/andreas/media_build/v4l/qm1d1c0042.o
CC [M] /home/andreas/media_build/v4l/m88rs6000t.o
CC [M] /home/andreas/media_build/v4l/av201x.o
CC [M] /home/andreas/media_build/v4l/stv6120.o
/home/andreas/media_build/v4l/stv6120.c: In function 'init_regs':
/home/andreas/media_build/v4l/stv6120.c:195:6: warning: unused variable 'bbmode' [-Wunused-variable]
u32 bbmode = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:194:6: warning: unused variable 'agcset' [-Wunused-variable]
u32 agcset = 0xffffffff;
^
/home/andreas/media_build/v4l/stv6120.c:193:6: warning: unused variable 'agcref' [-Wunused-variable]
u32 agcref = 2;
^
/home/andreas/media_build/v4l/stv6120.c:192:6: warning: unused variable 'agcmode' [-Wunused-variable]
u32 agcmode = 0;
^
/home/andreas/media_build/v4l/stv6120.c:191:6: warning: unused variable 'clkdiv' [-Wunused-variable]
u32 clkdiv = 0;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'set_lof':
/home/andreas/media_build/v4l/stv6120.c:324:6: warning: unused variable 'freq' [-Wunused-variable]
u32 freq = Frequency;
^
/home/andreas/media_build/v4l/stv6120.c:322:10: warning: unused variable 'tmp' [-Wunused-variable]
u8 Icp, tmp;
^
/home/andreas/media_build/v4l/stv6120.c:321:13: warning: unused variable 'psel' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c:321:6: warning: unused variable 'p' [-Wunused-variable]
u32 p = 1, psel = 0, fvco, div, frac;
^
/home/andreas/media_build/v4l/stv6120.c: In function 'stv6120_attach':
/home/andreas/media_build/v4l/stv6120.c:547:6: warning: unused variable 'stat' [-Wunused-variable]
int stat = 0;
^
/home/andreas/media_build/v4l/stv6120.c: At top level:
/home/andreas/media_build/v4l/stv6120.c:145:12: warning: 'read_regs' defined but not used [-Wunused-function]
static int read_regs(struct stv *state, u8 reg, u8 *val, int len)
^
/home/andreas/media_build/v4l/stv6120.c:445:12: warning: 'get_frequency' defined but not used [-Wunused-function]
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:451:12: warning: 'AGC_Gain' defined but not used [-Wunused-variable]
static u32 AGC_Gain[] = {
^
/home/andreas/media_build/v4l/stv6120.c:484:12: warning: 'get_rf_strength' defined but not used [-Wunused-function]
static int get_rf_strength(struct dvb_frontend *fe, u16 *st)
^
/home/andreas/media_build/v4l/stv6120.c:502:12: warning: 'get_if' defined but not used [-Wunused-function]
static int get_if(struct dvb_frontend *fe, u32 *frequency)
^
/home/andreas/media_build/v4l/stv6120.c:508:12: warning: 'get_bandwidth' defined but not used [-Wunused-function]
static int get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
^
CC [M] /home/andreas/media_build/v4l/r848.o
/home/andreas/media_build/v4l/r848.c: In function 'R848_SysFreq_Sel':
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M' not handled in switch [-Wswitch]
switch(R848_Standard) {
^
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_4570' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6000' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_6M_BW_IF_4500' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_S' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_7M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_T_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_8M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DVB_C_6M_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_J83B_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ISDB_T_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_DTMB_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_ATSC_IF_5M' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_FM' not handled in switch [-Wswitch]
/home/andreas/media_build/v4l/r848.c:2796:5: warning: enumeration value 'R848_STD_SIZE' not handled in switch [-Wswitch]
CC [M] /home/andreas/media_build/v4l/dvb-pll.o
CC [M] /home/andreas/media_build/v4l/stv0299.o
CC [M] /home/andreas/media_build/v4l/stb0899_drv.o
CC [M] /home/andreas/media_build/v4l/stb0899_algo.o
LD [M] /home/andreas/media_build/v4l/stb0899.o
CC [M] /home/andreas/media_build/v4l/stb6100.o
CC [M] /home/andreas/media_build/v4l/sp8870.o
CC [M] /home/andreas/media_build/v4l/cx22700.o
CC [M] /home/andreas/media_build/v4l/s5h1432.o
CC [M] /home/andreas/media_build/v4l/cx24110.o
CC [M] /home/andreas/media_build/v4l/tda8083.o
CC [M] /home/andreas/media_build/v4l/l64781.o
CC [M] /home/andreas/media_build/v4l/dib3000mb.o
CC [M] /home/andreas/media_build/v4l/dib3000mc.o
CC [M] /home/andreas/media_build/v4l/dibx000_common.o
CC [M] /home/andreas/media_build/v4l/dib7000m.o
CC [M] /home/andreas/media_build/v4l/dib7000p.o
CC [M] /home/andreas/media_build/v4l/dib8000.o
CC [M] /home/andreas/media_build/v4l/dib9000.o
CC [M] /home/andreas/media_build/v4l/mt312.o
CC [M] /home/andreas/media_build/v4l/ves1820.o
CC [M] /home/andreas/media_build/v4l/ves1x93.o
CC [M] /home/andreas/media_build/v4l/tda1004x.o
CC [M] /home/andreas/media_build/v4l/sp887x.o
CC [M] /home/andreas/media_build/v4l/nxt6000.o
CC [M] /home/andreas/media_build/v4l/mt352.o
CC [M] /home/andreas/media_build/v4l/zl10036.o
CC [M] /home/andreas/media_build/v4l/zl10039.o
CC [M] /home/andreas/media_build/v4l/zl10353.o
CC [M] /home/andreas/media_build/v4l/cx22702.o
CC [M] /home/andreas/media_build/v4l/drxd_firm.o
CC [M] /home/andreas/media_build/v4l/drxd_hard.o
LD [M] /home/andreas/media_build/v4l/drxd.o
CC [M] /home/andreas/media_build/v4l/tda10021.o
CC [M] /home/andreas/media_build/v4l/tda10023.o
CC [M] /home/andreas/media_build/v4l/stv0297.o
CC [M] /home/andreas/media_build/v4l/nxt200x.o
CC [M] /home/andreas/media_build/v4l/or51211.o
CC [M] /home/andreas/media_build/v4l/or51132.o
CC [M] /home/andreas/media_build/v4l/bcm3510.o
CC [M] /home/andreas/media_build/v4l/s5h1420.o
CC [M] /home/andreas/media_build/v4l/lgdt330x.o
CC [M] /home/andreas/media_build/v4l/lgdt3305.o
CC [M] /home/andreas/media_build/v4l/lgdt3306a.o
CC [M] /home/andreas/media_build/v4l/lg2160.o
CC [M] /home/andreas/media_build/v4l/cx24123.o
CC [M] /home/andreas/media_build/v4l/lnbh25.o
CC [M] /home/andreas/media_build/v4l/lnbp21.o
CC [M] /home/andreas/media_build/v4l/lnbp22.o
CC [M] /home/andreas/media_build/v4l/isl6405.o
CC [M] /home/andreas/media_build/v4l/isl6421.o
CC [M] /home/andreas/media_build/v4l/tda10086.o
CC [M] /home/andreas/media_build/v4l/tda826x.o
CC [M] /home/andreas/media_build/v4l/tda8261.o
CC [M] /home/andreas/media_build/v4l/dib0070.o
CC [M] /home/andreas/media_build/v4l/dib0090.o
CC [M] /home/andreas/media_build/v4l/tua6100.o
CC [M] /home/andreas/media_build/v4l/s5h1409.o
CC [M] /home/andreas/media_build/v4l/itd1000.o
CC [M] /home/andreas/media_build/v4l/au8522_common.o
CC [M] /home/andreas/media_build/v4l/au8522_dig.o
CC [M] /home/andreas/media_build/v4l/au8522_decoder.o
CC [M] /home/andreas/media_build/v4l/tda10048.o
CC [M] /home/andreas/media_build/v4l/cx24113.o
CC [M] /home/andreas/media_build/v4l/s5h1411.o
CC [M] /home/andreas/media_build/v4l/lgs8gl5.o
CC [M] /home/andreas/media_build/v4l/tda665x.o
CC [M] /home/andreas/media_build/v4l/lgs8gxx.o
CC [M] /home/andreas/media_build/v4l/atbm8830.o
CC [M] /home/andreas/media_build/v4l/dvb_dummy_fe.o
CC [M] /home/andreas/media_build/v4l/af9013.o
CC [M] /home/andreas/media_build/v4l/cx24116.o
CC [M] /home/andreas/media_build/v4l/cx24117.o
CC [M] /home/andreas/media_build/v4l/cx24120.o
CC [M] /home/andreas/media_build/v4l/si21xx.o
CC [M] /home/andreas/media_build/v4l/si2168.o
CC [M] /home/andreas/media_build/v4l/stv0288.o
CC [M] /home/andreas/media_build/v4l/stb6000.o
CC [M] /home/andreas/media_build/v4l/s921.o
CC [M] /home/andreas/media_build/v4l/stv6110.o
CC [M] /home/andreas/media_build/v4l/stv0900_core.o
CC [M] /home/andreas/media_build/v4l/stv0900_sw.o
LD [M] /home/andreas/media_build/v4l/stv0900.o
CC [M] /home/andreas/media_build/v4l/stv090x.o
CC [M] /home/andreas/media_build/v4l/stv6110x.o
CC [M] /home/andreas/media_build/v4l/m88ds3103.o
CC [M] /home/andreas/media_build/v4l/mn88472.o
CC [M] /home/andreas/media_build/v4l/mn88473.o
CC [M] /home/andreas/media_build/v4l/isl6422.o
CC [M] /home/andreas/media_build/v4l/isl6423.o
CC [M] /home/andreas/media_build/v4l/ec100.o
CC [M] /home/andreas/media_build/v4l/hd29l2.o
CC [M] /home/andreas/media_build/v4l/ds3000.o
CC [M] /home/andreas/media_build/v4l/ts2020.o
CC [M] /home/andreas/media_build/v4l/mb86a16.o
CC [M] /home/andreas/media_build/v4l/drxj.o
LD [M] /home/andreas/media_build/v4l/drx39xyj.o
CC [M] /home/andreas/media_build/v4l/mb86a20s.o
CC [M] /home/andreas/media_build/v4l/ix2505v.o
CC [M] /home/andreas/media_build/v4l/stv0367.o
CC [M] /home/andreas/media_build/v4l/cxd2841er.o
CC [M] /home/andreas/media_build/v4l/drxk_hard.o
LD [M] /home/andreas/media_build/v4l/drxk.o
CC [M] /home/andreas/media_build/v4l/tda18271c2dd.o
CC [M] /home/andreas/media_build/v4l/si2165.o
CC [M] /home/andreas/media_build/v4l/a8293.o
CC [M] /home/andreas/media_build/v4l/sp2.o
CC [M] /home/andreas/media_build/v4l/tda10071.o
CC [M] /home/andreas/media_build/v4l/rtl2830.o
CC [M] /home/andreas/media_build/v4l/rtl2832.o
CC [M] /home/andreas/media_build/v4l/rtl2832_sdr.o
CC [M] /home/andreas/media_build/v4l/m88rs2000.o
CC [M] /home/andreas/media_build/v4l/af9033.o
CC [M] /home/andreas/media_build/v4l/as102_fe.o
CC [M] /home/andreas/media_build/v4l/gp8psk-fe.o
CC [M] /home/andreas/media_build/v4l/tc90522.o
CC [M] /home/andreas/media_build/v4l/horus3a.o
CC [M] /home/andreas/media_build/v4l/ascot2e.o
CC [M] /home/andreas/media_build/v4l/helene.o
CC [M] /home/andreas/media_build/v4l/tas2101.o
CC [M] /home/andreas/media_build/v4l/mxl5xx.o
/home/andreas/media_build/v4l/mxl5xx.c: In function 'config_ts':
/home/andreas/media_build/v4l/mxl5xx.c:992:18: warning: unused variable 'mxl561_xpt_ts_valid' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_valid[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c:988:18: warning: unused variable 'mxl561_xpt_ts_sync' [-Wunused-variable]
MXL_REG_FIELD_T mxl561_xpt_ts_sync[MXL_HYDRA_DEMOD_ID_6] = {
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'load_fw':
/home/andreas/media_build/v4l/mxl5xx.c:1169:44: warning: passing argument 3 of 'firmware_download' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
stat = firmware_download(state, fw->size, fw->data);
^
/home/andreas/media_build/v4l/mxl5xx.c:776:12: note: expected 'u8 * {aka unsigned char *}' but argument is of type 'const u8 * const {aka const unsigned char * const}'
static int firmware_download(struct mxl *state, u32 mbinBufferSize,
^
/home/andreas/media_build/v4l/mxl5xx.c:1157:6: warning: unused variable 'buf' [-Wunused-variable]
u8 *buf;
^
/home/andreas/media_build/v4l/mxl5xx.c:1155:21: warning: unused variable 'cfg' [-Wunused-variable]
struct mxl5xx_cfg *cfg = state->base->cfg;
^
/home/andreas/media_build/v4l/mxl5xx.c: In function 'probe':
/home/andreas/media_build/v4l/mxl5xx.c:1226:28: warning: unused variable 'mpegInterfaceCfg' [-Wunused-variable]
MXL_HYDRA_MPEGOUT_PARAM_T mpegInterfaceCfg;
^
/home/andreas/media_build/v4l/mxl5xx.c:1225:18: warning: unused variable 'j' [-Wunused-variable]
int fw, status, j;
^
/home/andreas/media_build/v4l/mxl5xx.c: At top level:
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:231:12: warning: 'read_register_block' defined but not used [-Wunused-function]
static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data)
^
/home/andreas/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/andreas/media_build/v4l/mxl5xx.c:929: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
^
/home/andreas/media_build/v4l/mxl5xx.c:1117:12: warning: 'config_mux' defined but not used [-Wunused-function]
static int config_mux(struct mxl *state)
^
CC [M] /home/andreas/media_build/v4l/si2183.o
CC [M] /home/andreas/media_build/v4l/stv0910.o
CC [M] /home/andreas/media_build/v4l/avl6882.o
CC [M] /home/andreas/media_build/v4l/media-device.o
CC [M] /home/andreas/media_build/v4l/media-devnode.o
CC [M] /home/andreas/media_build/v4l/media-entity.o
LD [M] /home/andreas/media_build/v4l/media.o
CC [M] /home/andreas/media_build/v4l/v4l2-dev.o
CC [M] /home/andreas/media_build/v4l/v4l2-ioctl.o
CC [M] /home/andreas/media_build/v4l/v4l2-device.o
CC [M] /home/andreas/media_build/v4l/v4l2-fh.o
CC [M] /home/andreas/media_build/v4l/v4l2-event.o
CC [M] /home/andreas/media_build/v4l/v4l2-ctrls.o
CC [M] /home/andreas/media_build/v4l/v4l2-subdev.o
CC [M] /home/andreas/media_build/v4l/v4l2-clk.o
CC [M] /home/andreas/media_build/v4l/v4l2-async.o
CC [M] /home/andreas/media_build/v4l/v4l2-compat-ioctl32.o
CC [M] /home/andreas/media_build/v4l/vb2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-trace.o
CC [M] /home/andreas/media_build/v4l/v4l2-mc.o
LD [M] /home/andreas/media_build/v4l/videodev.o
CC [M] /home/andreas/media_build/v4l/v4l2-common.o
CC [M] /home/andreas/media_build/v4l/v4l2-dv-timings.o
CC [M] /home/andreas/media_build/v4l/tuner-core.o
LD [M] /home/andreas/media_build/v4l/tuner.o
CC [M] /home/andreas/media_build/v4l/v4l2-mem2mem.o
CC [M] /home/andreas/media_build/v4l/v4l2-flash-led-class.o
CC [M] /home/andreas/media_build/v4l/videobuf-core.o
CC [M] /home/andreas/media_build/v4l/videobuf-dma-sg.o
/home/andreas/media_build/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_init_user_locked':
/home/andreas/media_build/v4l/videobuf-dma-sg.c:186:21: warning: passing argument 6 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
rw == READ, 1, /* force */
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct page **' but argument is of type 'int'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:187:9: warning: passing argument 7 of 'get_user_pages' from incompatible pointer type [-Wincompatible-pointer-types]
dma->pages, NULL);
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
/home/andreas/media_build/v4l/videobuf-dma-sg.c:184:8: error: too many arguments to function 'get_user_pages'
err = get_user_pages(current, current->mm,
^
In file included from include/linux/scatterlist.h:7:0,
from include/linux/dma-mapping.h:10,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from /home/andreas/media_build/v4l/compat.h:1636,
from <command-line>:0:
include/linux/mm.h:1222:6: note: declared here
long get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
^
scripts/Makefile.build:291: die Regel für Ziel „/home/andreas/media_build/v4l/videobuf-dma-sg.o“ scheiterte
make[3]: *** [/home/andreas/media_build/v4l/videobuf-dma-sg.o] Fehler 1
Makefile:1454: recipe for target '_module_/home/andreas/media_build/v4l' failed
make[2]: *** [_module_/home/andreas/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-143-generic'
Makefile:51: die Regel für Ziel „default“ scheiterte
make[1]: *** [default] Fehler 2
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
Makefile:26: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
andreas@andreas-System-Product-Name:~/media_build$ sudo make install
[sudo] Passwort für andreas:
make -C /home/andreas/media_build/v4l install
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird betreten
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/gspca/gl860:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/uvc:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/tlg2300:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/em28xx:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/pwc:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/cx23885:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/firewire:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/cx18:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/pvrusb2:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/ttpci:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/ivtv:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/au0828:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/gspca:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/cx88:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/frontends:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/b2c2:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/common/tuners:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/ddbridge:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/ngene:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/zoran:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/common:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/usbvision:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/siano:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/hdpvr:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/saa7134:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/cx231xx:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/dvb-usb:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/mantis:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/pt1:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/bt8xx:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/cx25840:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/gspca/stv06xx:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/gspca/m5602:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/cx25821:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/dm1105:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/ttusb-budget:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/saa7164:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/ttusb-dec:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/pluto2:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/cpia2:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/dvb/dvb-core:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/tm6000:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/bt8xx:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/sn9c102:
Removing obsolete files from /lib/modules/4.4.0-143-generic/kernel/drivers/media/video/marvell-ccic:
Hmm... distro kernel with a non-standard place for module backports detected.
Please always prefer to use vanilla upstream kernel with V4L/DVB
I'll try to remove old/obsolete LUM files from /lib/modules/4.4.0-143-generic//updates/dkms:
Installing kernel modules under /lib/modules/4.4.0-143-generic/kernel/drivers/media/:
/sbin/depmod -a 4.4.0-143-generic
make -C firmware install
make[2]: Entering directory '/home/andreas/media_build/v4l/firmware'
Installing firmwares at /lib/firmware: vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory '/home/andreas/media_build/v4l/firmware'
make[1]: Verzeichnis „/home/andreas/media_build/v4l“ wird verlassen
andreas@andreas-System-Product-Name:~/media_build$