I downloaded the .092 version to my home directory and
extracted it. Then following the install directions I enter
"make". I got the following output which includes several
error messages. I am new to compiling Linux drivers, so
any help would be appreciated.
make[1]: Entering directory
`/home/jmartinez/passport/pport1-0.92/pportlpt'
gcc -D__KERNEL__ -DMODULE -O -Wall
-I/usr/include -I../include -c -o main.o main.c
In file included from /usr/include/linux/module.h:21,
from main.c:34:
/usr/include/linux/modversions.h:1:2: #error Modules
should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers
from an appropriate kernel-source
make[1]: *** [main.o] Error 1
make[1]: Leaving directory
`/home/jmartinez/passport/pport1-0.92/pportlpt'
make: *** [pportlpt_make] Error 2
[root@localhost pport1-0.92]# su jmartinez
[jmartinez@localhost pport1-0.92]$ make
cd pportlpt ; make
make[1]: Entering directory
`/home/jmartinez/passport/pport1-0.92/pportlpt'
gcc -D__KERNEL__ -DMODULE -O -Wall
-I/usr/include -I../include -c -o main.o main.c
In file included from /usr/include/linux/module.h:21,
from main.c:34:
/usr/include/linux/modversions.h:1:2: #error Modules
should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers
from an appropriate kernel-source
make[1]: *** [main.o] Error 1
make[1]: Leaving directory
`/home/jmartinez/passport/pport1-0.92/pportlpt'
make: *** [pportlpt_make] Error 2
As you can see I ran it as my self, but I also tried it as
root and I got the same results.
Thanks for your help.
Logged In: YES
user_id=806273
I believe the 0.92 version only works with linux kernel 2.4.x. I
read this in the forum written by the developer about 0.92
driver:
"Keep in mind, the current drivers will be 2.4 only versions
unless I get requests for a backport to the 2.2 kernel for
improvements as I add them in. "