From: Christoph F. <xt...@tb...> - 2006-06-09 14:58:22
|
hi andrew, g++ (GCC) 3.3.2 is rather old, the current version is g++ (GCC) 4.0.2 which should be available for AIX. you still have problems with the automake/autoconf/configure process; your configure script has not properly substituted the @WHATEVER@ variables from the Makefile.in with the values determined by the configure script! which version of automake/autoconf are you using? the current one's are: automake (GNU automake) 1.9.5 autoconf (GNU Autoconf) 2.59 =;) xtof Andrew Finney writes: > Rainer > > trying to get SOS lib to compile on AIX has been > one long hack and I have not got there yet... > > first: > > - I couldn't get xerces to link with libSBML > so I'm using expat > > so I replaced xerces-c with expat as you described > > - I removed -Wl,-rpath from sbml.m4 > > not supported > > - I added libstdc++ and libm to sbml.m4 > > not there by default > > - one of the makefile.in was missing which required > the following: > > touch src/sbmlsolver/config.h.in > aclocal > autoconf > automake --all-missing > > The above enabled me to complete ./configure > > However when I run gmake at the top level I get: > > ---------------------------------------- > > bash-2.05a$ gmake > Making all in src > if g++ -DHAVE_CONFIG_H -I. -I. -I../src/sbmlsolver > @SUNDIALS_CFLAGS@ @G > RAPHVIZ_CFLAGS@ @SBML_CFLAGS@ @GRACE_CFLAGS@ -I. -g -O2 -MT > ASTIndexNameN > ode.o -MD -MP -MF ".deps/ASTIndexNameNode.Tpo" -c -o ASTIndexNameNode.o > ASTIndex > NameNode.cpp; then mv -f ".deps/ASTIndexNameNode.Tpo" > ".deps/ASTIndexNameNode.P > o"; else rm -f ".deps/ASTIndexNameNode.Tpo"; exit 1; fi > g++: cannot specify -o with -c or -S and multiple compilations > make: 1254-004 The error code from the last command is 1. > > > Stop. > gmake: *** [all-recursive] Error 1 > bash-2.05a$ g++ --version > g++ (GCC) 3.3.2 > Copyright (C) 2003 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is > NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > ----------------------------- > > Is the version of g++ I'm using too old? > Is this make output correct? > > Any ideas would be most helpful > > yours Andrew > > > > _______________________________________________ > sbmlsolver-devel mailing list > sbm...@li... > https://lists.sourceforge.net/lists/listinfo/sbmlsolver-devel -- Christoph Flamm Bioinformatik, Inst.f.Informatik, Univ.Leipzig, Germany www: http://www.tbi.univie.ac.at/~xtof phone: ++49 341 97-16688 fax: ++49 341 97-16709 email: xt...@bi... smail: Haertelstrasse 16-18, D-04107 Leipzig, Germany |