[lkml]   [1996]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectUndefined references.

I'm trying to compile linux 1.2.13 with gcc 2.7.0 and everything compiles
fine until the linking stage where I get a whole bunch of undefined references.

Here as an example of the linking stage:

ld -qmagic -Ttext 0xfffe0 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 net/net.o ipc/ipc.o \
fs/filesystems.a \
drivers/block/block.a drivers/char/char.a drivers/net/net.a arch/i386/math-emu/math.a \
/usr/src/linux/lib/lib.a -o vmlinux
ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
arch/i386/kernel/head.o(.text+0x18): undefined reference to `__edata'
arch/i386/kernel/head.o(.text+0x1d): undefined reference to `__end'
arch/i386/kernel/head.o(.text+0x7f): undefined reference to `_x86'
arch/i386/kernel/head.o(.text+0xa3): undefined reference to `_x86'
arch/i386/kernel/head.o(.text+0xcf): undefined reference to `_x86'
arch/i386/kernel/head.o(.text+0xdb): undefined reference to `_x86_model'
arch/i386/kernel/head.o(.text+0xe4): undefined reference to `_x86_mask'
arch/i386/kernel/head.o(.text+0xea): undefined reference to `_x86_capability'
arch/i386/kernel/head.o(.text+0xf4): undefined reference to `_x86_vendor_id'
arch/i386/kernel/head.o(.text+0xfa): undefined reference to `_x86_vendor_id'
arch/i386/kernel/head.o(.text+0x100): undefined reference to `_x86_vendor_id'
arch/i386/kernel/head.o(.text+0x171): undefined reference to `_start_kernel'
arch/i386/kernel/head.o(.text+0x179): undefined reference to `_hard_math'
arch/i386/kernel/head.o(.text+0x194): undefined reference to `_hard_math'
arch/i386/kernel/head.o(.text+0xc000): undefined reference to `_init_user_stack'-

Then goes on to give some more undefined references in:

Could anyone suggest what I might have configured wrong to cause lal these
undefined references?

P.S.: Please leave the subject line with the Re: so I can spot it easier
in my huge mail box.

- Thanks
- Jim

 \ /
  Last update: 2005-03-22 13:37    [W:0.025 / U:7.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site