LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel 2.6 make modules error on RH9 (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-2-6-make-modules-error-on-rh9-311132/)

t0mmy 04-08-2005 12:06 PM

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

masand 04-08-2005 03:26 PM

have a look at this migration tutorial

helped me also

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

regards

t0mmy 04-08-2005 05:50 PM

Um... what exactly does that have to do with the question? I saw nothing about the error...

masand 04-08-2005 10:26 PM

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


All times are GMT -5. The time now is 04:05 PM.