LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-05-2005, 01:10 AM   #1
sumak86@gmail.com
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Smile kernel compilation error


hello everyone,

I replaced a few files in the kernel source after copying to /home/suma/linux .That is a few files in the drivers and include folders of the source.After doing the make bzImage it gave the below pasted error.That is undefined reference to disable_console_blank in the kernel.o file.Can any one of please help me out as soon as possible?I have applied the patch to the slackware 10.2 ver.



make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/home/suma/linux-2.4.31/arch/i386/mm'
make[1]: Leaving directory `/home/suma/linux-2.4.31/arch/i386/mm'
make CFLAGS="-D__KERNEL__ -I/home/suma/linux-2.4.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
referred-stack-boundary=2 -march=i686 " -C arch/i386/lib
make[1]: Entering directory `/home/suma/linux-2.4.31/arch/i386/lib'
make all_targets
make[2]: Entering directory `/home/suma/linux-2.4.31/arch/i386/lib'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/home/suma/linux-2.4.31/arch/i386/lib'
make[1]: Leaving directory `/home/suma/linux-2.4.31/arch/i386/lib'
ld -m elf_i386 -T /home/suma/linux-2.4.31/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_mou
o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/i
dedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o d
rs/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o \
net/network.o \
/home/suma/linux-2.4.31/arch/i386/lib/lib.a /home/suma/linux-2.4.31/lib/lib.a /home/suma/linux-2.4.31/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
kernel/kernel.o(.text+0x37f5): In function `panic':
: undefined reference to `disable_console_blank'
make: *** [vmlinux] Error 1

Cheers
suma:
 
Old 12-05-2005, 10:21 AM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
don't replace the files?
 
Old 12-06-2005, 05:07 PM   #3
KnightHawk
Member
 
Registered: Aug 2005
Posts: 128

Rep: Reputation: 15
Would probably be usefull to know what patch it was you applied. Unless you really really mean you straight up copied a file to your linux sources... in which case the result you get is entirely expected.
 
  


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 htamayo Linux - Software 3 01-07-2005 04:15 PM
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 03:17 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