./configure fails in alsa driver 0.9beta12
output from configure:
checking for current directory... /home/dave/sound/alsa-driver-0.9.0beta12
checking for directory with kernel source... /lib/modules/2.4.18-6mdksmp/build
checking for kernel version... expr: syntax error
expr: syntax error
expr: syntax error
failed (probably missing
/lib/modules/2.4.18-6mdksmp/build/include/linux/version.h)
file exists (version.h) its contents are:
#include <linux/rhconfig.h>
#if defined(__module__smp)
#define UTS_RELEASE "2.4.18-6mdksmp"
#elif defined(__module__enterprise)
#define UTS_RELEASE "2.4.18-6mdkenterprise"
#elif defined(__module__up)
#define UTS_RELEASE "2.4.18-6mdk"
#else
#define UTS_RELEASE "2.4.18-6mdksecure"
#endif
#define LINUX_VERSION_CODE 132114
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
output from config.log
configure:1381: gcc -o conftest -g -O2 conftest.c 1>&5
In file included from configure:1343:
/lib/modules/2.4.18-6mdksmp/build/include/linux/version.h:1:28:
linux/rhconfig.h: No such file or directory
configure: failed program was:
#line 1339 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <ctype.h>
#include "/lib/modules/2.4.18-6mdksmp/build/include/linux/version.h"
int main()
{
FILE *f;
char kversion[128];
char kpatchlevel[128];
EXTRA LINES DELETED... (excessive output)
the rhconfig.h file also exists in the supposed correct location. Seems like
the include path is missing/incorrect for it to fail to find the header file.
Creating a symlink in /usr/include/linux for rhconfig.h to point to
/usr/src/linux/include/linux/rhconfig.h SOLVES the problem, but I do NOT think
it is "The Right Thing" (tm) to do..
any suggestions from the developers?
=====
Dave J. Andruczyk
Enterprise Resource Providers
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel