LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-06-2002, 01:02 PM   #1
jdreg
LQ Newbie
 
Registered: Feb 2002
Posts: 11

Rep: Reputation: 0
Unhappy Compiling Kernal Error


I am running RedHat 7.1 with linux 2.4.2. Added second processor to my Gateway 6400 server which I am using as my workstation. I executed cat /proc/cpuinfo which only showed processor 0. Assuming that this means that only the first processor is in use by the OS, using make xconfig I insured that the SMP option is 'yes'.
1. Ran make dep
Received message md5sum: Warning 12 out of 12 computed checksums did NOT match
2. Ran make clear
without errors
3. Ran make clean
without errors
4. Ran make bzImage
Some warning about indirect call with *
5. Ran make modules
after the gcc _D_KERNAL ... statement
received
In file included from /usr/src/linux-2.4.2/include/linux/spinlock.h:35
from /usr/src/linux-2.4.2/include/linux/module.h:11,
from dummy.c:34
error messages of the type and multiples of
"nondigits in number and not hexadecimal"
"parse error before 'some hex nbr'"
"`printK_R_ver_str' declared as function returns a function"
in spinlock.h and modules.h
Then
make[2]: ***[dummy.o] Error 1
make[2]: Leaving dir /usr/src/linux-2.4.2/drivers/net
make[1]: ***[modsubdir_net] Error 2
make[1]: Leaving dir /usr/src/linux-2.4.2/drivers
make: ***[_mod_drivers] Error 2

I sure hope that this makes sense to someone . I would think that the kernal compile would be straight forward as it an important process. Therefore I was surprised, "don't know why", when problems arose.

Jdr
jdreg@ev1.net

Cheer Up, Things Could Be Worse! So I Cheered Up - And Sure Enough, Things Got Worse . . .
 
Old 04-06-2002, 02:38 PM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Try a little script - buildkernel - it gets the latest stable kernel and does everything from there. It puts an extra entry into LILO, so you dont have to worry about being totally screwed up.
It worked fine for me to to get a workable kernel. Afterwards you can always go and change whatever you feel like.
http://buildkernel.stearns.org
 
Old 04-06-2002, 04:05 PM   #3
jdreg
LQ Newbie
 
Registered: Feb 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the help . . . Jdr
 
Old 04-06-2002, 04:09 PM   #4
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
pls. let me know if if it worked for you or not!
 
  


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
Compiling kernal in Debian 3.0 swmok Debian 2 03-31-2005 07:17 AM
Compiling a kernal(first time) sergeantroach Linux - Software 6 02-11-2004 02:10 AM
kernal compiling nuhn123 Linux - Newbie 5 09-06-2003 04:53 PM
compiling kernal ronss Slackware 6 06-02-2002 04:50 PM
Compiling the Kernal AMDPwred Linux - General 5 03-12-2002 09:19 AM


All times are GMT -5. The time now is 06:49 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