[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trying to build Redhat kernel on Debian



Howdy,

this is probably the wrong list to ask this question but anyway:

I'm trying to install a package which needs kernel 2.4.2 as included
with Redhat 7.1 (apparently Redhat applied some patches which are
required).  Since I very much dislike Redhat, I copied the source
tree for the kernel from a Redhat 7.1 machine to my Debian box.
Unfortunately after a make xconfig; make dep I get the errors listed below
when running "make modules". (Note: I get exactly the same results when
trying to recompile the kernel on the Redhat 7.1 box by the way, but ofcourse
this type of question isn't included in the standard 60-day websupport >-( ).
Anyway, if somebody could tell me what might be wrong I would very much
apreciate it since I realy need this exact kernel.

thanks in advance,

Nico

make[2]: Entering directory `/usr/src/linux-2.4.2-redhat/drivers/char'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.2-redhat/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.2-redhat/include/linux/modversions.h   -c -o rtc.o rtc.c
In file included from /usr/src/linux-2.4.2-redhat/include/linux/version.h:1,
                 from /usr/src/linux-2.4.2-redhat/include/linux/module.h:261,
                 from rtc.c:58:
/usr/src/linux-2.4.2-redhat/include/linux/rhconfig.h:13: /boot/kernel.h: No such file or directory
In file included from /usr/src/linux-2.4.2-redhat/include/linux/wait.h:19,
                 from /usr/src/linux-2.4.2-redhat/include/linux/fs.h:12,
                 from /usr/src/linux-2.4.2-redhat/include/linux/devfs_fs_kernel.h:4,
                 from /usr/src/linux-2.4.2-redhat/include/linux/miscdevice.h:4,
                 from rtc.c:61:
/usr/src/linux-2.4.2-redhat/include/asm/processor.h:248: warning: `EISA_bus' redefined
/usr/src/linux-2.4.2-redhat/include/linux/modules/i386_ksyms.ver:68: warning: this is the location of the previous definition
In file included from /usr/src/linux-2.4.2-redhat/include/linux/spinlock.h:35,
                 from /usr/src/linux-2.4.2-redhat/include/linux/module.h:11,
                 from rtc.c:58:
/usr/src/linux-2.4.2-redhat/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/asm/spinlock.h:8: parse error before `1b7d4074'
/usr/src/linux-2.4.2-redhat/include/asm/spinlock.h:9: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.2-redhat/include/asm/spinlock.h:9: warning: function declaration isn't a prototype
In file included from rtc.c:58:
/usr/src/linux-2.4.2-redhat/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:173: parse error before `62dada05'
/usr/src/linux-2.4.2-redhat/include/linux/module.h:173: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.2-redhat/include/linux/module.h:173: warning: function declaration isn't a prototype
/usr/src/linux-2.4.2-redhat/include/linux/module.h:174: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:174: missing white space after number `7a9e845'
/usr/src/linux-2.4.2-redhat/include/linux/module.h:174: parse error before `7a9e845'
/usr/src/linux-2.4.2-redhat/include/linux/module.h:174: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.2-redhat/include/linux/module.h:174: warning: function declaration isn't a prototype
/usr/src/linux-2.4.2-redhat/include/linux/module.h:175: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.2-redhat/include/linux/module.h:175: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.2-redhat/include/linux/module.h:176: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.2-redhat/include/linux/module.h:176: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.2-redhat/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4.2-redhat/include/linux/module.h:177: parse error before `6b99f7d8'
/usr/src/linux-2.4.2-redhat/include/linux/module.h:177: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.2-redhat/include/linux/module.h:177: warning: function declaration isn't a prototype
/usr/src/linux-2.4.2-redhat/include/linux/module.h:186: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.2-redhat/include/linux/module.h:186: warning: parameter names (without types) in function declaration
make[2]: *** [rtc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.2-redhat/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2-redhat/drivers'
make: *** [_mod_drivers] Error 2





---------------------------------------------------------
 "It has been said that there are only two businesses that
  refer to customers as users: illegal drug trade and
               the computer industry." 
---------------------------------------------------------
Nico De Ranter
Sony Service Center (SDCE/NEE-B)
Sint Stevens Woluwestraat 55 (Rue de Woluwe-Saint-Etienne)
1130 Brussel (Bruxelles), Belgium, Europe, Earth
Telephone: +32 2 724 86 41 Telefax: +32 2 726 26 86
e-mail: nico.deranter@sonycom.com



Reply to: