From: Rainer M. <ra...@tb...> - 2006-10-05 15:15:50
|
Hi Eryk, you had the same problem a while ago, in July, see emails there. It seems your system includes tgmath.h which is not ISO-C90 compatible. We can probably avoid this problem by either checking in configure scripts for existing definitions or just rename the hand-made functions in processAST.c Rainer On Wed, 4 Oct 2006, W Eryk Wolski wrote: > Hi, > > Checked out SBML_odeSolver and have run: > > ./autogen.sh > ./configure --prefix=/home/witek/opt/sbmlodesolve > --with-libsbml=/home/witek/opt/libsbml2.3.4 > --with-sundials=/home/witek/opt/sundials > make > > but getting the following compilation errors: > > > if gcc -DHAVE_CONFIG_H -I. -I. -I../src/sbmlsolver > -I/home/witek/opt/sundials/include > -I/home/witek/opt/libsbml2.3.4/include > -I/home/witek/opt/libsbml2.3.4/include/sbml > -I/home/witek/opt/libsbml2.3.4/include > -I/home/witek/opt/libsbml2.3.4/include/sbml/sbml -I. -MT > processAST.o -MD -MP -MF ".deps/processAST.Tpo" -c -o processAST.o > processAST.c; \ > then mv -f ".deps/processAST.Tpo" ".deps/processAST.Po"; else > rm -f ".deps/processAST.Tpo"; exit 1; fi > processAST.c:69: error: static declaration of 'acosh' follows > non-static declaration > processAST.c:74: error: static declaration of 'asinh' follows > non-static declaration > processAST.c:79: error: static declaration of 'atanh' follows > non-static declaration > make[1]: *** [processAST.o] Error 1 > make[1]: Leaving directory > `/home/witek/devel/cpp/odesolver/sos4/SBML_odeSolver/src' > make: *** [all-recursive] Error 1 > > I am posting because I assumed that in the repository only version > which do compile should be checked in. > > cheers > > Eryk > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > sbmlsolver-devel mailing list > sbm...@li... > https://lists.sourceforge.net/lists/listinfo/sbmlsolver-devel > |