From: Rainer M. <ra...@tb...> - 2007-05-16 08:37:01
|
Hi John, I have never tried it on cygwin and never seen these errors but I'll try one guess: > //biocoreserver1/jlegato/cygwin/libsbml-2.3.4/src/sbml/SBMLReader.cpp:113: might indicate that you are linking directly to the libsbml source directory? I somehow remember (but are not sure) that libsbml on building uses internally a different directory structure - and different include paths - then when installed. Did you do a `make install' to above libsbml directory or just `make' in libsbml's own directory? I think we had the problem once, that SOSlib needs to be linked to the libsbml install directory and not to it's main source directory. ... just guessing. Rainer On Tue, 15 May 2007, John Legato wrote: > > > > We are attempting to build SBMLSolver 1.6.0 under Cygwin 1.5 and are > encountering errors during configure's detection of SBML. We've built libsbml > 2.3.4 and Xerces 2.7.0 from source We are using the following configure > command: > ./configure --with-libsbml=/cygdrive/g/public//cygwin/libsbml-2_3_4/ > --with-sundials=/cygdrive/g/public/cygwin/sundials-2_1_1/ > > We are getting errors along the lines of: > > cygdrive/g/public//cygwin/libsbml-2_3_4//include/sbml > -L/cygdrive/g/public/cygwin/libxerces2_7_0/ > lib -Wl,-rpath,/cygdrive/g/public//cygwin/libsbml-2_3_4//lib > -L/cygdrive/g/public//cygwin/libsbml- > 2_3_4//lib conftest.c -lxerces-c -lsbml >&5 > /cygdrive/g/public//cygwin/libsbml-2_3_4//lib/libsbml.a(SBMLReader.o): In > function `_ZNSsC1IPcEET_ > S1_RKSaIcE': > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.tcc:(.text+0x11): > undefined refere > nce to `xercesc_2_7::XMLString::transcode(unsigned short const*)' > /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.tcc:(.text+0x3e): > undefined refere > nce to `xercesc_2_7::XMLString::release(char**)' > /cygdrive/g/public//cygwin/libsbml-2_3_4//lib/libsbml.a(SBMLReader.o): In > function `_Z16XMLReader_ > createPN11xercesc_2_714DefaultHandlerE': > //biocoreserver1/jlegato/cygwin/libsbml-2.3.4/src/sbml/SBMLReader.cpp:113: > undefined reference to > `___gxx_personality_sj0' > > (Compressed Full log attached) > > Does anyone have any insights into what is going wrong? > > Thanks > > John > --- > Contractor |