problems building bzImage with 2.5.*

From: Burton Samograd (kruhft@kruhft.dyndns.org)
Date: Sat Sep 21 2002 - 13:35:27 EST


Hi all,

I'm quite new to the list and I'm not sure if this has been posted
already but I thought I would give it a shot. I've been trying to
build the 2.5.* kernels (2.5.37 at the moment but this has happened
with previous version as well) and when doing a make bzImage i keep
getting the following error during the final linkage:

<-- snip make entering and leaving individual driver directories with no
  errors -->

  
  Generating build number
make[1]: Entering directory `/usr/src/linux-2.5.37/init'
  Generating /usr/src/linux-2.5.37/include/linux/compile.h (updated)
  gcc -Wp,-MD,./.version.o.d -D__KERNEL__
  -I/usr/src/linux-2.5.37/include -Wall -Wstrict-prototypes
  -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing
  -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686
  -I/usr/src/linux-2.5.37/arch/i386/mach-generic -nostdinc
  -iwithprefix include -DKBUILD_BASENAME=version -c -o version.o
  version.c
   ld -m elf_i386 -r -o built-in.o main.o version.o do_mounts.o
make[1]: Leaving directory `/usr/src/linux-2.5.37/init'
  ld -m elf_i386 -e stext -T arch/i386/vmlinux.lds.s
  arch/i386/kernel/head.o arch/i386/kernel/init_task.o
  init/built-in.o --start-group arch/i386/kernel/built-in.o
  arch/i386/mm/built-in.o arch/i386/mach-generic/built-in.o
  kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o
  security/built-in.o lib/lib.a arch/i386/lib/lib.a
  drivers/built-in.o sound/built-in.o arch/i386/pci/built-in.o
  net/built-in.o --end-group -o vmlinux
drivers/built-in.o(.data+0xac34): undefined reference to `local
symbols in discarded section .text.exit'
make: *** [vmlinux] Error 1

<-- end of error -->

This is with gcc 3.1.1 on gentoo.

Also, is there a dependable link to searching the archives for this
list? I found some on the faq page but the results were less than
useful.

Thanks in advance.

burton



-
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 : Mon Sep 23 2002 - 22:00:33 EST