Re: 3rdparty modules for 2.5.53

Andi Kleen (ak@muc.de)
01 Jan 2003 19:56:11 +0100


Albert Kajakas <Albert.Kajakas@mail.ee> writes:

> Hello!
> I have a problem with compiling modules for 2.5.

I recently tracked down the same problem.

Add a -DKBUILD_MODNAME="yourname" compile option to one of the files,
the new loader requires a module name section. It should be only set
once for each module.

In addition make sure you're using the new style module_init/module_exit
macros instead of init_module/cleanup_module.

-Andi

P.S.: I agree that the error reporting sucks for this one. It would
be better if the kernel loader give some kind of text message back.
-
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/