[PolyORB-users] Build PolyORB cvs under Linux.
Jerome Hugues
hugues at infres.enst.fr
Thu Dec 2 16:55:33 CET 2004
Martin Krischik (martin at krischik.com):
> Hello,
>
> When compiling a cvs snapshot with Linux I get the follwing error message:
>
> ----------
> Making all in src
> make[1]: Entering directory `/work/act/polyorb/src'
> Making all in .
> make[2]: Entering directory `/work/act/polyorb/src'
> /bin/sh ../libtool --tag=CC --mode=compile ../support/adacompiler -c -g -O2
> -gnatfy -gnatwae -gnatpn -gnatg -I. -I. polyorb-annotations.adb
> ../support/adacompiler -c -g -O2 -gnatfy -gnatwae -gnatpn -gnatg -I. -I.
> polyorb-annotations.adb -fPIC -DPIC -o .libs/polyorb-annotations.o
> gnat1: Cannot create: tmp221/.libs/polyorb-annotations.ali
> mv: cannot stat `tmp221/.libs/polyorb-annotations.o': No such file or
> directory
> mv: cannot stat `tmp221/*': No such file or directory
> make[2]: *** [polyorb-annotations.lo] Fehler 1
> make[2]: Leaving directory `/work/act/polyorb/src'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/work/act/polyorb/src'
> make: *** [all-recursive] Fehler 1
> ---------
> I did get the 1.1r version to compile so I hope my setup is ok and I
> wonder if the cvs is "instable" at the moment.
We have an autobuild from the CVS repository on GNU/Linux on x86
architectures, using GCC 3.4.3. There is no instability at present.
What surprise me is the command line that is executed.
I'm just re-running the compilation from a fresh copy of the CVS, here
is an excerpt from the log
make[2]: Entering directory `/home/hugues/polyorb/cvs/polyorb/src'
/bin/sh ../libtool --tag=CC --mode=compile ../support/adacompiler -c -g -O2 -gnatfy -gnatwae -gnatpn -gnatg -I. -I. polyorb-annotations.adb
../support/adacompiler -c -g -O2 -gnatfy -gnatwae -gnatpn -gnatg -I. -I. polyorb-annotations.adb -o polyorb-annotations.o
You have the -fPIC -DPIC arguments, and .libs path information for the
-o flag ..
This looks like an autoconf/automake issue. Can you please detail your
autoconf/automake setup ? which version of GNAT are you using, and
which architecture are you using ?
Regards,
Jerome
More information about the PolyORB-users
mailing list