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