* 2.4.28 module compile problem
@ 2004-11-20 21:58 Zoltan Sutto
2004-11-20 22:14 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: Zoltan Sutto @ 2004-11-20 21:58 UTC (permalink / raw)
To: linux-kernel
Hi!
I got this error message compiling modules for kernel 2.4.28.
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
Cookie
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.4.28 module compile problem
2004-11-20 21:58 2.4.28 module compile problem Zoltan Sutto
@ 2004-11-20 22:14 ` Jan Engelhardt
0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2004-11-20 22:14 UTC (permalink / raw)
To: Zoltan Sutto; +Cc: linux-kernel
>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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-20 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-20 21:58 2.4.28 module compile problem Zoltan Sutto
2004-11-20 22:14 ` Jan Engelhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®