hg clone http://linuxtv.org/hg/~endriss/media_build_experimental^C martin@heltin:~$ cd Downloads martin@heltin:~/Downloads$ md S2-6400 md: Befehl nicht gefunden. martin@heltin:~/Downloads$ mkdir mkdir: fehlender Operand „mkdir --help“ liefert weitere Informationen. martin@heltin:~/Downloads$ mkdir S2-6400 martin@heltin:~/Downloads$ cd S2-6400 martin@heltin:~/Downloads/S2-6400$ hg clone http://linuxtv.org/hg/~endriss/media_build_experimental Zielverzeichnis: media_build_experimental Fordere alle Änderungen an Füge Änderungssätze hinzu Füge Manifeste hinzu Füge Dateiänderungen hinzu Fügte 330 Änderungssätze mit 825 Änderungen an 309 Dateien hinzu Aktualisiere auf Zweig default 256 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst martin@heltin:~/Downloads/S2-6400$ cd media_build_experimental/ martin@heltin:~/Downloads/S2-6400/media_build_experimental$ make distclean make -C /home/martin/Downloads/S2-6400/media_build_experimental/v4l distclean make[1]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' No version yet, using 3.16.0-23-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/martin/Downloads/S2-6400/media_build_experimental/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/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' rm -f .version .*.o.flags .*.o.d 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/martin/Downloads/S2-6400/media_build_experimental/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/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' make[1]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' martin@heltin:~/Downloads/S2-6400/media_build_experimental$ make download make -C linux/ download make[1]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' wget http://linuxtv.org/downloads/drivers/linux-media-2014-05-26-5ea8787.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp --2014-10-25 19:02:01-- http://linuxtv.org/downloads/drivers/linux-media-2014-05-26-5ea8787.tar.bz2.md5 Auflösen des Hostnamen »linuxtv.org (linuxtv.org)«... 130.149.80.248 Verbindungsaufbau zu linuxtv.org (linuxtv.org)|130.149.80.248|:80... verbunden. HTTP-Anforderung gesendet, warte auf Antwort... 200 OK Länge: 101 [application/x-bzip2] In »»linux-media.tar.bz2.md5.tmp«« speichern. 100%[=============================================================================>] 101 --.-K/s in 0s 2014-10-25 19:02:01 (23,8 MB/s) - »»linux-media.tar.bz2.md5.tmp«« gespeichert [101/101] cat: linux-media.tar.bz2.md5: Datei oder Verzeichnis nicht gefunden --2014-10-25 19:02:01-- http://linuxtv.org/downloads/drivers/linux-media-2014-05-26-5ea8787.tar.bz2 Auflösen des Hostnamen »linuxtv.org (linuxtv.org)«... 130.149.80.248 Verbindungsaufbau zu linuxtv.org (linuxtv.org)|130.149.80.248|:80... verbunden. HTTP-Anforderung gesendet, warte auf Antwort... 200 OK Länge: 4985858 (4,8M) [application/x-bzip2] In »»linux-media.tar.bz2«« speichern. 100%[=============================================================================>] 4.985.858 1,69MB/s in 2,8s 2014-10-25 19:02:04 (1,69 MB/s) - »»linux-media.tar.bz2«« gespeichert [4985858/4985858] make[1]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' martin@heltin:~/Downloads/S2-6400/media_build_experimental$ make untar make -C linux/ untar make[1]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' tar xfj linux-media.tar.bz2 rm -f .patches_applied .linked_dir .git_log.md5 ../experimental/add-drivers # Add ngene & octopus rm -Rf ../linux/drivers/media/pci/{ddbridge,ngene} ../linux/drivers/staging/media/cxd2099/cxd2099* cp -r dddvb/ddbridge ../linux/drivers/media/pci/ cp oe/ddbridge/* ../linux/drivers/media/pci/ddbridge/ cp -r oe/ngene ../linux/drivers/media/pci/ # frontends cp dddvb/frontends/cxd2099* ../linux/drivers/staging/media/cxd2099/ cp dddvb/frontends/tda18212dd* ../linux/drivers/media/dvb-frontends/ cp dddvb/frontends/stv0367dd* ../linux/drivers/media/dvb-frontends/ cp oe/drxk/* ../linux/drivers/media/dvb-frontends/ cp dddvb/frontends/cxd2843* ../linux/drivers/media/dvb-frontends/ cp dddvb/frontends/lnbh25* ../linux/drivers/media/dvb-frontends/ cp dddvb/frontends/stv6111* ../linux/drivers/media/dvb-frontends/ cp dddvb/frontends/stv0910* ../linux/drivers/media/dvb-frontends/ # dvb-core extensions cp dddvb/include/linux/dvb/mod.h ../linux/include/uapi/linux/dvb/ cp dddvb/include/linux/dvb/ns.h ../linux/include/uapi/linux/dvb/ cp dddvb/dvb-core/dvb_ca_en50221.* ../linux/drivers/media/dvb-core/ cp dddvb/dvb-core/dvb_netstream.* ../linux/drivers/media/dvb-core/ # Add TT DVB S2-6400 fetch_hg_repo "https://bitbucket.org/powARman/v4l-dvb-saa716x" "v4l-dvb-saa716x" || fetch_hg_repo "http://powarman.dyndns.org/hg/v4l-dvb-saa716x" "v4l-dvb-saa716x" || fetch_hg_repo "http://linuxtv.org/hg/~endriss/mirror-saa716x" "v4l-dvb-saa716x" Fordere alle Änderungen an Füge Änderungssätze hinzu Füge Manifeste hinzu Füge Dateiänderungen hinzu Fügte 15471 Änderungssätze mit 37960 Änderungen an 2939 Dateien hinzu Aktualisiere auf Zweig default 1792 Dateien aktualisiert, 0 Dateien zusammengeführt, 0 Dateien entfernt, 0 Dateien ungelöst rm -Rf ../linux/drivers/media/pci/saa716x cp -r v4l-dvb-saa716x/linux/drivers/media/common/saa716x ../linux/drivers/media/pci/ patch -d.. -p0 < saa716x.pci-kconfig.diff patching file linux/drivers/media/pci/Kconfig Hunk #1 succeeded at 45 with fuzz 2 (offset 1 line). patch -d.. -p0 < saa716x.pci-makefile.diff patching file linux/drivers/media/pci/Makefile patch -d.. -p0 < saa716x.include-osd.diff patching file linux/include/uapi/linux/dvb/osd.h for i in patch.d/*diff ; do echo echo "Applying '$i'" apply_patch $i done Applying 'patch.d/010_dd-frontends-kconfig.diff' patching file linux/drivers/media/dvb-frontends/Kconfig Hunk #1 succeeded at 63 (offset 7 lines). Applying 'patch.d/010_dd-frontends-makefile.diff' patching file linux/drivers/media/dvb-frontends/Makefile Hunk #1 succeeded at 100 (offset 4 lines). Applying 'patch.d/010_dvb_netstream-makefile.diff' patching file linux/drivers/media/dvb-core/Makefile Applying 'patch.d/020_ddbridge-drxk.diff' patching file linux/drivers/media/pci/ddbridge/ddbridge-core.c Hunk #1 succeeded at 934 with fuzz 2 (offset 45 lines). Hunk #2 succeeded at 1567 (offset 122 lines). Applying 'patch.d/100_dvbdev.c.diff' patching file linux/drivers/media/dvb-core/dvbdev.c Hunk #3 succeeded at 84 with fuzz 2 (offset -7 lines). Hunk #4 succeeded at 411 (offset -7 lines). Hunk #5 succeeded at 433 (offset -7 lines). Applying 'patch.d/100_dvbdev.h.diff' patching file linux/drivers/media/dvb-core/dvbdev.h Applying 'patch.d/100_frontend.h.diff' patching file linux/include/uapi/linux/dvb/frontend.h Applying 'patch.d/150_cxd2843_deadlock_fix.diff' patching file linux/drivers/media/dvb-frontends/cxd2843.c Applying 'patch.d/210_drxk_lockstatus_fix.diff' patching file linux/drivers/media/dvb-frontends/drxk_hard.c Hunk #1 succeeded at 1958 (offset 3 lines). Applying 'patch.d/320_stv090x_ucblocks_ber.diff' patching file linux/drivers/media/dvb-frontends/stv090x.c Hunk #1 succeeded at 3549 (offset 37 lines). Hunk #2 succeeded at 3600 (offset 37 lines). Hunk #3 succeeded at 3741 (offset 37 lines). Hunk #4 succeeded at 4944 (offset 161 lines). Applying 'patch.d/800_av7110_discard_h264.diff' patching file linux/drivers/media/pci/ttpci/av7110_ipack.c Applying 'patch.d/810_av7110_fix_wss_regression.diff' patching file linux/drivers/media/common/saa7146/saa7146_fops.c Applying 'patch.d/910_az6007_remove_parmcnt.diff' patching file linux/drivers/media/usb/dvb-usb-v2/az6007.c Applying 'patch.d/910_em28xx_remove_parmcnt.diff' patching file linux/drivers/media/usb/em28xx/em28xx-dvb.c Hunk #1 succeeded at 401 (offset 27 lines). Hunk #2 succeeded at 409 (offset 27 lines). Hunk #3 succeeded at 417 (offset 27 lines). Hunk #4 succeeded at 429 (offset 27 lines). Applying 'patch.d/999_dvb_frontend_ratelimit_broken.diff' patching file linux/drivers/media/dvb-core/dvb_frontend.c Hunk #1 succeeded at 2405 (offset 84 lines). # Drivers added successfully ;-) make[1]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' martin@heltin:~/Downloads/S2-6400/media_build_experimental$ sudo make make -C /home/martin/Downloads/S2-6400/media_build_experimental/v4l make[1]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' No version yet, using 3.16.0-23-generic scripts/make_makefile.pl Updating/Creating .config make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' Applying patches for kernel 3.16.0-23-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/drx39xxj.patch Patched drivers/media/dvb-core/dvbdev.c Patched drivers/media/v4l2-core/v4l2-dev.c Patched drivers/media/rc/rc-main.c make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' Preparing to compile for kernel version 3.16.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` /.config cd 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. Created default (all yes) .config file make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' Patches for 3.16.0-23-generic already applied. make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' ./scripts/make_kconfig.pl /lib/modules/3.16.0-23-generic/build /lib/modules/3.16.0-23-generic/build Preparing to compile for kernel version 3.16.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` /.config cd 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. ../experimental/update_kconfig.pl ./scripts/make_myconfig.pl perl scripts/make_config_compat.pl /lib/modules/3.16.0-23-generic/build ./.myconfig ./config-compat.h creating symbolic links... make -C firmware prep make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' make -C firmware make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/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/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' Kernel build directory is /lib/modules/3.16.0-23-generic/build make -C ../linux apply_patches make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' Patches for 3.16.0-23-generic already applied. make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' make -C /lib/modules/3.16.0-23-generic/build SUBDIRS=/home/martin/Downloads/S2-6400/media_build_experimental/v4l modules make[2]: Entering directory '/usr/src/linux-headers-3.16.0-23-generic' CC [M] /home/martin/Downloads/S2-6400/media_build_experimental/v4l/altera-lpt.o In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h: In function 'snd_card_create': /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:23: warning: passing argument 1 of 'snd_card_new' makes pointer from integer without a cast *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'struct device *' but argument is of type 'int' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:28: warning: passing argument 2 of 'snd_card_new' makes integer from pointer without a cast *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'int' but argument is of type 'const char *' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:32: warning: passing argument 3 of 'snd_card_new' from incompatible pointer type *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'const char *' but argument is of type 'struct module *' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:40: warning: passing argument 4 of 'snd_card_new' makes pointer from integer without a cast *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'struct module *' but argument is of type 'int' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:10: error: too few arguments to function 'snd_card_new' *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: declared here int snd_card_new(struct device *parent, int idx, const char *xid, ^ scripts/Makefile.build:257: recipe for target '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/altera-lpt.o' failed make[3]: *** [/home/martin/Downloads/S2-6400/media_build_experimental/v4l/altera-lpt.o] Error 1 Makefile:1345: recipe for target '_module_/home/martin/Downloads/S2-6400/media_build_experimental/v4l' failed make[2]: *** [_module_/home/martin/Downloads/S2-6400/media_build_experimental/v4l] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic' Makefile:51: recipe for target 'default' failed make[1]: *** [default] Error 2 make[1]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' Makefile:28: recipe for target 'all' failed make: *** [all] Error 2 martin@heltin:~/Downloads/S2-6400/media_build_experimental$ sudo ./build --check-only [sudo] password for martin: Checking if the needed tools for Ubuntu 14.10 are available Needed package dependencies are met. martin@heltin:~/Downloads/S2-6400/media_build_experimental$ sudo make menuconfig make -C /home/martin/Downloads/S2-6400/media_build_experimental/v4l menuconfig make[1]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' /lib/modules/3.16.0-23-generic/build/scripts/kconfig/mconf ./Kconfig configuration written to .config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. ./scripts/fix_kconfig.pl make[1]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' martin@heltin:~/Downloads/S2-6400/media_build_experimental$ sudo make make -C /home/martin/Downloads/S2-6400/media_build_experimental/v4l make[1]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' Patches for 3.16.0-23-generic already applied. make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' ./scripts/make_kconfig.pl /lib/modules/3.16.0-23-generic/build /lib/modules/3.16.0-23-generic/build Preparing to compile for kernel version 3.16.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` /.config cd 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. ../experimental/update_kconfig.pl ./scripts/make_myconfig.pl perl scripts/make_config_compat.pl /lib/modules/3.16.0-23-generic/build ./.myconfig ./config-compat.h creating symbolic links... make -C firmware prep make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' make -C firmware make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' make[2]: Nothing to be done for 'default'. make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/firmware' Kernel build directory is /lib/modules/3.16.0-23-generic/build make -C ../linux apply_patches make[2]: Entering directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' Patches for 3.16.0-23-generic already applied. make[2]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/linux' make -C /lib/modules/3.16.0-23-generic/build SUBDIRS=/home/martin/Downloads/S2-6400/media_build_experimental/v4l modules make[2]: Entering directory '/usr/src/linux-headers-3.16.0-23-generic' CC [M] /home/martin/Downloads/S2-6400/media_build_experimental/v4l/altera-lpt.o In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h: In function 'snd_card_create': /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:23: warning: passing argument 1 of 'snd_card_new' makes pointer from integer without a cast *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'struct device *' but argument is of type 'int' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:28: warning: passing argument 2 of 'snd_card_new' makes integer from pointer without a cast *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'int' but argument is of type 'const char *' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:32: warning: passing argument 3 of 'snd_card_new' from incompatible pointer type *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'const char *' but argument is of type 'struct module *' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:40: warning: passing argument 4 of 'snd_card_new' makes pointer from integer without a cast *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: expected 'struct module *' but argument is of type 'int' int snd_card_new(struct device *parent, int idx, const char *xid, ^ In file included from :0:0: /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:686:10: error: too few arguments to function 'snd_card_new' *card = snd_card_new(idx, id, module, extra_size); ^ In file included from /home/martin/Downloads/S2-6400/media_build_experimental/v4l/compat.h:246:0, from :0: include/sound/core.h:283:5: note: declared here int snd_card_new(struct device *parent, int idx, const char *xid, ^ scripts/Makefile.build:257: recipe for target '/home/martin/Downloads/S2-6400/media_build_experimental/v4l/altera-lpt.o' failed make[3]: *** [/home/martin/Downloads/S2-6400/media_build_experimental/v4l/altera-lpt.o] Error 1 Makefile:1345: recipe for target '_module_/home/martin/Downloads/S2-6400/media_build_experimental/v4l' failed make[2]: *** [_module_/home/martin/Downloads/S2-6400/media_build_experimental/v4l] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-3.16.0-23-generic' Makefile:51: recipe for target 'default' failed make[1]: *** [default] Error 2 make[1]: Leaving directory '/home/martin/Downloads/S2-6400/media_build_experimental/v4l' Makefile:28: recipe for target 'all' failed make: *** [all] Error 2