From: Andre DOT Couture AT search-n-find DOT com (Andre Couture)
Subject: Re: Linking problem under NT (dlltool)
23 Jul 1997 17:45:33 -0700
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33D5F1D8.93A63552.cygnus.gnu-win32@search-n-find.com>
References: <33D49BCF DOT DC25940 AT search-n-find DOT com>
Reply-To: Andre DOT Couture AT search-n-find DOT com
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="------------997613D1044F64690B32C93E"
X-Authentication-Warning: internet: Host [198.53.230.150] claimed to be thunder.search-n-find.com
X-Mailer: Mozilla 4.01b6C [en] (X11; I; Linux 2.1.40 i686)
Original-To: gnu-win32 AT cygnus DOT com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com
--------------997613D1044F64690B32C93E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Ok, I found my problem,
I had to use "dlltool" to generate the proper lib file.
Is there any documentation on dlltool???
Thanks
AC
Andre Couture wrote:
>
>
> Hi there,
>
> I justed installed the b18 version, seem to work fine.
>
> Now I tried to compile a unix version of a tool I have that uses SQL.
> The 'C' file compile properly but when trying to link I get all the
> SQL stuff as "undefined"
>
> So my question is how do I get them to properly look at the proper dll
> or ???
>
> Function like;
> SQLAllocateStmt
> SQLConnect
> SQLFreeStmt
>
> are standard in Windows NT.
> I've tried with "-lodbc32" but still no luck.
>
> Can somebody help me?
> Thanks
> /AC
> --
> -----------------------------------------------------------------------
> Andre Couture
> 938934 Ontario Inc.
> mailto:acouture AT search-n-find DOT com
> http://www.search-n-find.com/
>
--
------------------------------------------------------------------------
Andre Couture
938934 Ontario Inc.
mailto:acouture AT search-n-find DOT com
http://www.search-n-find.com/
--------------997613D1044F64690B32C93E
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Ok, I found my problem,
I had to use "dlltool" to generate the proper lib file.
Is there any documentation on dlltool???
Thanks
AC
Andre Couture wrote:
Hi there,
I justed installed the b18 version, seem to work fine.
Now I tried to compile a unix version of a tool I have that uses SQL. The 'C' file compile properly but when trying to link I get all the SQL stuff as "undefined"
So my question is how do I get them to properly look at the proper dll or ???
Function like;
SQLAllocateStmt
SQLConnect
SQLFreeStmtare standard in Windows NT.
I've tried with "-lodbc32" but still no luck.Can somebody help me?
Thanks
/AC
--
Andre Couture
938934 Ontario Inc.
mailto:acouture AT search-n-find DOT com
http://www.search-n-find.com/