Re: 2.4.28 module compile problem

From: Jan Engelhardt
Date: Sat Nov 20 2004 - 17:16:43 EST


>Hi!
>
>I got this error message compiling modules for kernel 2.4.28.

Add #include <linux/module.h> in dn_neigh.c, probably.

>dn_neigh.c:584: `THIS_MODULE' undeclared here (not in a function)
>dn_neigh.c:584: initializer element is not constant
>dn_neigh.c:584: (near initialization for `dn_neigh_seq_fops.owner')
>make[2]: *** [dn_neigh.o] Error 1
>make[2]: Leaving directory `/usr/src/linux-2.4.28/net/decnet'
>make[1]: *** [_modsubdir_decnet] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.4.28/net'
>make: *** [_mod_net] Error 2

Jan Engelhardt
--
Gesellschaft fĂźr Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 GĂśttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/