On my mandrake 7.0 system /lib/modules/`uname -r`/build is a link to
/usr/src/linux/

so /lib/modules/`uname -r`/build/include/linux/version.h is the same
thing as /usr/src/linux/include/linux/version.h

Does your build directory in /lib/modules/ link to /usr/src/linux? and
is /usr/src/linux the source tree for the kernel you are running?

-Eric Rz.
 
Arie Tal wrote:
> 
> 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
> 
> > I am currently trying to compile the alsa beta in an effort
> > to get my
> > Delta-66 card to function. I have the complete kernel
> > source installed and
> > am using Mandrake 8.2.
> >
> > When I run the ./configure script for the driver I get this
> > message:
> 
> > 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)
> 
> > If I go and look in that directory the version.h file *IS*
> > there.
> 
> > Any ideas what's going on?
> 
> > tia
> 
> ______________________________________________________________________
> File your taxes online! http://taxes.yahoo.ca
> 
> _______________________________________________
> Alsa-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/alsa-user

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to