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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e29fa9bf33a54d0b,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: michael bode Newsgroups: comp.lang.ada Subject: MinGW GNAT 3.4.4 linking problem Date: 14 Oct 2005 12:10:10 +0200 Organization: 1&1 Internet AG Message-ID: NNTP-Posting-Host: p54afbb64.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: online.de 1129284611 27948 84.175.187.100 (14 Oct 2005 10:10:11 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Fri, 14 Oct 2005 10:10:11 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: g2news1.google.com comp.lang.ada:5639 Date: 2005-10-14T12:10:10+02:00 List-Id: Hi, I'm trying out the MinGW GNAT 3.4.4 and get the dreaded 'undefined symbol' messages. Contrary to what another poster reported a while ago this is not for the GNAT libraries but only for 3rd party libs. That is Hello_World.adb (or the GNAT dining philosophers example) compiles and links fine, so I suppose the install went ok. But my code which uses a 3rd party library get's 'undefined symbol' for each and every function I call. The library uses StdCall conventions and I have the .dll and .lib compiled with Microsoft VC98. Interestingly everything work fine with GNAT 3.15p. When I change the PATH to point to C:\MINGW\bin instead C:\GNAT\bin -> 'undefined symbol'. Are there some changes to linker options etc. that I might have overlooked? Any Ideas?