LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-08-2005, 12:06 PM   #1
t0mmy
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
Kernel 2.6 make modules error on RH9


I need to compile the new kernel for Red Hat 9. However, I'm having trouble on "make modules":
Quote:
In file included from drivers/message/fusion/mptscsih.c:68:
drivers/message/fusion/linux_compat.h:11: redefinition of `scsi_device_online'
include/scsi/scsi_device.h:229: `scsi_device_online' previously defined here
drivers/message/fusion/linux_compat.h: In function `scsi_device_online':
drivers/message/fusion/linux_compat.h:12: structure has no member named `online'
make[3]: *** [drivers/message/fusion/mptscsih.o] Error 1
make[2]: *** [drivers/message/fusion] Error 2
make[1]: *** [drivers/message] Error 2
make: *** [drivers] Error 2
The kernel does run, but when it gets to the login screen, it seems to be stuck in a loop that goes between something that closes when opened and the console login screen. Plus, not all modules work for obvious reasons. Any advice?

Thanks,
Tommy
 
Old 04-08-2005, 03:26 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
have a look at this migration tutorial

helped me also

http://thomer.com/linux/migrate-to-2.6.html

regards
 
Old 04-08-2005, 05:50 PM   #3
t0mmy
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Um... what exactly does that have to do with the question? I saw nothing about the error...
 
Old 04-08-2005, 10:26 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
there was some instruction on installing a 2.6 rpm

u can do this

1.check for source again,download again if possible

2.get a 2.6 rpm for redhat 9 ,install that,use that config file to build ur kernel,if that goes fine then keep that options as base options and keep working on that

regards
 
  


Reply



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
make modules complie error..... hkl8324 Debian 1 06-14-2005 05:13 PM
make new modules for the same kernel? linuxhippy Slackware 1 03-26-2005 12:36 PM
Error while 'make modules' -- Error in processor.h thomasmathew Linux - General 3 04-29-2004 02:38 AM
updating to kernel 2.4.22 error 'make modules' concerning aic7 Mestax Linux - Newbie 1 09-23-2003 02:51 PM
'make modules' error liguorir Linux - Software 6 06-26-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 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
Open Source Consulting | Domain Registration