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-Thread: 103376,59f670d43fa7b69a,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.ecp.fr!news.in2p3.fr!in2p3.fr!not-for-mail From: xavier grave Newsgroups: comp.lang.ada Subject: problem for building a shared library Date: Wed, 18 Mar 2009 23:05:15 +0100 Organization: In2p3 Message-ID: NNTP-Posting-Host: ipnnarval.in2p3.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ccpntc8.in2p3.fr 1237413916 11431 134.158.92.7 (18 Mar 2009 22:05:16 GMT) X-Complaints-To: newsmaster@cc.in2p3.fr NNTP-Posting-Date: Wed, 18 Mar 2009 22:05:16 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) X-Enigmail-Version: 0.95.0 Xref: g2news2.google.com comp.lang.ada:5149 Date: 2009-03-18T23:05:15+01:00 List-Id: Hi, I'm trying to build shared and static library for polyorb in order to build debian packages but certainly because of the limited with in one of two interdependent gpr files. Some problem arise when I try to compile the shared lib, I have reduced to a very simple example my problem (you can download it at http://dl.free.fr/pX36o8pfk). It produces the following error : building dynamic library for project second_level /usr/bin/gcc -shared -o /home/xavier/labo/test_gpr/DYNAMIC/lib/libsecond_level.so - -L/usr/lib/gcc/powerpc-linux-gnu/4.3.3/adalib/ - -L/home/xavier/labo/test_gpr/DYNAMIC/lib -lfirst_level - -L/usr/lib/gcc/powerpc-linux-gnu/4.3.3/adalib/ -lgnat-4.3 /home/xavier/labo/test_gpr/DYNAMIC/obj/base.o /usr/bin/ld: cannot find -lfirst_level collect2: ld returned 1 exit status gnatmake: gcc execution error make: *** [dynamic] Erreur 4 Does somebody already had similar problem ? Thanks in advance, xavier