now when I do a "make modules" I get an error but I believe this is an easier problem to fix. When I first install RHEL on the machine I used the cdrom. Since then I have removed the cdrom and I am trying to build a custom kernel. Is it possible that I am getting this error because I do not physically have a cdrom in the server anymore? I will continue to try and google an answer to my problem. Any help is greatly appreciated.
Here is the error:
make -C cdrom modules
make[2]: Entering directory `/usr/src/linux-2.4.21-15.EL/drivers/cdrom'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-15.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-15.EL/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=cdrom -DEXPORT_SYMTAB -c cdrom.c
In file included from /usr/src/linux-2.4.21-15.EL/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.21-15.EL/include/linux/list.h:6,
from /usr/src/linux-2.4.21-15.EL/include/linux/module.h:12,
from cdrom.c:255:
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:61: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:61: field `loops_per_jiffy_R_ver_str' declared as a function
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: invalid suffix on integer constant
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: syntax error before numeric constant
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:84: warning: function declaration isn't a prototype
In file included from /usr/src/linux-2.4.21-15.EL/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.21-15.EL/include/linux/list.h:6,
from /usr/src/linux-2.4.21-15.EL/include/linux/module.h:12,
from cdrom.c:255:
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:270:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux-2.4.21-15.EL/include/linux/modversions.h:138,
from <command line>:1:
/usr/src/linux-2.4.21-15.EL/include/linux/modules/i386_ksyms.ver:81:1: warning: this is the location of the previous definition
/usr/src/linux-2.4.21-15.EL/include/asm/processor.h:272: warning: parameter names (without types) in function declaration
In file included from cdrom.c:255:
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:190: invalid suffix on integer constant
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:190: syntax error before numeric constant
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:190: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:190: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:191: invalid suffix on integer constant
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:191: syntax error before numeric constant
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:191: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:191: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:192: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:192: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:193: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:193: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:194: invalid suffix on integer constant
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:194: syntax error before numeric constant
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:194: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:194: warning: function declaration isn't a prototype
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:203: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.21-15.EL/include/linux/module.h:203: warning: parameter names (without types) in function declaration
make[2]: *** [cdrom.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21-15.EL/drivers/cdrom'
make[1]: *** [_modsubdir_cdrom] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-15.EL/drivers'
make: *** [_mod_drivers] Error 2