[Prev][Next][Index]
Re: your mail
> > > make[1]: Leaving directory `/usr/src/linux/arch/i386/mm'
> > > 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 \
> > > /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'
> thanks, Shay for helping,
> but as I understand(please correct me if I wrong) gcc 2.7.0 bye default is compiling as ELF,
> if it is not told otherwise.
> I have also enable the ELF-bin format in kernel configuration.
> So what should i do?
>From the above linking it does NOT seem as if you're compiling the kernel as
ELF. Note: Don't confuse enabling ELF binaries support in the kernel, and
compiling the kernel as ELF. The former allows execution of ELF binaries
and the latter actually compiles your kernel as an ELF binary. Do a make
config and set them both to on.
Shay
--
Shay Rojansky, roji@cs.huji.ac.il Finger for PGP public key