delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/17/04:07:45

Message-ID: <36CA866B.8BE3900C@informix.com>
Date: Wed, 17 Feb 1999 10:05:47 +0100
From: Noelia Soleres <noelia AT informix DOT com>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: DLL question
Reply-To: djgpp AT delorie DOT com

--------------AE8D1DD62756F6DDA97984F6
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

I'm begining to work with djgpp and I have a question about DLL=B4s.
I've installed the djgpp basic package and the rsxntdj package. I can
compile c programs and then link them in a exe file. But when I try to
execute it I've got this error:

                SIGSEGV

I've found that it is a problem with the libraries. I read that the
linker (ld.exe) supplied with RSXNTDJ doesn't print any messages if some
of the functions are missing at link time.
For that reason I 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''.
I've found that these functions are in DLL`s, but I don't know how to
link a dll.

I try to convert a DLL to a library with the function makelib, but I
can't because the makelib always put  \\ before the name of the library
I want to create and in windows 95 it is an error.
Exemple:
                    makelib odbc32.dll
                    Error: Can=B4t create c:\windows\system\\odbc32.a

|

|

This is the problem

Please, can anyone help me with this problem??

Thank you in advanced.

Noelia Soleres
email:noelia AT informix DOT com
Barcelona, Spain

--------------AE8D1DD62756F6DDA97984F6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I'm begining to work with djgpp and I have a question about DLL&acute;s.
<br>I've installed the djgpp basic package and the rsxntdj package. I can
compile c programs and then link them in a exe file. But when I try to
execute it I've got this error:
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
SIGSEGV
<p>I've found that it is a problem with the libraries. I read that the
linker (ld.exe) supplied with RSXNTDJ doesn't print any messages if some
of the functions are missing at link time.
<br>For that reason I 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''.
<br>I've found that these functions are in DLL`s, but I don't know <u>how
to link a dll</u>.
<p>I try to convert a DLL to a library with the function <b>makelib</b>,
but I can't because the makelib always put&nbsp;<b> \\</b> before the name
of the library I want to create and in windows 95 it is an error.
<br>Exemple:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b>makelib odbc32.dll</b>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b>Error: Can&acute;t create c:\windows\system\\odbc32.a</b>
<br><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|</b>
<br><b>&nbsp;&nbsp;&nbs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br>email:noelia AT informix DOT com
<br>Barcelona, Spain</html>

--------------AE8D1DD62756F6DDA97984F6--

- Raw text -


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