Bonjour,
Je suis nouveau sous Debian.
J'ai installé Debian 8.6 sur mon PC de salon.
La carte mère est une ASRock AM1B-ITX avec comme carte son la Realtek ALC662.
J'ai téléchargé et tenté d'installer les drivers du site officiel Realtek mais j'ai des erreurs :
la commande ./configure se passe bien
la commande make retourne :
make dep
make[1]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa'
make[2]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
make -C sound prepare
make[3]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make prepare2
make[4]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make[4]: Nothing to be done for 'prepare2'.
make[4]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make[3]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make[2]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
[...]
make[1]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa'
make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
CC [M] /home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.o
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c: In function ‘snd_pcm_file_fd’:
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c:1647:2: error: implicit declaration of function ‘fget_light’ [-Werror=implicit-function-declaration]
file = fget_light(fd, fput_needed);
^
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c:1647:7: warning: assignment makes pointer from integer without a cast
file = fget_light(fd, fput_needed);
^
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c: In function ‘snd_pcm_lib_mmap_iomem’:
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c:3453:26: warning: unused variable ‘runtime’ [-Wunused-variable]
struct snd_pcm_runtime *runtime = substream->runtime;;
^
cc1: some warnings being treated as errors
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:262: recipe for target '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.o' failed
make[5]: *** [/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.o] Error 1
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:409: recipe for target '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore' failed
make[4]: *** [/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore] Error 2
/usr/src/linux-headers-3.16.0-4-common/Makefile:1352: recipe for target '_module_/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa' failed
make[3]: *** [_module_/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:167: recipe for target 'compile' failed
make: *** [compile] Error 2
bloc à supprimer si la commande n’affiche rien
la commande make install retourne :
if [ -L /usr/include/sound ]; then \
rm -f /usr/include/sound; \
ln -sf /home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound /usr/include/sound; \
else \
rm -rf /usr/include/sound; \
install -d -m 755 -g root -o root /usr/include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /usr/include/sound; \
done \
fi
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'snd*.*o' | xargs rm -f
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'snd*.*o.gz' | xargs rm -f
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'ac97_bus.*o' | xargs rm -f
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'ac97_bus.*o.gz' | xargs rm -f
make[1]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
make[1]: Nothing to be done for 'modules_install'.
make[1]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
make[1]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore'
mkdir -p /lib/modules/3.16.0-4-amd64/kernel/sound/acore
cp snd-hrtimer.ko snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/3.16.0-4-amd64/kernel/sound/acore
cp: impossible d'évaluer « snd-hrtimer.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd-hwdep.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd-page-alloc.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd-pcm.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd-rawmidi.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd-timer.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd.ko »: Aucun fichier ou dossier de ce type
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/Rules.make:48: recipe for target 'modules_install' failed
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore'
Makefile:206: recipe for target 'install-modules' failed
make: *** [install-modules] Error 1
bloc à supprimer si la commande n’affiche rien