On Sat, 10 Aug 2002 15:27:38 -0400 (EDT) Alan Murrell <[EMAIL PROTECTED]> wrote:
> Hello, > > I have a weird problem. I am running Mandrake 8.2, > gcc-3.0.3. I use the 'with-card=all' option inmy > configure options, but neither the snd-trident, > snd-als4000 nor the snd-ens1371 modules get created; > everything else seems to. (Note: I don;t actually > need the and-als400 or the snd-trdent on this system; > I just happened to notice that they didn;t get built). > > The weird part is that using exactly the same sources, > they do get buit on a system I have running CoreDistro > (http://coredistro.sf.net), which also uses gcc-3.0.3. > > My Mandrake system has an Ensoniq 1371, so it will > need to use the snd-ens1371 module, and so it's a tad > inconvenient that it doesn't get built :-) > > I also tried specifying '--with-card=ens1371' in the > configure line, instead of '--with-card=all', but the > module still doesn't get built. > > Any ideas why those modules did not get built? > > TIA, > > > > ===== > -- > Alan Murrell <[EMAIL PROTECTED]> See the following mail: --------------------------------------------------------------------------- From: Frans Ketelaars <[EMAIL PROTECTED]> To: alsa-user <[EMAIL PROTECTED]> Subject: Re: [Alsa-user] alsa-driver0.9.0rc2 compile errors: doesn't create PCI modules Date: Fri, 21 Jun 2002 20:55:29 +0200 Sender: [EMAIL PROTECTED] X-Mailer: Sylpheed version 0.7.3 (GTK+ 1.2.10; i586-mandrake-linux-gnu) On Fri, 21 Jun 2002 14:44:04 -0300 Taupter <[EMAIL PROTECTED]> wrote: > Takashi Iwai wrote: > > ok, that shows the bug. > > please apply the following patch on alsa-driver directory. > > and run "aclocal" then "autoconf" to regenerate configure script. > > this should fix this problem. > > > Mr. Takashi, > > > It worked like a breeze!!! > Everything is fine now. > This patch is very useful. I think a lot of Mandrake users will indeed > need it. Maybe mentioning it in the front page of the ALSA Project would > be a nice thing. I hope this patch, if applicable, will be in the main tree. > > Thank you very much! > > > Claudio It worked for me too with ML8.2 :-) But you need in that distro to have installed the patch-2.5.4-10mdk, automake-1.4-20.p5.mdk and autoconf-2.13-11mdk RPM's. And if you downloaded (if there is a download site) or copied the patch to your home directory and you're in the alsa-driver directory the patch command is: patch -p0 < ~/configure.dif Have fun :) -Frans ---------------------------------------------------------------------------- This is the patch: ---------------------------------------------------------------------------- --- configure.in-dist 2002-06-21 17:45:54.000000000 +0200 +++ configure.in 2002-06-21 17:52:17.000000000 +0200 @@ -131,7 +131,7 @@ }],kaversion=`cat conftestdata`, kaversion="", kaversion="")]) -CFLAGS=$ac_save_CFLAGS +CFLAGS="$ac_save_CFLAGS" kversion=`echo $kaversion | cut -d : -f 1` kpatchlevel=`echo $kaversion | cut -d : -f 2` ksublevel=`echo $kaversion | cut -d : -f 3` @@ -167,6 +167,8 @@ dnl Check for modversions... AC_MSG_CHECKING(for kernel module symbol versions) modversion=n +ac_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -I$CONFIG_SND_KERNELDIR/include" AC_TRY_RUN([ #include "$CONFIG_SND_KERNELDIR/include/linux/autoconf.h" int main( void ) { @@ -181,11 +183,14 @@ AC_MSG_RESULT("no");mversion=n, AC_MSG_RESULT("unknown");mversion=n ) +CFLAGS="$ac_save_CFLAGS" CONFIG_SND_MVERSION=$mversion AC_SUBST(CONFIG_SND_MVERSION) GENKSYMS="/sbin/genksyms -k $kversion.$kpatchlevel.$ksublevel" dnl Check for PCI support... +ac_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -I$CONFIG_SND_KERNELDIR/include" AC_MSG_CHECKING(for PCI support in kernel) pcisup="n" AC_TRY_RUN([ @@ -202,6 +207,7 @@ AC_MSG_RESULT("no");pcisup="n", AC_MSG_RESULT("unknown");pcisup="n" ) +CFLAGS="$ac_save_CFLAGS" CONFIG_PCI="$pcisup" AC_SUBST(CONFIG_PCI) @@ -303,6 +309,8 @@ CONFIG_ISA=y processor="" rm -f processor.id +ac_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -I$CONFIG_SND_KERNELDIR/include" AC_TRY_RUN([ #include <stdio.h> #include "$CONFIG_SND_KERNELDIR/include/linux/autoconf.h" @@ -379,6 +387,7 @@ AC_MSG_RESULT("unknown");processor="", AC_MSG_RESULT("unknown");processor="" ) +CFLAGS="$ac_save_CFLAGS" rm -f processor.id c_opts="" LD=ld @@ -540,6 +549,8 @@ dnl Check for SMP... AC_MSG_CHECKING(for SMP) msmp="" +ac_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -I$CONFIG_SND_KERNELDIR/include" AC_TRY_RUN([ #include "$CONFIG_SND_KERNELDIR/include/linux/autoconf.h" int main(void) { @@ -554,6 +565,7 @@ AC_MSG_RESULT("no");msmp="", AC_MSG_RESULT("unknown");msmp="" ) +CFLAGS="$ac_save_CFLAGS" if test "$msmp" = "1"; then GENKSYMS="$GENKSYMS -p smp_" c_opts="$c_opts -D__SMP__ -DCONFIG_SMP" @@ -751,7 +763,7 @@ AC_MSG_RESULT("no");rtcsup="n", AC_MSG_RESULT("unknown");rtcsup="n" ) -CFLAGS=$ac_save_CFLAGS +CFLAGS="$ac_save_CFLAGS" CONFIG_SND_RTCTIMER=$rtcsup AC_SUBST(CONFIG_SND_RTCTIMER) CONFIG_RTC=$CONFIG_SND_RTCTIMER @@ -760,6 +772,8 @@ dnl Check for USB AC_MSG_CHECKING(for USB) usbsup=n +ac_save_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -I$CONFIG_SND_KERNELDIR/include" AC_TRY_RUN([ #include "$CONFIG_SND_KERNELDIR/include/linux/autoconf.h" int main(void) { @@ -774,6 +788,7 @@ AC_MSG_RESULT("no");usbsup="n", AC_MSG_RESULT("unknown");usbsup="n" ) +CFLAGS="$ac_save_CFLAGS" CONFIG_USB="$usbsup" AC_SUBST(CONFIG_USB) -------------------------------------------------------------------------- HTH, -Frans ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user