delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/10/09:39:33

Date: Wed, 10 Mar 1999 16:37:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Aaronn Connor <aaronn DOT connor AT usa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: runtime exception in RSXNTDJ
In-Reply-To: <36e65965.0@news2.uswest.net>
Message-ID: <Pine.SUN.3.91.990310163327.4977A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 10 Mar 1999, Aaronn Connor wrote:

> I'm trying to write a winsock program using DJGPP(gcc 2.8.1) and RSXNTDJ
> v1.3.1
> 
> but every time i use an API call i get an error box saying:
> 
> Exception at 0x00000009
> Application got SIGSEGV

This usually means that the executable couldn't find some function it 
needed to call.  That function should have either linked in statically, 
when you linked your program, or dynamically, at run time, by loading 
some DLL.  Failing that, the address of that function remains zeroed (or 
very close to zero, like 9 in your case) and GPFaults.

So either you forgot to add some library to the link command line, or 
some DLL is outside your PATH.

Using the original DJGPP version of ld.exe is one way of getting a list 
of all functions that aren't linked statically (the version of ld.exe 
which comes with RSXNTDJ silently ignores them, assuming they will be 
resolved at run time).

- Raw text -


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