LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-29-2005, 03:08 AM   #1
WoofDeF
Member
 
Registered: Jan 2005
Distribution: Debian3.1, DamnSmallLinux, FC4
Posts: 70

Rep: Reputation: 15
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?

Last edited by WoofDeF; 06-29-2005 at 04:52 AM.
 
Old 06-29-2005, 09:37 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,837

Rep: Reputation: 108Reputation: 108
Is it because "kernel-headers" package is missing?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Module-Assistant Sleepy_Sentry Ubuntu 4 01-18-2006 09:19 PM
module-assistant auto-install ov511 ... make: *** [build-stamp] Error 2 brynjarh Linux - Hardware 1 11-13-2005 03:31 PM
Device Configuration Assistant lyonsd Solaris / OpenSolaris 1 06-06-2005 02:56 AM
nvidia module-assistant not working Nurdin Debian 2 02-19-2005 02:19 AM
MS Office Assistant... Thymox General 2 10-31-2001 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration