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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9a720a14a5d106b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.swip.net!swipnet!nntpserver.swip.net!not-for-mail From: David Sauvage User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Shared Ada Library to be Used in a Non-Ada Context References: <1123660387.140929.305530@o13g2000cwo.googlegroups.com> <1123747721.859778.146490@g43g2000cwa.googlegroups.com> In-Reply-To: <1123747721.859778.146490@g43g2000cwa.googlegroups.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 83.177.242.255 X-Complaints-To: news-abuse@swip.net X-Trace: nntpserver.swip.net 1123802651 83.177.242.255 (Fri, 12 Aug 2005 01:24:11 MET DST) NNTP-Posting-Date: Fri, 12 Aug 2005 01:24:11 MET DST Organization: A Customer of Tele2 X-Sender: -@d83-177-242-255.cust.tele2.fr Date: Fri, 12 Aug 2005 01:26:28 +0200 Xref: g2news1.google.com comp.lang.ada:4094 Date: 2005-08-12T01:26:28+02:00 List-Id: Ludovic Brenta wrote: > Strange, /usr/lib/gcc-lib/i486-linux/2.8.1/adalib/libgnat.so should be > a symbolic link to /usr/lib/libgnat-3.15p.so.1.12, is that not the > case? ye it is, well, i was doing : gcc -g -fPIC -Wall -shared -Wl,-soname,libservices.so.0 -o libservices.so.0.0 b~libservices.o libservices.o instead of : gnatlink -g -fPIC -Wall -shared -Wl,-soname,libservices.so.0 -o libservices.so.0.0 libservices.ali May be that's why my lib was not linked to libgnat properly I've try your Makefile and all work fine, thanks. -- David