Help - Search - Members - Calendar
Full Version: 3com Gigabit Lom (3c940) Lan Driver
Linuxhelp > Support > Hardware Support
Omega81
Happy New year everyone. Now Straight to the point, I am trting to compile the drivers for my LAN card on my debian Linux Box. but during the compilation, it says it can't find the version.h and autoconf.h header files in my kernel source (/usr/src/linux-kernel.2.4/include). I have search everywhere for it but I can't find it on my system. Any ideas, I am using the 2.4.18 kernel and running debian 3.0 r2.

Thanks alot guys

Charles
andrewjenkins
both version.h and autoconf.h are in kernel-dir/include/linux for all the kernels I've ever gotten. So, they should be at:

/usr/src/linux-kernel.2.4/include/version.h
/usr/src/linux-kernel.2.4/include/autoconf.h

It's very bizzare that they wouldn't be there. Did you download a kernel source? I don't use debian, but its possible they include by default a stub tree that contains basically only the Makefile and .config. I guess I would recommend downloading from www.kernel.org to get the vanilla sources, and also, make sure you have hard disk space when you unpack (df -h /usr/src), and that you have the proper permissions to unpack in /usr/src (probably means you have to be root).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.