comp.lang.ada
 help / color / mirror / Atom feed
From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk)
Subject: Re: Q: link 3rd party library with GNAT on NT
Date: 1998/10/26
Date: 1998-10-26T00:00:00+00:00	[thread overview]
Message-ID: <F1G6ss.6z@jvdsys.nextjk.stuyts.nl> (raw)
In-Reply-To: 36327D72.27795F34@cs.iupui.edu

Zhiqing Liu (zliu@cs.iupui.edu) wrote:

: Here is my problem to link a 3rd party library with GNAT
: (gnat-3.10p1-nt) on Windows NT4:

: C:\ada>gnatlink test.ali c:\vendor\lib\xyz.lib
: ld: c:\vendor\lib\xyz.lib(xyz.dll): warning: ignoring duplicate section
: `.text'
: ld: c:\vendor\lib\xyz.lib(xyz.dll): warning: ignoring duplicate section
: `.idata$5'

: It did produce an executable, which would complain that
: "The procedure entry point cound not be located in the dynamic link
: library xyz.dll"

The library you are linking is -at least in the linkers eyes- an
DLL import library. Make sure the DLL is in the path.

For further info, see my homepage.


-- 
-- Jerry van Dijk  | email: jdijk@acm.org
-- Leiden, Holland | member Team-Ada
-- Ada & Win32: http://stad.dsl.nl/~jvandyk




      reply	other threads:[~1998-10-26  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-25  0:00 Q: link 3rd party library with GNAT on NT Zhiqing Liu
1998-10-26  0:00 ` Jerry van Dijk [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox