From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,840572404cf365e6 X-Google-Attributes: gid103376,public From: jerry@jvdsys.nextjk.stuyts.nl (Jerry van Dijk) Subject: Re: Q: link 3rd party library with GNAT on NT Date: 1998/10/26 Message-ID: #1/1 X-Deja-AN: 405437281 References: <36327D72.27795F34@cs.iupui.edu> Organization: * JerryWare *, Leiden, Holland Newsgroups: comp.lang.ada Date: 1998-10-26T00:00:00+00:00 List-Id: 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