At Fri, 21 Jun 2002 12:45:21 -0300,
Taupter wrote:
>
> Takashi Iwai wrote:
> > anyway, please check config.log file on alsa-driver directory.
> > you can find there why CONFIG_PCI was not detected.
> > (look for a string something like 'checking for PCI devices' and see
> > the messages below it)
>
> The erro was (line 41)
>
> configure:1502: checking for PCI support in kernel
> configure:1522: gcc -o conftest -g -O2 conftest.c 1>&5
> In file included from configure:1511:
> /usr/src/linux-2.4.18-6mdk/include/linux/autoconf.h:1:28:
> linux/rhconfig.h: No such file or directory
> configure: failed program was:
> #line 1509 "configure"
> #include "confdefs.h"
>
> #include "/usr/src/linux-2.4.18-6mdk/include/linux/autoconf.h"
> int main( void ) {
> #ifndef CONFIG_PCI
> exit(1);
> #else
> exit(0);
> #endif
> }
>
> The file rhconfig.h is
>
> /usr/src/linux-2.4.18-6mdk/include/linux/rhconfig.h
> /usr/src/linux/include/linux/rhconfig.h
> /lib/modules/2.4.18-6mdk/build/include/linux/rhconfig.h
>
> (they are the same physical file).
> The first line of
>
> /usr/src/linux-2.4.18-6mdk/include/linux/autoconf.h
>
> is
>
> #include <linux/rhconfig.h>
>
> There's no rhconfig.h in
>
> /usr/include/linux
>
> and this path isn't a symbolic link. There's no autoconf.h in it neither.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. Takashi
configure.dif
Description: Binary data
