Hello,

I can't configure alsa-driver with Mandrake-8.2.

I did:
   copy /lib/modules/2.4.18-6mdk /lib/modules/2.4.18-6mdk.orig
   rename /lib/modules/<kernel-version>/alsa => alsa.orig

   DOWNLOAD latest version (in /home/src/)
     http://www.alsa-project.org
       alsa-driver-0.9.0beta12.tar.bz2
       alsa-lib-0.9.0beta12.tar.bz2
       alsa-utils-0.9.0beta12.tar.bz2

   UNPACK
     cd /home/src/
     bzip2 -d alsa*.tar.bz2
     tar -xvf alsa*.tar 

   CONFIGURE
     cd alsa-driver-*
     ./configure --with-cards=emu10k1 --with-sequencer=yes

I got:
...
checking for kernel version... expr: syntax error
expr: syntax error
expr: syntax error
failed (probably missing /lib/modules/2.4.18-6mdk/build/include/linux/version.h)
------------------------------- ???????????????

I have a link from
/lib/modules/2.4.18-6mdk/build to ../../../usr/src/linux-2.4.18-6mdk
in which include/linux/version.h exists.

With the option --with-kernel=/usr/src/linux : I got the same.
As "su" or "user" : I got the same.

I modified configure as advised by Garrick Sitongia to add "-
I/usr/src/linux/include" at the end of lines begining with "ac_compile=" 
and "ac-link=":
I got:
[root@localhost alsa-driver-0.9.0beta12]# ./configure --with-cards=emu10k1 --
with-sequencer=yes
loading cache ./config.cache
./configure: -I/usr/src/linux/include: No such file or directory
./configure: -I/usr/src/linux/include: No such file or directory
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... ./configure: -
I/usr/src/linux/include: No such file or directory
./configure: -I/usr/src/linux/include: No such file or directory
./configure: -I/usr/src/linux/include: No such file or directory
./configure: -I/usr/src/linux/include: No such file or directory
no
configure: error: installation or configuration problem: C compiler cannot 
create executables.
------------------------------- ???????????????
I have "/usr/src/linux/include" after a link from /usr/src/linux 
to /usr/src/linux-2.4.18 !!! I don't understand. 

I have kernel-source package installed.

Any idea ?

Bernez
------------------------------------------------------------------------
Mandrale-Linux-8.2 (Kernel-2.4.18-6mdk)

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to