LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2003, 01:52 AM   #1
devershetty
LQ Newbie
 
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28

Rep: Reputation: 15
Unhappy 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.
 
Old 07-01-2003, 02:01 AM   #2
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
do u get any errors and get stuck there?
 
Old 07-01-2003, 02:10 AM   #3
devershetty
LQ Newbie
 
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28

Original Poster
Rep: Reputation: 15
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.
-
 
Old 07-01-2003, 01:25 PM   #4
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compile errors slinky2004 Linux - General 1 10-22-2005 06:16 PM
kernel compile errors... ash4stuff Linux - Software 15 01-01-2004 05:48 PM
Kernel compile errors! kierse Slackware 4 12-04-2003 01:25 AM
kernel compile errors justwantin Slackware 2 08-23-2003 06:47 PM
Redhat 7.2 Kernel Compile Errors GOLDF1NG3R Linux - General 2 01-26-2002 04:53 AM


All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration