www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/06/08:30:46

Date: Fri, 6 Sep 1996 12:19:14 GMT
From: "<\"R. Steven Regan, Hydrologist, Reston, VA \""<rsregan AT usgs DOT gov>
Message-Id: <199609061219.MAA12637@hassrvares.er.usgs.gov>
To: djgpp AT delorie DOT com
Subject: trouble with version 2

Hello, I have been trying to get an application running under version 2 of
djgpp and am having problems.  This application is a USGS geochemical model
that is being used on a wide variety of computer platforms and C compilers
(including a PC with DJGPP version 1).  The compiler reports several warnings
not found on other systems and aborts with a floating point exception.  The
following are the warnings and error messages.  Any help in determining the
cause would be appreciated.  It appears that the log10 function is not being
loaded correctly.  It is declared in the math.h header so I am puzzled.



model.c: In function `gammas':
model.c:445: warning: implicit declaration of function `log10'
prep.c: In function `k_calc':
prep.c:2906: warning: implicit declaration of function `log10'
print.c: In function `print_surface':
print.c:753: warning: implicit declaration of function `log10'
print.c:755: warning: double format, different type arg (arg5)
print.c:755: warning: double format, different type arg (arg7)
print.c:778: warning: double format, different type arg (arg5)
print.c:778: warning: double format, different type arg (arg7)
step.c: In function `add_exchange':
step.c:229: warning: implicit declaration of function `log10'
util.c: In function `hsearch_multi':
util.c:1016: warning: ANSI C forbids conditional expr with only one void side
util.c:1028: warning: ANSI C forbids conditional expr with only one void side


Initializing...                                    Exiting due to signall SIGFPE
Floating Point exception at eip=000168b1
eax=0010fa04 ebx=002d2484 ecx=00000000 edx=00000000 esi=00000004 edi=0003c8e0
ebp=0028eeb8 esp=0028eea0 cs=00a7 ds=00af es=00af fs=0087 gs=00bf ss=00af
Call frame traceback EIPs:
 0x000168b1
 0x000167fd
 0x00008533
 0x0000184f
 0x000309b3
 Extended Error 183





**************************************************************************
  R. Steven Regan  rsregan AT usgs DOT gov  phone 703-648-5896  fax 703-648-6802
    USGS, 12201 Sunrise Valley Dr, MS 437, Rm 5B406, Reston, VA  22092
        workstation: hassrvares.er.usgs.gov internet: 130.11.51.203
**************************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019