LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2004, 01:18 AM   #1
zmanea
Member
 
Registered: Sep 2003
Location: Colorado
Posts: 85

Rep: Reputation: 15
make modules errors out


Just installed Mandrake 9.2. Installed the kernel source using the kernel RPM. Below is what happens when I run make modules

[root@localhost linux]# make modules
make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-10mdk/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.22-10mdk/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk/kernel'
make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-10mdk/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.22-10mdk/drivers'
make -C acpi modules
make[2]: Entering directory `/usr/src/linux-2.4.22-10mdk/drivers/acpi'
make[2]: *** No rule to make target `/home/nplanel/rpm/BUILD/kernel-2.4/linux-2.4.22/include/linux/kernel.h', needed by `ac.o'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.22-10mdk/drivers/acpi'
make[1]: *** [_modsubdir_acpi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk/drivers'
make: *** [_mod_drivers] Error 2

[root@localhost linux]# ls /home
ealex/ kismet/
 
Old 02-26-2004, 02:16 AM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
hey - why dont you just download the kernel source from kernel.org, instead of the mdk one and try?
 
Old 02-26-2004, 09:54 AM   #3
zmanea
Member
 
Registered: Sep 2003
Location: Colorado
Posts: 85

Original Poster
Rep: Reputation: 15
Is that the best option? Is it not best to use the kernel that comes with the distro?
 
  


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
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 04:01 AM
Modules: errors in logs LadFromWales85 Slackware 4 07-28-2004 06:10 AM
modules.conf errors doralsoral Linux - Software 1 05-11-2004 11:03 PM
make modules_install don't make any modules in /lib/modules ganesh_maillist Linux - Newbie 1 09-15-2003 02:45 PM
booting - modules errors elist Linux - General 3 02-01-2002 05:54 AM


All times are GMT -5. The time now is 04:38 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration