On Thu, 28 Mar 2002 02:30:29 +0100 (CET) Reinout van Schouwen <[EMAIL PROTECTED]> wrote:
> > Hello all, > > Seeing the many unanswered questions about ALSA 0.9.0beta12 on Mandrake, I > think you may want to know that I overcame the version.h problem by > replacing the first line in /usr/src/linux/include/linux/version.h with > > #include </usr/src/linux/include/linux/rhconfig.h> > > (it cost me ~ 2 hours of hacking the configure script, just to discover > that the full path to rhconfig.h should be specified :-/ ) Thanks! Worked for me. > However, after 'make install' At the end 'make install' fails on my system with: ----------------------------------------------------------------------------- .............. make[2]: Leaving directory `/home/frans/alsa-driver-0.9.0beta12/synth/emux' make[1]: Leaving directory `/home/frans/alsa-driver-0.9.0beta12/synth' /sbin/depmod -a -F /lib/modules/2.4.18-6mdk/build/System.map 2.4.18-6mdk depmod: Can't read /lib/modules/2.4.18-6mdk/build/System.map make: *** [install-modules] Error 1 ----------------------------------------------------------------------------- Reading 'man depmod' and searching for the -F option it seems System.map isn't located where ALSA expects it :( > and 'depmod -a' I get errors about > unresolved symbols in snd.o and snd-seq.o. [root@amd alsa-driver-0.9.0beta12]# depmod -a [root@amd alsa-driver-0.9.0beta12]# So no unresolved symbols here :) And the module snd-opl3sa2 loads (I haven't tested sound yet though, I just installed alsa-driver, nothing else): [frans@amd alsa-driver-0.9.0beta12]$ cat /proc/asound/sndstat Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta12 emulation code) Kernel: Linux amd.mydomain 2.4.18-6mdk #1 Fri Mar 15 02:59:08 CET 2002 i586 ..... > I tried the default gcc-2.96 as > well as gcc-3.04 with march=athlon but still the same. I have a clean 'recommended' install of Mandrake 8.2 and compiled with the default gcc-2.96. > I'm running the Athlon-optimized 2.4.18-7mdk kernel from pclinuxonline.com > and have the corresponding kernel-source RPM installed. Any suggestions > are welcome as I've ran out of ideas for now! Just an idea, I've read that 'unresolved symbols' problems can result from using different compilers for the kernel and the ALSA drivers. And what do you think of the following solution? ------------------------------------------------------------------------------- From: Arie Tal <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Alsa-user] Re: Alsa-user] Need help compiling ALSA .9x Date: Mon, 25 Mar 2002 09:46:19 -0500 (EST) Sender: [EMAIL PROTECTED] It seems as though for some reason, /usr/src/linux/include is not in the include search path of gcc in Mandrake. I simply went into the ./configure script and modified all the ac_compile and ac_link definitions to include -I/usr/src/linux/include and it worked. This is an ugly hack, but hey, it works ;) Arie Tal ----------------------------------------------------------------------------- > regards, > > -- > > Reinout van Schouwen Artificial Intelligence student > email: [EMAIL PROTECTED] mobile phone: +31-6-44360778 Btw, I couldn't find your post in the cooker-list archive. HTH and have fun! -Frans _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user