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,d481d546f914128d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit From: James Alan Farrell Newsgroups: comp.lang.ada Subject: Re: Strange error in mixed language program (incompatible libraries?) Date: Tue, 10 Aug 2004 11:31:31 -0400 Message-ID: References: X-Newsreader: Forte Free Agent 2.0/32.652 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: fw.grammatech.com X-Trace: newsfeed.slurp.net 1092151955 209.4.89.67 (10 Aug 2004 10:32:35 -0500) X-Original-NNTP-Posting-Host: 209.4.89.67 Path: g2news1.google.com!news1.google.com!news.glorb.com!news.moat.net!newsfeed.slurp.net!not-for-mail Xref: g2news1.google.com comp.lang.ada:2651 Date: 2004-08-10T11:31:31-04:00 List-Id: Thanx for the help. I am calling adainit. I was missing the call to adafinal (my bad) but that did not solve the problem (did not expect it too - that comes at the end of the program and should not effect the previous execution.) I have found the following in the make file (set up by someone else before I joined the project): b~ada_interface.o: ada_interface.o gnatbind -n ada_interface.ali gnatmake -c b~ada_interface.adb Ada_interface has a number of children (ie, ada_interface-this.ad[bs] and ada_interface-that.ad[bs]) Do their .ali files need to be explicitly listed in the above bind command? Also, just to make mention of it, another program creates a .so that links to this library plus a different C library, and that seems to work fine. James