Date: Mon, 15 Feb 1999 10:15:01 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Crousto cc: djgpp AT delorie DOT com Subject: Re: "SIGSEGV error" with WinAllegro+RSXNTDJ In-Reply-To: <919024498.889228@eole> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sun, 14 Feb 1999, Crousto wrote: > But when I launch the exe, I got this error 'Exception at 0x00000009, > application got signal SIGSEGV'. What does it mean, and what could be wrong? The DJGPP FAQ list (v2/faq211b.zip from the same place you get DJGPP) explains in section 12.2 what is the meaning of SIGSEGV and other messages printed when a program crashes. In your case, since the address (0x00000009 in the message you cite) is very close to zero, the most probable cause is that your program calls some functions which aren't present neither in the libraries you put on the link command line nor in the DLLs that you have installed. The FAQ explains in section 3.6 that the linker (ld.exe) supplied with RSXNTDJ doesn't print any messages if some of the functions are missing at link time. The first thing to look for is some library that you failed to mention in the link command line. One way to do that is to find out which function is missing, and then use the `nm' utility to find the library where that function lives. To find out which function is missing, use the DJGPP's version of ld.exe to link the program, and look up every function about which the linker complains as being ``unresolved'' or ``undefined''.