On my system (Mandrake 8.2) alsa 0.9rc2 failed to compile the PCI drivers.  
looking at the configure output said PCI was NOT detected in the kernel.  After
chewing thru the configure.in file, and verifying my kernel autoconf file was
OK, I made the following switch:

AC_TRY_RUN([
#include "$CONFIG_SND_KERNELDIR/include/linux/autoconf.h"
int main( void ) {
#ifndef CONFIG_PCI
  exit(1);
#else
  exit(0);
#endif
}
],
  AC_MSG_RESULT("yes");pcisup="y",
  AC_MSG_RESULT("no");pcisup="n",
  AC_MSG_RESULT("unknown");pcisup="n"
)

   - TO -

AC_TRY_RUN([
#include "$CONFIG_SND_KERNELDIR/include/linux/autoconf.h"
int main( void ) {
#ifndef CONFIG_PCI
  exit(1);
#else
  exit(0);
#endif
}
],
  AC_MSG_RESULT("no");pcisup="n",
  AC_MSG_RESULT("yes");pcisup="y",
  AC_MSG_RESULT("unknown");pcisup="n"
)

Notice the last four lines of each block.  the AC_MSG_RESULT "no/yes" sections
had to be reversed .  Not sure if theis is something weird on my box, or what. 

After doing that, run "autoreconf" then rm *cache ; ./configure, and PCI is
detected and alsa compiles OK (including the PCI drivers)

Any suggestions?


=====
Dave J. Andruczyk
ERP

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to