Mail Archives: djgpp/1999/02/19/09:16:01
From: | "Robert ARSENIUK" <roberta AT jmpolska DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Re: DLL question again
|
Date: | Fri, 19 Feb 1999 15:09:47 +0100
|
Message-ID: | <01be5c11$81fd8eb0$0113010a@robi1.jmpolska.com>
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.71.1712.3
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.71.1712.3
|
Reply-To: | djgpp AT delorie DOT com
|
>Thank you for the answer. I proved it but I get the same problem again.
>I'm going to explain all the packets I've installed, perhaps I did a wrong
>installation or I'm not using the correct packets.
>
> DJGPP Version 2.01
> RSXNTDJ Version 1.3.1
>
>I'm working with Windows 95.
>
>I want to develop aplications to access database information using CLI, a
call
>level interface that has a set of functions that enable to access data from
>different kinds of databases. For that purpose I need to use a set of DLL´s
as
>odbc32.dll.
>All the DLL´s are in c:\windows\system, and I put this directory on the
>enviroment variable PATH, as you tell me, but I get the same problem. This
is
>the sequence of instrucctions I use to compile:
>
> gcc -Zwin32 -Wall -c -o c1.o c1.c ------> It goes well
>
> gcc -Zwin32 -Wall -o c1.exe c1.o ------> Error
>
>I get errors like theses:
>
> c1.o(.text+0x1a2);c1.c:undefined reference to '_iob'
> c1.o(.text+0x1a2);c1.c:undefined reference to 'SQLFreeEnv' --->
>SQLFreeEnv is a CLI function.
>
>I would like to know if there is a problem with RSXIDE. I try to work with
it
>but when I try to click make I get the same error:
> makefile is used, wait
>
>I read that to work with RSXIDE it is needed something named NT09B. Could
this
>be the problem?
>
>Thank you in advanced
>
>Nočlia Soleres
>email: noelia AT informix DOT com
>Barcelona, Spain
>
Try do something like this :
makelib odbc32.dll -o odbc32.a
then link your code with odbc32.a, it should work.
Robert
- Raw text -