Any code that exports symbols must be compiled with -DEXPORT_SYMTAB.
That flag is used in module symbol version processing to generate the
versioned symbols.
It used to be that omitting -DEXPORT_SYMTAB would only cause an error
when CONFIG_MODVERSIONS=y. Since most developers did not use
modversions, entries were being added to the kernel tree without
correct makefile definitions. To ensure correct definitions in the
makefile for all circumstances, the code was changed to always require
-DEXPORT_SYMTAB for exporting objects, with or without
CONFIG_MODVERSIONS.
Bottom line: if you export symbols you must always define -DEXPORT_SYMTAB.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/