Re: [proaudio] alsa-driver

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Frieder Bürzele a écrit :
the realtime kernel already provides those definitions so you have to declare
that its already defined into the alsa-driver header files

try this patch as a workaround and report if its working
define.patch
I couldn't test it but maybe its working.
------------------------------------------------------------------------

--- a/include/adriver.h 2006-12-20 22:47:59.000000000 +0100
+++ b/include/adriver.h	2006-12-20 22:48:05.000000000 +0100
@@ -767,6 +767,7 @@
 #endif
/* msecs_to_jiffies */
+#define CONFIG_HAVE_MSECS_TO_JIFFIES
 #ifndef CONFIG_HAVE_MSECS_TO_JIFFIES
 #include <linux/jiffies.h>
 #if defined(DESKTOP_HZ) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)

I have try with the patch you provides, result : another types of errors :

make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13' make -C /usr/src/linux M=/var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13 O=/usr/src/linux CPP="i686-pc-linux-gnu-gcc -E" CC="i686-pc-linux-gnu-gcc" modules
make[1]: Entering directory `/usr/src/linux-2.6.19-rt15'
CC [M] /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/acore/hwdep.o In file included from /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/include/adriver.h:859, from /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/include/sound/driver.h:46, from /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/acore/hwdep.c:22: include/linux/pci.h:512: erreur: erreur de syntaxe avant une constante numérique In file included from /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/include/sound/driver.h:46, from /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/acore/hwdep.c:22: /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/include/adriver.h: In function `snd_pci_orig_save_state': /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/include/adriver.h:1100: erreur: trop d'arguments pour la fonction « pci_save_state » /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/include/adriver.h: In function `snd_pci_orig_restore_state': /var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/include/adriver.h:1104: erreur: trop d'arguments pour la fonction « pci_restore_state » make[4]: *** [/var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/acore/hwdep.o] Error 1 make[3]: *** [/var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/acore] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-rt15'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.13 failed.
Call stack:
 ebuild.sh, line 1546:   Called dyn_compile
 ebuild.sh, line 937:   Called src_compile
 alsa-driver-1.0.13.ebuild, line 113:   Called die


Regards

Philippe




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/