Driver porting: compiling external modules
Driver porting: compiling external modules
Posted Apr 30, 2003 20:19 UTC (Wed) by krobidea (guest, #10955)In reply to: Driver porting: compiling external modules by pedretti
Parent article: Driver porting: compiling external modules
It seems that this 2.5 method of compiling external modules does not work on older kernel versions. I tried the example .c and Makefile, and got the following results:
- RedHat 7.3 out of the box (2.4.18-3 w/.config or any .o files). Compilation fails, thinking that module support is not compiled in.
- Version 2.4.20 I built and installed. Compilation failed, *** No rule to make target `modules'. This happens when make changed back to my working directory and did a make xxx modules. The kernel source base Makefile appears to be different in the 2.5.x versions.
So, will external modules require that the source be present, built and running? I don't believe any RedHat distributions will work.
What about the 2.4 or 2.2 target modules issue?