LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem with module-assistant fakesource (https://www.linuxquestions.org/questions/debian-26/problem-with-module-assistant-fakesource-338269/)

WoofDeF 06-29-2005 02:08 AM

Problem with module-assistant fakesource
 
I need to have correct kernel source in order to build a module. I have installed debian kernel-source-2.4.27 - this deb puts a source tarball in /usr/src as expected. the running kernel is 2.4.27-2-386

But when I do:
module-assistant fakesource

I get at the end:

make[2]: *** No rule to make target `/usr/src/kernel-source-2.4.27-2-386/include/linux/autoconf.h', needed by `/usr/src/kernel-source-2.4.27-2-386/include/linux/modules/signal.ver'. Stop.
make[2]: Leaving directory `/usr/src/kernel-source-2.4.27-2-386/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.27-2-386'
make: *** [dep-files] Error 2

And my subsequent attempt to build the module with these faked sources fails.

Any help out there?

kaz2100 06-29-2005 08:37 PM

Is it because "kernel-headers" package is missing?


All times are GMT -5. The time now is 09:53 AM.