On 09/02/2014 07:02 PM, tony wrote: > Hi, > I am trying to build "backports-3.12.8-1" for my kernel 3.1.10. I am > following the instructions in the backports wiki to cross compile for > arm. But the compilation fails complaining "‘THIS_MODULE’ undeclared". > As suggested by one of the earlier posts in the forum, I tried including > #include <linux/module.h> > before > #include <linux/skbuff.h> > But it did not make any difference.Attached is a error log. > > Thank you in advance for any help. This looks strange. You have to compile your kernel with CONFIG_MODULES activated, backports needs that. compat/main.c includes linux/module.h and that file contains EXPORT_SYMBOL_GPL(), but that is not found in your build. Why are you using version 3.12, the current stable version is 3.16? Hauke -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html