modversion issue on redhat 9
jsun at junsun.net
Wed Aug 27 02:03:11 EDT 2003
I am surprised that nobody has reported this problem before.
Basically if you compile hostap modules for a redhat 9 box, you
will end up many unresolved kernel symbols when you install the modules.
The problem is that hostap would include linux/modversions.h file ahead
of all other header files, but in reality this file needs to be included
after linux/rhconfig.h file because many #ifdef's used there.
I attached a quick hack here which makes thing work. I suspect
the true fix is in linux/modversions.h, which should include
-------------- next part --------------
diff -Nru hostap/Makefile.orig hostap/Makefile
--- hostap/Makefile.orig 2003-08-26 14:32:03.000000000 -0700
+++ hostap/Makefile 2003-08-26 17:49:55.000000000 -0700
@@ -86,7 +87,7 @@
-CFLAGS += -DMODVERSIONS -include $(KERNEL_PATH)/include/linux/modversions.h
+CFLAGS += -DMODVERSIONS -include $(KERNEL_PATH)/include/linux/rhconfig.h -include $(KERNEL_PATH)/include/linux/modversions.h
More information about the HostAP