comp.lang.ada
 help / color / mirror / Atom feed
From: mmann@ibm.net (Gerd Moellmann)
Subject: Re: Calling Ada (GNAT) from C programs...
Date: 1996/03/30
Date: 1996-03-30T00:00:00+00:00	[thread overview]
Message-ID: <mmanng2aq2y1w.fsf@ibm.net> (raw)
In-Reply-To: 4jcb30$8kc@dfw.dfw.net

dweller@dfw.net (David Weller) writes:

[snip]

> gnatbind -n greetings.ali is called, then the linkage command is
> ld main.o b_greetings.o greetings.o
> 
> Which gives...
> /usr/lib/ld:
> Warning: Unresolved :
> system___elabs
> interfaces__c_streams___elabs

[snip}

> Perhaps an incorrect environment variable?

You must link with the object files (*.o) for the library units that
are named in greetings.ali (system.o etc.).
-- 
Gerd Moellmann, Altenbergstr. 6, D-40235 Duesseldorf, Germany
Software Development & Consulting
Internet: mmann@ibm.net / CIS: 100025,3303 / Phone: +49 211 666 881




  reply	other threads:[~1996-03-30  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-27  0:00 Calling Ada (GNAT) from C programs David Weller
1996-03-30  0:00 ` Gerd Moellmann [this message]
1996-03-30  0:00   ` David Weller
1996-04-01  0:00 ` michael
1996-04-01  0:00   ` Robert Dewar
replies disabled

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