From: Andrew F. <af...@ph...> - 2006-06-09 14:19:03
|
Rainer trying to get SOS lib to compile on AIX has been=20 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=20 so I replaced xerces-c with expat as you described - I removed -Wl,-rpath from sbml.m4 not supported =20 - 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 |