comp.lang.ada
 help / color / mirror / Atom feed
From: xavier grave <xavier.grave@ipno.in2p3.fr>
Subject: problem for building a shared library
Date: Wed, 18 Mar 2009 23:05:15 +0100
Date: 2009-03-18T23:05:15+01:00	[thread overview]
Message-ID: <gprr6s$b57$1@ccpntc8.in2p3.fr> (raw)

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



             reply	other threads:[~2009-03-18 22:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 22:05 xavier grave [this message]
2009-03-19  7:15 ` Simple Fix: Re: problem for building a shared library anon
2009-03-19  8:32   ` xavier grave
replies disabled

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