LinuxQuestions.org
Visit Jeremy's Blog.
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 08-08-2003, 07:43 PM   #1
incudie
LQ Newbie
 
Registered: Jul 2003
Location: Oxnard/CA/USA
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Cool Kernel 2.2.21 compilation error


Hey I've been trying to compile my own kernel for a few nights now and I haven't had much luck. First time it froze at boot then etc etc more stuff happened so I formatted and started over.

So this time I've been trying to compile kernel 2.4.21 under Redhat 9 and I redid the config file using "make xconfig" as usual. I set my settings up etc etc. Then I do "make clean" then I run "make bzImage" and it goes for awhile then I get the following and I'm not to sure on what it means. I know its config related. But any ideas on what its related too? The contents of the error are as follows:

make[2]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.21/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.21/arch/i386/vmlinux.lds -e stext arch/i386
/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_m
ounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/f
s.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/n
et/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o d
rivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/
video/video.o drivers/usb/usbdrv.o drivers/media/media.o drivers/input/inputdrv.
o \
net/network.o \
/usr/src/linux-2.4.21/arch/i386/lib/lib.a /usr/src/linux-2.4.21/lib/lib.
a /usr/src/linux-2.4.21/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/char/drm/drm.o(.text+0x74b8): In function `sis_fb_alloc':
: undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x7566): In function `sis_fb_alloc':
: undefined reference to `sis_free'
drivers/char/drm/drm.o(.text+0x75d9): In function `sis_fb_free':
: undefined reference to `sis_free'
drivers/char/drm/drm.o(.text+0x79ff): In function `sis_final_context':
: undefined reference to `sis_free'
make: *** [vmlinux] Error 1
[root@dhcp-511-10 linux-2.4.21]#



"end error"
Any help with this would be greatly appriciated.
O and also. Last time I creted a kernel I couldn't find VMLINUZ. I could find vmlinux, bzImage, and system.map easily. But this isn't too important right now.

Last edited by incudie; 08-09-2003 at 04:09 AM.
 
Old 08-09-2003, 01:40 PM   #2
ingy866
Member
 
Registered: Feb 2003
Location: Scotland
Distribution: Debian Unstable (Sid)
Posts: 78

Rep: Reputation: 15
Well it could be the version of GCC you're using, I don't know much about Red Hat, but I got a similar thing with i810_audio in Debian, as far as I mind. It's related to your console framebuffer settings. (I think it's under Console Drivers in xconfig). Presumably you have a SIS graphics card / onboard graphics. You could try just choosing the standard VESA driver here (beside the VGA 16 color graphics console option, which'll give you a nice penguin at boot time). as these is just the command line drivers (by which I mean nothing to do with X). Failing that, do gcc --version and post the output. Then hope someone who knows more about GCC versions than I do comes along.
 
Old 08-09-2003, 02:39 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well i noticed in your explanation you didn't note mention of make dep, so i don't know if you missed that step or just forgot to mention that you did it...so just take a peek at this and see if there was any steps you missed.
 
Old 08-10-2003, 02:04 PM   #4
incudie
LQ Newbie
 
Registered: Jul 2003
Location: Oxnard/CA/USA
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks, The other day I just became very frustrated and re-configured the config file and it seemed that I did somthing different before because this time it worked fine with no errors.
 
  


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 compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
kernel compilation error bond_7942 Linux - Newbie 2 02-02-2005 01:14 PM
kernel compilation error bond_7942 Linux - General 1 02-02-2005 04:35 AM
kernel compilation error in 2.4.20-8 cranium2004 Linux - Software 1 11-24-2004 06:04 AM
kernel compilation error bunty Linspire/Freespire 0 09-08-2004 09:22 AM


All times are GMT -5. The time now is 04:47 AM.

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