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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2765ecafd1ac631a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-11 08:00:23 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.vmunix.org!npeer.de.kpn-eurorings.net!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Frank Piron Newsgroups: comp.lang.ada Subject: Re: gnatlink error on Debian Woody Date: Tue, 11 Nov 2003 17:00:07 +0100 Organization: KonAd GmbH Message-ID: <3FB10787.8F67E975@konad.de> References: NNTP-Posting-Host: p508b4d9e.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: online.de 1068566423 7635 80.139.77.158 (11 Nov 2003 16:00:23 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Tue, 11 Nov 2003 16:00:23 +0000 (UTC) X-Mailer: Mozilla 4.75 [de] (Windows NT 5.0; U) X-Accept-Language: de,en-US Xref: archiver1.google.com comp.lang.ada:2352 Date: 2003-11-11T17:00:07+01:00 List-Id: 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