[Gmsh] Installing source on Linux

Christophe Geuzaine cag32 at case.edu
Sun Nov 20 00:53:14 CET 2005


karina at ceset.unicamp.br wrote:
> Hi,
> 
> I'm using gmsh on Linux (Mandrake 10.0) installed from .rpm.
> But I'm trying to change to gmsh-source-1.60.1 and some erros ocurred
> during installation.
> 
> During the make, I found errors like:
> 
> lib/libGmshNetgen.a(parser3.o)(.text+0x62f7): In function
> `netgen::vnetrule::LoadRule(std::basic_istream<char,
> std::char_traits<char> >&)':
> libsrc/meshing/parser3.cpp:138: undefined reference to
> `std::basic_istream<char, std::char_traits<char> >& std::operator>><char,
> std::char_traits<char> >(std::basic_istream<char, std::char_traits<char>
> > &, char&)'
> lib/libGmshNetgen.a(parser3.o)(.text+0x647a):libsrc/meshing/parser3.cpp:146:
> undefined reference to `std::basic_istream<char, std::char_traits<char> >&
> std::operator>><char, std::char_traits<char> >(std::basic_istream<char,
> std::char_traits<char> >&, char&)'
> lib/libGmshNetgen.a(parser3.o)(.text+0x64e3): In function
> `netgen::vnetrule::LoadRule(std::basic_istream<char,
> std::char_traits<char> >&)':
> libsrc/include/../general/array.hpp:62: undefined reference to
> `std::basic_istream<char, std::char_traits<char> >::operator>>(double&)'
> 
> I've installed glu-1.3, mesalib-6.4, fltk-1.1.6, gsl-1.7, libstd5++,
> libstd6++.
>
> All other programs were installed ok. What could be wrong?
>
> Best regards,
> Karina.


Looks like a problem with the standard c++ library, but I have no idea
why you would get such an error. Until you find the reason, you can
always compile gmsh without Netgen by running:

make clean
./configure --disable-netgen
make

Christophe

-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine