comp.lang.ada
 help / color / mirror / Atom feed
From: Frank Piron <frank.piron@konad.de>
Subject: Re: gnatlink error on Debian Woody
Date: Tue, 11 Nov 2003 17:00:07 +0100
Date: 2003-11-11T17:00:07+01:00	[thread overview]
Message-ID: <3FB10787.8F67E975@konad.de> (raw)
In-Reply-To: boqjsr$68t$1@ns.omskelecom.ru

Hi Dmitriy,


Dmitriy Anisimkov schrieb:
> 
> Frank Piron wrote:
> 
> > Hi,
> > if i try to link my ocitest.adb with
> > oracle's oci shared library on a debian
> > system, i get:
> >
> >> gnatmake -L$ORACLE_HOME/lib ocitest.adb -largs -lclntsh
> >
> > ld: cannot find -laddr2line
> > gnatlink: cannot call /usr/bin/gnatgcc
> > gnatmake: *** link failed.
> >
> > On windows (with -loci of course) all works fine.
> > Is it a debian issue?
> 
> Are you sure about "ld: cannot find -laddr2line" ?
> Maybe it is a "ld: cannot find -lclntsh"
> 
> Looks like you are trying to link with libaddr2line.a library.
> 
> I guess you have a -laddr2line in the command line or
> 
> pragma Linker_Options("-laddr2line");
> 
> in the ocitest.adb.

Finally i detected the cause of the problem.
I used - like you - the gnat.traceback.symbolic package.
This package contains the linker pragma "-laddr2line" in
file g-trasym.adb of the Debian - Gnat distribution. 

Thanks for comments,
Frank Piron



  parent reply	other threads:[~2003-11-11 16:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-11 11:34 gnatlink error on Debian Woody Frank Piron
2003-11-11 12:16 ` Dmitriy Anisimkov
2003-11-11 13:44   ` Frank Piron
2003-11-11 16:00   ` Frank Piron [this message]
2003-11-11 16:10     ` Preben Randhol
2003-11-11 22:41       ` Ludovic Brenta
2003-11-11 12:25 ` Ludovic Brenta
2003-11-11 12:48   ` Frank Piron
2003-11-11 13:34     ` Preben Randhol
2003-11-11 13:48       ` Frank Piron
2003-11-11 16:07       ` Frank Piron
2003-11-11 22:56         ` Simon Wright
replies disabled

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