[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linker Error Building New Kernel



On Sat, Jun 19, 1999 at 09:11:29AM +0200, Klaus Pieper wrote:
> I installed Debian 2.1 and tried to recompile the 2.0.36 sources.
> During the link phase I got lot's of unresolved references. What is
> missing?
> 
> ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o
> init/main.o init/version.o \
>  arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
> fs/fs.o ipc/ipc.o net/network.a \
>  fs/filesystems.a \
>  drivers/block/block.a drivers/char/char.a drivers/net/net.a
> drivers/pci/pci.a \
>  /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
> /usr/src/linux/arch/i386/lib/lib.a -o vmlinux
> init/main.o: In function `ramdisk_start_setup':
> init/main.o(.text+0x511): undefined reference to `rd_image_start'
> init/main.o: In function `load_ramdisk':
> init/main.o(.text+0x52c): undefined reference to `rd_doload'
> .....
> 
> Klaus
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 
Backup your .config, then do a "make distclean". The compile should
work from that point. Are you using make-kpkg? If not, you should.
-- 
Stephen Pitts
smpitts@midsouth.rr.com
webmaster - http://www.mschess.org


Reply to: