Re: 2.4.28 module compile problem

Top Page

Reply to this message
Author: Jan Engelhardt
Date:  
To: Zoltan Sutto
CC: linux-kernel
Subject: Re: 2.4.28 module compile problem
>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@???
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/