On Tue, Aug 03, 2004 at 02:55:20PM -0700, Lei Yang wrote: > Hello, > > Could anyone tell me what happened with modversion.h in 2.6.x? I want to > build a module whose makefile indicates that, > > ifdef CONFIG_MODVERSIONS > MODVERSIONS:= -DMODVERSIONS -include > $(KERNEL_DIR)/include/linux/modversions.h > CKERNOPS += $(MODVERSIONS) > endif This is a sign of a broken module. Request the author to use the kbuild infrastructure when building the module. See Documentation/kbuild/modules.txt and Driver porting series at lwn.net for good examples. If you do not need CONFIG_MODVERSION then try to disable it and compile the module, you may be lucky that it works. But be carefull not to enable any options that may change ABI, for example reg-parm=3 is know to cause problems if not used consistently. Sam -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/