comp.lang.ada
 help / color / mirror / Atom feed
From: James Alan Farrell <anonymous@anonymous.com>
Subject: Re: Strange error in mixed language program (incompatible libraries?)
Date: Tue, 10 Aug 2004 11:31:31 -0400
Date: 2004-08-10T11:31:31-04:00	[thread overview]
Message-ID: <c8qhh0hlvbk7us62bsbs1u2643rfc80m3m@4ax.com> (raw)
In-Reply-To: o7ffh0h4ikvbu5bd4qjgctdducb0jtg4s4@4ax.com

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



  parent reply	other threads:[~2004-08-10 15:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-09 18:37 Strange error in mixed language program (incompatible libraries?) James Alan Farrell
2004-08-10  6:40 ` Simon Wright
2004-08-10  7:04 ` Jerry van Dijk
2004-08-10 13:01   ` Marc A. Criley
2004-08-10 15:31 ` James Alan Farrell [this message]
2004-08-10 21:36   ` James Alan Farrell
2004-08-14 15:29   ` Simon Wright
2004-08-11  8:58 ` Pascal Obry
replies disabled

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