Re: 3rdparty modules for 2.5.53

Andi Kleen
2003-01-01T18:48:04Z

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.