LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Error while "make modules" while recompiling the kernel on linux 2.4.21-40ELsmp (http://www.linuxquestions.org/questions/red-hat-31/error-while-make-modules-while-recompiling-the-kernel-on-linux-2-4-21-40elsmp-441351/)

gaurav_verma22 05-03-2006 04:23 PM

Error while "make modules" while recompiling the kernel on linux 2.4.21-40ELsmp
 
Im getting this error while running "make modules" on RH linux 2.4.21-40 (essentially, Im trying to recompile the kernel.) I was able to get # make bzImage working before this command...

$ make modules
.......
..........
.........
attribute directive ignored
In file included from qla2100.c:43:
qla2x00.c:18368: duplicate initializer
qla2x00.c:18368: (near initialization for `driver_template.use_clustering')
make[3]: *** [qla2100.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21-40.EL/drivers/addon/qla2200'
make[2]: *** [_modsubdir_qla2200] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-40.EL/drivers/addon'
make[1]: *** [_modsubdir_addon] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-40.EL/drivers'
make: *** [_mod_drivers] Error 2
#

Any ideas are appreciated.. Please respond back if you can...

-- thanks

Gaurav

gaurav_verma22 05-03-2006 04:39 PM

Also, this is what I had done before:

make mrproper
make oldconfig
make menuconfig
make dep
make
make clean

Darck choclate 07-19-2006 06:32 AM

I am having the same problem.
If You find how to fix this, please post the details here.


All times are GMT -5. The time now is 11:39 PM.