PhilippeBekaert / snd-hdspe

New linux driver and tools for RME HDSPe sound cards and extension modules
GNU General Public License v3.0
51 stars 18 forks source link

Errors While trying to build it on kernel linux 6.6 #23

Open fploetzlich opened 1 month ago

fploetzlich commented 1 month ago

I got errors when trying to build the code on my arch linux. I would help if i could.

/home/philipp/HDSPe_Driver/sound/pci/hdsp/hdspe/hdspe_core.h:15:9: Warnung: »CONFIG_SND_DEBUG« redefiniert 15 | #define CONFIG_SND_DEBUG | ^~~~ In Datei, eingebunden von ././include/linux/kconfig.h:5, von : ./include/generated/autoconf.h:6699:9: Anmerkung: dies ist die Stelle der vorherigen Definition 6699 | #define CONFIG_SND_DEBUG 1 | ^~~~ /home/philipp/HDSPe_Driver/sound/pci/hdsp/hdspe/hdspe_core.h:1271:8: Warnung: Typkennzeichner an Funktions-Rückgabewert ignoriert [-Wignored-qualifiers] 1271 | extern const char const hdspe_clock_source_name(struct hdspe hdspe, int i); | ^~~~~ /home/philipp/HDSPe_Driver/sound/pci/hdsp/hdspe/hdspe_core.h:1273:8: Warnung: Typkennzeichner an Funktions-Rückgabewert ignoriert [-Wignored-qualifiers] 1273 | extern const char* const hdspe_freq_name(enum hdspe_freq f); | ^~~~~ /home/philipp/HDSPe_Driver/sound/pci/hdsp/hdspe/hdspe_core.c: In Funktion »snd_hdspe_create«: /home/philipp/HDSPe_Driver/sound/pci/hdsp/hdspe/hdspe_core.c:425:15: Fehler: Implizite Deklaration der Funktion »pci_set_dma_mask« [-Wimplicit-function-declaration] 425 | err = pci_set_dma_mask(pci, DMA_BIT_MASK(32)); | ^~~~ /home/philipp/HDSPe_Driver/sound/pci/hdsp/hdspe/hdspe_core.c:427:23: Fehler: Implizite Deklaration der Funktion »pci_set_consistent_dma_mask« [-Wimplicit-function-declaration] 427 | err = pci_set_consistent_dma_mask(pci, DMA_BIT_MASK(32));

jimfrench commented 1 month ago

Hi this is fixed in PR https://github.com/PhilippeBekaert/snd-hdspe/pull/12