Mail Archives: djgpp/1999/02/19/06:19:05
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 -