[Gmsh] 2.2.2: installation: undef. refs: ParseFile, ParseString, ...
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Sat Jul 5 03:51:09 CEST 2008
Stefan Becuwe wrote:
> I tried to install Gmsh 2.2.2 from source on the following platform:
>
> platform: x86_64
> gcc/g++: 4.1.2
> GSL: 1.8
>
> Compiling is no problem, but the final linking to get the gmsh executable
> does not work:
>
Hi Stefan - This should be fixed in the new cvs source snapshot.
> $ ./configure --disable-gui
> $ make
> [...]
> g++ -g -O2 -o bin/gmsh -Llib Common/Main.o -lGmshParser -lGmshPlugin
> -lGmshGeo -lGmshMesh -lGmshPost -lGmshCommon -lGmshNumeric -lGmshANN
> -lGmshNetgen -lGmshMathEval -lgsl -lgslcblas -lz -lm
> lib/libGmshGeo.a(GModelIO_Geo.o): In function
> `GModel::readGEO(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)':
> /tmp/gmsh-2.2.2/Geo/GModelIO_Geo.cpp:49: undefined reference to
> `ParseFile(char const*, int, int)'
> lib/libGmshGeo.a(GModelIO_Geo.o): In function
> `GModel::writeGEO(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&, bool)':
> /tmp/gmsh-2.2.2/Geo/GModelIO_Geo.cpp:424: undefined reference to
> `Symbol_T'
> lib/libGmshGeo.a(GeoStringInterface.o): In function `add_infile(char
> const*, char const*, bool)':
> /tmp/gmsh-2.2.2/Geo/GeoStringInterface.cpp:86: undefined reference to
> `gmsh_yyin'
> [...]
>
>
> Any suggestions?
>
> Thanks!
>
>
> Stefan Becuwe
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine