Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Kernel customizations-Errors during "make modules"

Status
Not open for further replies.

Shohan

Technical User
Oct 5, 2001
87
US
Trying to make a custom kernel to enable NTFS and HPFS support in RedHat 8.0. Configured Kernel in xconfig and got to the "make modules" command where I received the errors:

make[2]: *** [dummy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.18-14/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18-14/drivers'
make: *** [_mod_drivers] Error 2
[root@dhcppc2 linux-2.4]#


Thought that is is the network settings and checked them but nothing works. I am using a LinkSys LNE100TX and the Tulip drivers. Is there something missing? Is there a good article on custom kernels? Thanks
 
did you do a 'make dep'?

so
make xconfig
make dep
make modules
.....
 
...also, did you do a 'make clean' or 'make mrproper' before the 'make xconfig'?


ChrisP
 
Originally, I used 'make clean' then configured the kernel. Then after a little reasearch I came across an article using 'make mrproper', what does this command do? Does it load the currently installed kernels settings? Is there an option to do just that? I would like to use the kernel the way it is now and just enable NTFS and HPFS support. Is that possible?

I did do 'make dep' after 'make xconfig'.
 
I'm also have this problem. I noticed that the modules that were bombing I didn't really need, so I chose "N" in the kernel configuration for those modules. I would use make dep; make clean; make modules and get further and further each time, however, I finally bumped into lp.o which is the parallel printer driver (which I need).

My errors started out looking exactly the same. What am I missing?

-M
 
I just tried:

# make mrproper; make xconfig
# make dep; make modules

and this worked for me.

Basically this was my test.

rpm -e kernel-sources-xxx
rpm -Uhv kernel-sources-xxx

# make mrproper; make xconfig
I didn't modify anything in the xconfig window I just clicked save and exit.

Then to compile:
# make dep; make modules

...and everthing went fine.

Try and see if this test works for you.

-M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top