ld from djgpp errors
Posted: Thu Feb 19, 2004 5:18 am
ld returned some errors when I link memory.o,page.o.
The program ld came from a package which can be downloaded at http://www.osdever.net/downloads/other/ ... ls2112.zip
and if I link the two files with ld -r -o mm.o memory.o page.o,it runs ok.En,what's the different between elf_i386 and i386-go32?How to creat a ld.exe under win system?(I mean if the version of this ld is too low?).The most important,
is there any way else I can creat the mm.o file correctly?
(you can download tomm.zip which contains mm.o and memory.o at http://tmxk.net/312/tomm.zip if you want to help me )
ld -m elf_i386 -r -o mm.o memory.o page.o
Exiting due to signal SIGFPE
Division by Zero at eip=00047af8, x87 status=0000
eax=00000000 ebx=00127b10 ecx=00000000 edx=00000000 esi=00120d70 edi=0000000
ebp=0011a948 esp=0011a860 program=d:\DJGPP\BIN\ld.exe
cs: sel=01ff base=01da0000 limit=0013ffff
ds: sel=0207 base=01da0000 limit=0013ffff
es: sel=0207 base=01da0000 limit=0013ffff
fs: sel=01d7 base=00009ab0 limit=0000ffff
gs: sel=0217 base=00000000 limit=0010ffff
ss: sel=0207 base=01da0000 limit=0013ffff
App stack: [0011a9c0..0009a9c0] Exceptn stack: [0009a914..000989d4]
Call frame traceback EIPs:
0x00047af8
0x0001cb30
0x0001a308
0x00082552
make.exe: *** [mm.o] Error -1
The program ld came from a package which can be downloaded at http://www.osdever.net/downloads/other/ ... ls2112.zip
and if I link the two files with ld -r -o mm.o memory.o page.o,it runs ok.En,what's the different between elf_i386 and i386-go32?How to creat a ld.exe under win system?(I mean if the version of this ld is too low?).The most important,
is there any way else I can creat the mm.o file correctly?
(you can download tomm.zip which contains mm.o and memory.o at http://tmxk.net/312/tomm.zip if you want to help me )
ld -m elf_i386 -r -o mm.o memory.o page.o
Exiting due to signal SIGFPE
Division by Zero at eip=00047af8, x87 status=0000
eax=00000000 ebx=00127b10 ecx=00000000 edx=00000000 esi=00120d70 edi=0000000
ebp=0011a948 esp=0011a860 program=d:\DJGPP\BIN\ld.exe
cs: sel=01ff base=01da0000 limit=0013ffff
ds: sel=0207 base=01da0000 limit=0013ffff
es: sel=0207 base=01da0000 limit=0013ffff
fs: sel=01d7 base=00009ab0 limit=0000ffff
gs: sel=0217 base=00000000 limit=0010ffff
ss: sel=0207 base=01da0000 limit=0013ffff
App stack: [0011a9c0..0009a9c0] Exceptn stack: [0009a914..000989d4]
Call frame traceback EIPs:
0x00047af8
0x0001cb30
0x0001a308
0x00082552
make.exe: *** [mm.o] Error -1