Problem linking example
Posted: Sun Jul 22, 2001 11:00 pm
Hey All,
I'm trying to build the example kernel under developer guides on this site, and I'm running into a problem...
I can get the C version of the kernel to build, and to link correctly, and the loader does what it's supposed to, but when I try to test the c/asm mix, or the asm by it self I get an error from ld (see below for version info) that says the .o file format is not recoginized.
I started with coff (as it says in the example), and also tried several other formats supported by nasm, all to no avail.
I'm doing all the building on a Linux system, with nasm 0.98 (latest src from kernel.org mirror) and ld version :
GNU ld 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Supported emulations:
elf_i386
i386linux
Has anyone else run into this problem?
Thanks,
Wyldwolf
I'm trying to build the example kernel under developer guides on this site, and I'm running into a problem...
I can get the C version of the kernel to build, and to link correctly, and the loader does what it's supposed to, but when I try to test the c/asm mix, or the asm by it self I get an error from ld (see below for version info) that says the .o file format is not recoginized.
I started with coff (as it says in the example), and also tried several other formats supported by nasm, all to no avail.
I'm doing all the building on a Linux system, with nasm 0.98 (latest src from kernel.org mirror) and ld version :
GNU ld 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
Supported emulations:
elf_i386
i386linux
Has anyone else run into this problem?
Thanks,
Wyldwolf