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,FREEMAIL_FROM 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 05:07:09 PST From: Dmitriy Anisimkov Newsgroups: comp.lang.ada Subject: Re: gnatlink error on Debian Woody Date: Tue, 11 Nov 2003 18:16:56 +0600 Organization: A poorly-installed InterNetNews site Distribution: world Message-ID: References: NNTP-Posting-Host: 195.162.48.71 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ns.omskelecom.ru 1068552923 6429 195.162.48.71 (11 Nov 2003 12:15:23 GMT) X-Complaints-To: usenet@ns.omskelecom.ru NNTP-Posting-Date: Tue, 11 Nov 2003 12:15:23 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4.1) Gecko/20031008 X-Accept-Language: en-us, en In-Reply-To: Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1!bredband!newsfeed.sovam.com!news.rosprint.net!radius!not-for-mail Xref: archiver1.google.com comp.lang.ada:2342 Date: 2003-11-11T18:16:56+06:00 List-Id: 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.