LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Redhat 9.0 kernel (2.4.20-8) compile errors (https://www.linuxquestions.org/questions/linux-newbie-8/redhat-9-0-kernel-2-4-20-8-compile-errors-69209/)

devershetty 07-01-2003 12:52 AM

Redhat 9.0 kernel (2.4.20-8) compile errors
 
Hi Guys,

I have Redhat 9.0 with kernel 2.4.20-8, I need to enable
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
for devfs support and recompile kernel.
I got fixed problem of make bzImage i.e .
fs/devfs/base.c:1417: structure has no member named `p_opptr'
by putting patch on base.c by not use *p_opptr where 2.4.20-8 dont has this member.

But I am getting many more problems while make modules
some log of make modules
----------------log starts here---------------------------------------------
/usr/src/linux-2.4.20-8/include/linux/module.h:185: `inter_module_get_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:185: warning: parameter names (wi
thout types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:186: `inter_module_get_request_R_
ver_str' declared as function returning a function
/usr/src/linux-2.4.20-8/include/linux/module.h:186: warning: parameter names (wi
thout types) in function declaration
/usr/src/linux-2.4.20-8/include/linux/module.h:187: invalid suffix on integer co
nstant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: parse error before numeric c
onstant
/usr/src/linux-2.4.20-8/include/linux/module.h:187: `inter_module_put_R_ver_str'
declared as function returning a function



Any ideas. Is there any patches or links to get patches for devfs support for Redhat 9 (2.4.20-8).


Thanks in advance.
Kotresh.

praveen_2003 07-01-2003 01:01 AM

do u get any errors and get stuck there?

devershetty 07-01-2003 01:10 AM

Hi Praveen,

make dep -- OK.
make bzImage -- Ok ( after putting hand made patch )
make modules --Not OK
I am stuck at make modules.
make modules errors are so many and small part of log i have posted in my previous post.Do u need a log make module errors??
any ideas ??
I am just going thru linux/Documentation/fs/devfs/*
as of now.

-regards
Kotresh.
-

praveen_2003 07-01-2003 12:25 PM

hi Mr.kotresh
well after u do make mrproper did u do "make menuconfig" or just "make config".becoz i think u r trying to manually handle the filesystem area.so if u do "make menuconfig" u can remove some unwanted stuffs which is more wiser than make config.howeveris u get the same problem again use "make oldconfig" after make mrproper.but this will take quiet a long time to do make modules and includes some unwanted modules.that's it


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