LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-06-2006, 12:30 AM   #1
vishwadeepak
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
errors in compiling linux-2.4.20-6 kernel


i have Red Hat Linux release 9 (Shrike)with kernel version 2.4.18
i want to install linux-2.4.20-6 while compiling the same i got these errors in make modules


In file included from cpufreq.c:15:
/usr/src/linux-2.4.20-6/include/linux/kernel.h:60: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:60: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:60: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:61: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:61: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:62: `panic_R_ver_str' declared as function returning a fu
nction
/usr/src/linux-2.4.20-6/include/linux/kernel.h:62: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:68: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:68: `simple_strtoul_R_ver_str' declared as function retur
ning a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:68: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:69: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:69: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:69: `simple_strtol_R_ver_str' declared as function return
ing a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:69: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:70: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:70: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:70: `simple_strtoull_R_ver_str' declared as function retu
rning a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:70: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:72: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:72: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:73: `sprintf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:73: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:74: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:74: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:74: `vsprintf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:74: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:75: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:75: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:76: `snprintf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:76: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:77: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:77: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:77: `vsnprintf_R_ver_str' declared as function returning
a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:77: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:79: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:79: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:80: `sscanf_R_ver_str' declared as function returning a f
unction
/usr/src/linux-2.4.20-6/include/linux/kernel.h:80: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:81: `vsscanf_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:81: warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.20-6/include/linux/kernel.h:83: `get_option_R_ver_str' declared as function returning
a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:83: warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.20-6/include/linux/kernel.h:84: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:84: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:84: `get_options_R_ver_str' declared as function returnin
g a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:84: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:85: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:85: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:85: `memparse_R_ver_str' declared as function returning a
function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:85: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:91: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:91: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:92: `printk_R_ver_str' declared as function returning a f
unction
/usr/src/linux-2.4.20-6/include/linux/kernel.h:92: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:108: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:108: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:109: warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.20-6/include/linux/kernel.h:114: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:114: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:114: `dump_stack_R_ver_str' declared as function returnin
g a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:114: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/kernel.h:191: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:191: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/kernel.h:191: `__out_of_line_bug_R_ver_str' declared as function r
eturning a function
/usr/src/linux-2.4.20-6/include/linux/kernel.h:191: warning: function declaration isn't a prototype
In file included from /usr/src/linux-2.4.20-6/include/linux/spinlock.h:56,
from /usr/src/linux-2.4.20-6/include/linux/module.h:11,
from cpufreq.c:16:
/usr/src/linux-2.4.20-6/include/asm/spinlock.h:9: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/asm/spinlock.h:9: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/asm/spinlock.h:10: `printk_R_ver_str' declared as function returning a f
unction
/usr/src/linux-2.4.20-6/include/asm/spinlock.h:10: warning: function declaration isn't a prototype
In file included from /usr/src/linux-2.4.20-6/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-6/include/linux/list.h:6,
from /usr/src/linux-2.4.20-6/include/linux/module.h:12,
from cpufreq.c:16:
/usr/src/linux-2.4.20-6/include/asm/processor.h:60: warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.20-6/include/asm/processor.h:60: field `loops_per_jiffy_R_ver_str' declared as a func
tion
/usr/src/linux-2.4.20-6/include/asm/processor.h:82: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/asm/processor.h:82: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/asm/processor.h:82: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/asm/processor.h:265: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/asm/processor.h:265: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/asm/processor.h:265: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/asm/processor.h:269: warning: parameter names (without types) in functio
n declaration
/usr/src/linux-2.4.20-6/include/asm/processor.h:450: invalid suffix on floating constant
/usr/src/linux-2.4.20-6/include/asm/processor.h:450: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/asm/processor.h:450: `kernel_thread_R_ver_str' declared as function retu
rning a function
/usr/src/linux-2.4.20-6/include/asm/processor.h:450: warning: function declaration isn't a prototype
In file included from cpufreq.c:16:
/usr/src/linux-2.4.20-6/include/linux/module.h:183: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/module.h:183: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/module.h:183: `inter_module_register_R_ver_str' declared as functi
on returning a function
/usr/src/linux-2.4.20-6/include/linux/module.h:183: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/module.h:184: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/module.h:184: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/module.h:184: `inter_module_unregister_R_ver_str' declared as func
tion returning a function
/usr/src/linux-2.4.20-6/include/linux/module.h:184: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/module.h:185: `inter_module_get_R_ver_str' declared as function re
turning a function
/usr/src/linux-2.4.20-6/include/linux/module.h:185: warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.20-6/include/linux/module.h:186: `inter_module_get_request_R_ver_str' declared as fun
ction returning a function
/usr/src/linux-2.4.20-6/include/linux/module.h:186: warning: parameter names (without types) in function
declaration
/usr/src/linux-2.4.20-6/include/linux/module.h:187: invalid suffix on integer constant
/usr/src/linux-2.4.20-6/include/linux/module.h:187: parse error before numeric constant
/usr/src/linux-2.4.20-6/include/linux/module.h:187: `inter_module_put_R_ver_str' declared as function re
turning a function
/usr/src/linux-2.4.20-6/include/linux/module.h:187: warning: function declaration isn't a prototype
/usr/src/linux-2.4.20-6/include/linux/module.h:196: `try_inc_mod_count_R_ver_str' declared as function r
eturning a function
/usr/src/linux-2.4.20-6/include/linux/module.h:196: warning: parameter names (without types) in function
declaration
In file included from /usr/src/linux-2.4.20-6/include/linux/fs.h:19,
from /usr/src/linux-2.4.20-6/include/linux/capability.h:17,
from /usr/src/linux-2.4.20-6/include/linux/binfmts.h:4,
from /usr/src/linux-2.4.20-6/include/linux/sched.h:10,
from /usr/src/linux-2.4.20-6/include/asm/smplock.h:11,
from /usr/src/linux-2.4.20-6/include/linux/smp_lock.h:16,
from /usr/src/linux-2.4.20-6/include/asm/hw_irq.h:16,
from /usr/src/linux-2.4.20-6/include/linux/irq.h:69,
from /usr/src/linux-2.4.20-6/include/asm/hardirq.h:6,
from /usr/src/linux-2.4.20-6/include/linux/interrupt.h:46,
from cpufreq.c:21:
/usr/src/linux-2.4.20-6/include/linux/dcache.h: In function `dget':
/usr/src/linux-2.4.20-6/include/linux/dcache.h:254: warning: implicit declaration of function `__out_of_
line_bug_R8b0fd3c5'
cpufreq.c: In function `cpufreq_parse_policy':
cpufreq.c:111: warning: implicit declaration of function `sscanf_R859204af'
cpufreq.c: In function `cpufreq_proc_read':
cpufreq.c:225: warning: implicit declaration of function `sprintf_R1d26aa98'
cpufreq.c: In function `cpufreq_proc_init':
cpufreq.c:327: warning: implicit declaration of function `printk_R1b7d4074'
cpufreq.c: In function `cpufreq_restore':
cpufreq.c:1109: warning: implicit declaration of function `panic_R01075bf0'
/usr/src/linux-2.4.20-6/include/asm/uaccess.h: At top level:
cpufreq.c:192: warning: `cpufreq_setup' defined but not used
make[1]: *** [cpufreq.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-6/kernel'
make: *** [_mod_kernel] Error 2

of u need any other info plz let me know
 
Old 12-06-2006, 10:43 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
First off RHL9 was released with either the 2.4.20-6/8 kernels. Second it is old and not supported. Third why are you attempting to build such an out of date kernel?? RHL9 has had a number of kernel and other updates over the years it was supported. If nothing else bring the system current. You really should consider replacing the OS is the first place. if staying with the Red Hat Family, then Fedora Core, CentOS or Scientific Linux are available for downloading.

Updates for RHL9; http://www.fedoralegacy.org/

Replacement choices;

http://www.centos.org/
http://fedora.redhat.com/
https://www.scientificlinux.org/

Both CentOS and SL are freely available binary compatible clones of RHEL 3 or 4 depending on the serirs desired. Fedora Core is the replacement for the old Red Hat Linux series.
 
Old 12-06-2006, 10:19 PM   #3
vishwadeepak
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
i need that kernel.i have some patches which support that kernel.
now i have installed the 2.4.20-6 kernel.but the graphical interface and networking interface are not working.it is not detecting the etrernet interfaces.
 
Old 12-08-2006, 12:26 AM   #4
vishwadeepak
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
now my interfaces are up by changing in configuration.linux-2.4.20-6 is installed but my /proc/modules is empty wat to do
 
  


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 Compiling Errors!!!! brokenmaize Linux - General 14 11-21-2006 04:13 AM
errors while compiling linux 2.4.21 kernel!! sepkys Linux - Kernel 2 05-19-2006 06:16 AM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
Errors when compiling kernel bornhj Slackware 18 04-14-2005 12:50 AM
Errors Compiling Kernel naesyllek Linux - General 2 07-26-2003 07:06 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration