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 02-15-2004, 09:34 PM   #1
jsmith22046
LQ Newbie
 
Registered: Oct 2003
Location: North Carolina
Distribution: Red Hat 9
Posts: 17

Rep: Reputation: 0
Recompiling 2.4.22-1.2149.ntpl error


When I try to recompile my 2.4.22-1.2149.nptl kernel (Fedora Core 1.0) I get the following output while trying to do a 'make bzImage' I do this after the 'make xconfig' and 'make dep'. Any Ideas why this might be?

gcc32 -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2149.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=strstr -c -o strstr.o strstr.c
rm -f lib.a
ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o
make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2149.nptl/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2149.nptl/arch/i386/lib'
make[1]: Entering directory `/usr/src/linux-2.4.22-1.2149.nptl'
kallsyms pass 1
ld -m elf_i386 -T /usr/src/linux-2.4.22-1.2149.nptl/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_mounts.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/cpufreq/cpufreq.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/media/media.o drivers/md/mddev.o drivers/isdn/vmlinux-obj.o drivers/sensors/sensor.o net/network.o /usr/src/linux-2.4.22-1.2149.nptl/arch/i386/lib/lib.a /usr/src/linux-2.4.22-1.2149.nptl/lib/lib.a /usr/src/linux-2.4.22-1.2149.nptl/arch/i386/lib/lib.a --end-group -o .tmp_vmlinux1
kernel/kernel.o(.text+0x108c): In function `schedule':
: undefined reference to `active_load_balance'
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2149.nptl'
make: *** [vmlinux] Error 2
[root@localhost linux-2.4.22-1.2149.nptl]#

Of course this is the end of the output, there is plenty of gcc32 lines above this. Thanks.

Jeff
 
Old 02-16-2004, 01:20 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Try doing this..

Backup the .config so you can load it from xconfig, then run the following command.

make mrproper xconfig dep clean bzImage modules modules_install

If this fails to help you need to verify / reinstall the kernel-source package and / or change the kernel config to solve the problem.
 
  


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
Lilo error after recompiling xp1o1d5 Linux - General 12 07-26-2006 10:50 AM
error recompiling 2.6.7 (2.6.6 recompiled fine) powadha Debian 2 07-05-2004 04:50 PM
What is NTPL, and can I use it? neocookie Linux - Newbie 4 06-09-2004 09:16 AM
ntpl v ntplsmp lwcloud Fedora - Installation 1 02-17-2004 09:51 PM
init error after recompiling kernel jza Linux - General 3 01-04-2004 10:03 AM


All times are GMT -5. The time now is 08:30 PM.

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