Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-27-2003, 10:32 PM   #1
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
make modules fails?

I am trying to compile the 2.6 kernel. the bzImage compiles fine. When I run the command make modules I get this output then it just stops
Building modules, stage 2.
  CC      net/ipv4/netfilter/ip_conntrack.mod.o
  LD [M]  net/ipv4/netfilter/ip_conntrack.ko
  CC      net/ipv4/netfilter/ip_conntrack_ftp.mod.o
  LD [M]  net/ipv4/netfilter/ip_conntrack_ftp.ko
  CC      net/ipv4/netfilter/ip_conntrack_irc.mod.o
  LD [M]  net/ipv4/netfilter/ip_conntrack_irc.ko
  CC      net/ipv4/netfilter/ip_nat_ftp.mod.o
  LD [M]  net/ipv4/netfilter/ip_nat_ftp.ko
  CC      net/ipv4/netfilter/ip_nat_irc.mod.o
  LD [M]  net/ipv4/netfilter/ip_nat_irc.ko
  CC      net/ipv4/netfilter/ip_tables.mod.o
  LD [M]  net/ipv4/netfilter/ip_tables.ko
  CC      net/ipv4/netfilter/ipt_LOG.mod.o
  LD [M]  net/ipv4/netfilter/ipt_LOG.ko
  CC      net/ipv4/netfilter/ipt_MARK.mod.o
  LD [M]  net/ipv4/netfilter/ipt_MARK.ko
  CC      net/ipv4/netfilter/ipt_MASQUERADE.mod.o
  LD [M]  net/ipv4/netfilter/ipt_MASQUERADE.ko
  CC      net/ipv4/netfilter/ipt_REJECT.mod.o
  LD [M]  net/ipv4/netfilter/ipt_REJECT.ko
  CC      net/ipv4/netfilter/ipt_limit.mod.o
  LD [M]  net/ipv4/netfilter/ipt_limit.ko
  CC      net/ipv4/netfilter/ipt_mark.mod.o
  LD [M]  net/ipv4/netfilter/ipt_mark.ko
  CC      net/ipv4/netfilter/ipt_state.mod.o
  LD [M]  net/ipv4/netfilter/ipt_state.ko
  CC      net/ipv4/netfilter/iptable_filter.mod.o
  LD [M]  net/ipv4/netfilter/iptable_filter.ko
  CC      net/ipv4/netfilter/iptable_mangle.mod.o
  LD [M]  net/ipv4/netfilter/iptable_mangle.ko
  CC      net/ipv4/netfilter/iptable_nat.mod.o
  LD [M]  net/ipv4/netfilter/iptable_nat.ko
  CC      fs/ntfs/ntfs.mod.o
  LD [M]  fs/ntfs/ntfs.ko
Old 12-27-2003, 11:18 PM   #2
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Apparently, the 2.6 kernel requires a new set of module-init-tools, which you can obtain from

See the How to Upgrade to the 2.6 Kernel feature at (scroll down the feedback comments for post on module-init tools).

I've only played with compiling the 2.6 test kernel, and avoided the modules issue by compiling everything into the kernel, so my advice is quite limited.
Old 12-27-2003, 11:18 PM   #3
Senior Member
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
you dont need to do a "make modules". if you followed the output of 'make", you would have noticed the modules being made there.
so, in 2.6, you only have to do "make".
follow the "make" by a "make modules_install" as root, copy stuff to the right places, edit lilo/grub, and ur set.


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
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 10:11 AM
MCPAN fails to install a few modules Draithon Linux - General 5 02-23-2005 10:32 AM
'make modules' fails with default configuration blueser Fedora 4 11-28-2003 05:53 AM
bootup tries to insmod i810 modules: i don't want it to do so (it fails anyway) TheOneAndOnlySM Slackware 4 10-13-2003 07:57 PM
make modules_install don't make any modules in /lib/modules ganesh_maillist Linux - Newbie 1 09-15-2003 02:45 PM > Forums > Linux Forums > Linux - Software

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

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