Re: Kernel 2.5.8 compilation fail...

From: Dipankar Sarma (dipankar@in.ibm.com)
Date: Mon Apr 22 2002 - 07:10:22 EST


In article <20020422100649.GA4025@hazard.jcu.cz> Jan Marek wrote:

> --VbJkn9YxBvnuCH5J
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline

> Hallo,

> I have problems with linking of kernel 2.5.8-usagi. Compilation
> ended with:

> ld -m elf_i386 -T /usr/src/usagi/kernel/linux25/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 \
> /usr/src/usagi/kernel/linux25/arch/i386/lib/lib.a
> /usr/src/usagi/kernel/linux25/lib/lib.a
> /usr/src/usagi/kernel/linux25/arch/i386/lib/lib.a \
> drivers/base/base.o drivers/char/char.o drivers/block/block.o
> drivers/misc/misc.o drivers/net/net.o drivers/media/media.o
> drivers/char/agp/agp.o drivers/ide/idedriver.o drivers/cdrom/driver.o
> sound/sound.o drivers/pci/driver.o drivers/pnp/pnp.o
> drivers/video/video.o \
> net/network.o \
> --end-group \
> -o vmlinux
> init/main.o: In function `start_kernel':
> init/main.o(.text.init+0x5db): undefined reference to
> `setup_per_cpu_areas'
> make: *** [vmlinux] Error 1

You can use the attached (text/plain) patch to fix this.

Thanks

-- 
Dipankar Sarma  <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:30 EST