Hallo,
ich habe ein Update von Jessie auf Stretch durchgeführt. Das lief wie immer problemlos.
Nun will ich den Treiber für meine TT 6400 so wie unter Jessie bzw. wie auch unter http://www.vdr-wiki.de/wiki/in…tallation_der_DVB-Treiber beschrieben übersetzen und es kommt folgender Fehler:
make[2]: Leaving directory '/usr/local/src/media_build_experimental/v4l/firmware'
Kernel build directory is /lib/modules/4.9.0-6-amd64/build
make -C ../linux apply_patches
make[2]: Entering directory '/usr/local/src/media_build_experimental/linux'
Patches for 4.9.0-6-amd64 already applied.
make[2]: Leaving directory '/usr/local/src/media_build_experimental/linux'
make -C /lib/modules/4.9.0-6-amd64/build SUBDIRS=/usr/local/src/media_build_experimental/v4l modules
make[2]: Entering directory '/usr/src/linux-headers-4.9.0-6-amd64'
CC [M] /usr/local/src/media_build_experimental/v4l/msp3400-driver.o
In file included from <command-line>:0:0:
/usr/local/src/media_build_experimental/v4l/compat.h:1463:1: error: redefinition of 'pci_zalloc_consistent'
pci_zalloc_consistent(struct pci_dev *hwdev, size_t size,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-6-common/include/linux/pci.h:2150:0,
from /usr/local/src/media_build_experimental/v4l/compat.h:1459,
from <command-line>:0:
/usr/src/linux-headers-4.9.0-6-common/include/linux/pci-dma-compat.h:23:1: note: previous definition of 'pci_zalloc_consistent' was here
pci_zalloc_consistent(struct pci_dev *hwdev, size_t size,
^~~~~~~~~~~~~~~~~~~~~
In file included from <command-line>:0:0:
/usr/local/src/media_build_experimental/v4l/compat.h:1552:0: warning: "DMA_ATTR_SKIP_CPU_SYNC" redefined
#define DMA_ATTR_SKIP_CPU_SYNC 0
In file included from /usr/src/linux-headers-4.9.0-6-common/include/linux/pci-dma-compat.h:7:0,
from /usr/src/linux-headers-4.9.0-6-common/include/linux/pci.h:2150,
from /usr/local/src/media_build_experimental/v4l/compat.h:1459,
from <command-line>:0:
/usr/src/linux-headers-4.9.0-6-common/include/linux/dma-mapping.h:47:0: note: this is the location of the previous definition
#define DMA_ATTR_SKIP_CPU_SYNC (1UL << 5)
/usr/src/linux-headers-4.9.0-6-common/scripts/Makefile.build:298: die Regel für Ziel »/usr/local/src/media_build_experimental/v4l/msp3400-driver.o« scheiterte
make[5]: *** [/usr/local/src/media_build_experimental/v4l/msp3400-driver.o] Fehler 1
/usr/src/linux-headers-4.9.0-6-common/Makefile:1517: die Regel für Ziel »_module_/usr/local/src/media_build_experimental/v4l« scheiterte
make[4]: *** [_module_/usr/local/src/media_build_experimental/v4l] Fehler 2
Makefile:152: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.9.0-6-amd64'
Makefile:51: die Regel für Ziel »default« scheiterte
make[1]: *** [default] Fehler 2
make[1]: Verzeichnis »/usr/local/src/media_build_experimental/v4l« wird verlassen
Makefile:28: die Regel für Ziel »all« scheiterte
make: *** [all] Fehler 2
…..
/usr/local/src/media_build_experimental/v4l/compat.h:1463:1: error: redefinition of 'pci_zalloc_consistent'
pci_zalloc_consistent(struct pci_dev *hwdev, size_t size,
Wie kann ich das Problem beheben?
Vielen Dank
Mario.