www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/19/06:19:05

Message-ID: <36CD1D3D.7E43EA59@informix.com>
Date: Fri, 19 Feb 1999 09:13:51 +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: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp AT delorie DOT com
Subject: DLL question again
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990217131159 DOT 7038A-100000 AT is>
X-MIME-Autoconverted: from 8bit to quoted-printable by kingcrab.informix.com id AAA03050
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id GAA07548
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


Eli Zaretskii wrote:

> On Wed, 17 Feb 1999, Noelia Soleres wrote:
>
> > I've found that these functions are in DLL`s, but I don't know how to
> > link a dll.
>
> If all the functions are in DLLs, and those DLLs are on your PATH, then
> the program should have found them at run time.  You need not (and I think
> should not) link those DLLs into your program.
>
> However, it might be that some of the DLLs are not on the PATH, or maybe
> you missed some of the functions that ld is complaining about.
>
> And please don't post in HTML, it makes it very hard to read with many
> mailers.

- Raw text -


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