Error while compiling the kernel 2.6.7
Vijayakumar Ramalingam
aswathavijay at gmail.com
Tue Dec 13 16:32:58 EST 2005
HI all,
While I am compiling the linux kernel 2.6.7 with base features on x86
machine, it is not getting compiler and throwing the following error,
ld -m elf_i386 -T /usr/src/linux-2.4.20-8/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/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.onet/network.o crypto/crypto.o
/usr/src/linux-
2.4.20-8/arch/i386/lib/lib.a /usr/src/linux-2.4.20-8/lib/lib.a
/usr/src/linux-2.4.20-8/arch/i386/lib/lib.a --end-group -o .tmp_vmlinux1
kernel/kernel.o(.text+0x13191): In function `use_init_fs_context':
: undefined reference to `set_fs_root'
kernel/kernel.o(.text+0x131a5): In function `use_init_fs_context':
: undefined reference to `set_fs_pwd'
kernel/kernel.o(.text+0x13353): In function `schedule_task':
: undefined reference to `queue_task'
fs/fs.o(.text+0x67b): In function `sys_chdir':
: undefined reference to `set_fs_pwd'
fs/fs.o(.text+0x720): In function `sys_fchdir':
: undefined reference to `set_fs_pwd'
fs/fs.o(.text+0x7d2): In function `sys_chroot':
: undefined reference to `set_fs_root'
fs/fs.o(.text+0x16182): In function `d_prune_aliases':
: undefined reference to `d_drop'
fs/fs.o(.text+0x16ac0): In function `d_delete':
: undefined reference to `d_drop'
fs/fs.o(.text+0x1b720): In function `chroot_fs_refs':
: undefined reference to `set_fs_pwd'
fs/fs.o(.text+0x1b740): In function `chroot_fs_refs':
: undefined reference to `set_fs_root'
fs/fs.o(.text+0x25485): In function `pid_base_revalidate':
: undefined reference to `d_drop'
fs/fs.o(.text.init+0x940): In function `init_mount_tree':
: undefined reference to `set_fs_pwd'
fs/fs.o(.text.init+0x95f): In function `init_mount_tree':
: undefined reference to `set_fs_root'
drivers/char/char.o(.text+0x37c2): In function `flush_to_ldisc':
: undefined reference to `queue_task'
drivers/char/char.o(.text+0x38a2): In function `tty_flip_buffer_push':
: undefined reference to `queue_task'
drivers/char/char.o(.text+0x8bbe): In function `batch_entropy_store':
: undefined reference to `queue_task'
drivers/char/char.o(.text+0x14a74): In function `rs_sched_event':
: undefined reference to `queue_task'
drivers/block/block.o(.text+0x3b7): In function `generic_plug_device':
: undefined reference to `queue_task'
drivers/block/block.o(.text+0x3b9c): more undefined references to
`queue_task' follow
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-8'
make: *** [vmlinux] Error 2
Can anyone tell me what is the main cause for the above mentioned error and
how can i rectify it?
Thank in advance
Regards
Vijay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20051213/d8b66f85/attachment.htm
More information about the Linuxppc64-dev
mailing list