Other modversions.h glitch
Like Dom Leon I am trying to compile a new module, in this case for a FlashPath
for SmartMedia/MultiMediaCard Floppy Adaptor.
http://www.smartdisk.com/Downloads/Software/flashpath-0.2.1.tar.gz
It looks like it hasn't been under any development for 2 years, and is meant for
kernel version 2.2.x
The problem is that the configure script keeps getting /usr/include as the
location of the kernel headers, and then make fails when it cannot find
modversions.h
make[2]: Entering directory `/usr/src/flashpath-0.2.1/linux'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include -O2 -DSD_LINUX
-D__KERNEL__ -Wall -fomit-frame-pointer -DMODVERSIONS -c cppfake.cpp
cppfake.cpp:25: linux/modversions.h: No such file or directory
make[2]: *** [cppfake.o] Error 1
make[2]: Leaving directory `/usr/src/flashpath-0.2.1/linux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/flashpath-0.2.1'
make: *** [all-recursive-am] Error 2
term102:/usr/src/flashpath-0.2.1# locate modversions.h
/usr/src/kernel-source-2.4.18/include/linux/modversions.h
How do I tell the configure script where the kernel headers actually are? And
will I run into other errors due to the modules being designed for a 2.2.x
kernel rather then our 2.4.x series?
----------------------------------------------------------------------
http://espanol.groups.yahoo.com/group/LinuxDeXela/
http://www.celasmaya.edu.gt/
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: