From: Andrew R. <and...@us...> - 2008-06-02 21:05:38
|
Orion, What version of gnat are you using? I've run into a similar problem with gnat 4.3 on Debian and I assumes it was a gnat problem, but perhaps not. Andrew On Mon, Jun 02, 2008 at 02:10:45PM -0600, Orion Poplawski wrote: > I'm running into trouble running cmake with ada turned on. Fedora 9, > cmake 2.6.0: > > -- Check for working Ada builder: /usr/bin/gnatmake -- broken > CMake Error at cmake/modules/CMakeTestAdaCompiler.cmake:48 (MESSAGE): > The Ada builder "/usr/bin/gnatmake" is not able to compile, bind, and > link > a simple test program. > > It fails with the following output: > > Change Dir: > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > > > > Run Build Command:/usr/bin/gmake > > /usr/bin/cmake > > -H/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > > -B/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > --check-build-system CMakeFiles/Makefile.cmake 0 > > /usr/bin/cmake -E cmake_progress_start > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp/CMakeFiles > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp/CMakeFiles/progress.make > > > /usr/bin/gmake -f CMakeFiles/Makefile2 all > > gmake[1]: Entering directory > > `/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp' > > > /usr/bin/gmake -f CMakeFiles/testadacompiler.dir/build.make > CMakeFiles/testadacompiler.dir/depend > > gmake[2]: Entering directory > > `/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp' > > > cd > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > && /usr/bin/cmake -E cmake_depends "Unix Makefiles" > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp/CMakeFiles/testadacompiler.dir/DependInfo.cmake > --color= > > Scanning dependencies of target testadacompiler > > gmake[2]: Leaving directory > > `/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp' > > > /usr/bin/gmake -f CMakeFiles/testadacompiler.dir/build.make > CMakeFiles/testadacompiler.dir/build > > gmake[2]: Entering directory > > `/scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp' > > > /usr/bin/cmake -E cmake_progress_report > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp/CMakeFiles > 1 > > [100%] Building Ada object > CMakeFiles/testadacompiler.dir/testadacompiler.adb.o > > /usr/bin/gnatgcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 > -mtune=generic > -fasynchronous-unwind-tables -c > > /scratch/orion/redhat/plplot-5.9.0/plplot-5.9.0/fedora/CMakeFiles/CMakeTmp/testadacompiler.adb > -o CMakeFiles/testadacompiler.dir/testadacompiler.adb.o > > gnat1: incorrect object file name > > > Why is it trying to compile to "testadacompiler.adb.o"? > > > -- > Orion Poplawski > Technical Manager 303-415-9701 x222 > NWRA/CoRA Division FAX: 303-415-9702 > 3380 Mitchell Lane or...@co... > Boulder, CO 80301 http://www.cora.nwra.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |