plustek@linuxhacker.org

plustek@linuxhacker.org


Subject: Kernel 2.4.1
From: Jaeger, Gerhard
Date: Mon, 5 Feb 2001 11:32:45 +0100

Hi list,

while checking the compilation stuff on the new kernel 2.4.1, I discovered,
that the driver won't compile if the module versioning is enabled in the kernel
configuration. 

This applies only if you get the following error within the make step:
gcc: /usr/src/linux/include/linux/modversions.h: File or directory not found
make: *** Deleting file `.depend' make: *** [.depend] exit

To work around this you might disavble this in your kernel
configuration (which means, recompile the kernel) or simply
change the following line in the drivers' makefile:
  MODFLAGS += -DMODVERSIONS -include $(HEADER_PATH)/linux/modversions.h
to
  MODFLAGS += -DMODVERSIONS -include $(HEADER_PATH)/linux/modsetver.h

Maybe we can simply remove the -include?!

Gerhard

plustek@linuxhacker.org