Mail Archives: djgpp/1998/01/11/20:01:43
From: | "Luke" <mpanian AT awinc DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Make thingy and Floating point err
|
Date: | 12 Jan 1998 00:54:00 GMT
|
Organization: | Virtuall Private Host Services Ltd., BC, CANADA
|
Lines: | 51
|
Message-ID: | <01bd1ef4$e68d10e0$5c55aecc@mpanian.awinc.com>
|
NNTP-Posting-Host: | ts1-27.nel.auracom.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello,
I downloaded djgpp just a few days ago, so am fairly new at it. I have a
bunch of files that I made with Microsoft C++, and when compiled, they
worked fine under that. But when I got them compiled under djgpp and tried
to run it, I got some sort of floating point exception, and signal SIGFPE.
This is the readout I got from symify...
C:\DJGPP\PROJECTS\3D\BOX.EXE BOX.DXF -W
Loading DXF file...
Exiting due to signal SIGFPE
Floating Point exception at eip=000034f1
eax=00056200 ebx=00000000 ecx=000041f8 edx=00000000 esi=00056218
edi=00052b02
ebp=00052bfe esp=00052aca program=C:\DJGPP\PROJECTS\3D\BOX.EXE
cs: sel=00a7 base=10000000 limit=0006ffff
ds: sel=00af base=10000000 limit=0006ffff
es: sel=00af base=10000000 limit=0006ffff
fs: sel=008f base=0000cfc0 limit=0000ffff
gs: sel=00bf base=00000000 limit=ffffffff
ss: sel=00af base=10000000 limit=0006ffff
Call frame traceback EIPs:
0x000034f1 _CalcNormal__7Panel3D+677
0x00005195 _WriteBIN__11PanelObjectPc+461
0x00004d25 _LoadPanel__11PanelObjectRii+153
0x00004c5e _LoadPanelData__11PanelObject+50
0x00004d6a _LoadDXF__11PanelObjectPc+26
0x00001665 _main+121
0x0000586e ___crt1_startup+138
It is a big 3D library, and my guess was that it had something to do with
the floating point calculations ( I think in Panel3D::CalcNormal(), but I
am not sure.) So, if anyone can help me, it would be greatly appreciated.
I'm kinda in the dark here, because I couldn't find a thing in the FAQ.
Also, when I run make, it says something like
(makefile:4) : *** seperator missing
that may not sound weird, but line 4 is:
cc -c test.exe $(objects)
and if I put a : in, then it only compiles the first .o file in the var
objects. I ended up doing the whole thing, line by line.
Well, if anyone has an answer to either of those questions, it would really
help.
Thanks in advance,
Luke
- Raw text -