<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
michael wrote:
<blockquote cite="mid200604201446.k3KEkcK08788@cnes.fr" type="cite">
<pre wrap="">Hello,
I try to compile the 1.64.1 version on a solaris 8 sparc platfrom.
When i use the gmake commande, it is return this error :
gmake[1]: Leaving directory `/OPT/tmp/tmp/gmsh-1.61.3/contrib/MathEval'
g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshParser -lGmshGraphics
-lGmshMesh -lGmshGeo -lGmshCommon -lGmshDataStr -lGmshPlugin
-lGmshNumeric -lGmshParallel -L/usr/local/lib -L/usr/openwin/lib
-R/usr/openwin/lib -lfltk_images -lfltk_png -lz -lfltk_jpeg -lfltk_gl
-lGLU -lGL -lfltk -ldl -lm -lXext -lX11 -lsocket -lnsl -lz -lGmshANN
-lGmshMetis -lGmshNetgen -lGmshMathEval -lgsl -lgslcblas -lm -lsocket
-lnsl -ldl
Undefined first referenced
symbol in file
std::_List_node_base::swap(std::_List_node_base&,
std::_List_node_base&)lib/libGmshMesh.a(BDS.o)
std::_Rb_tree_increment(std::_Rb_tree_node_base*)lib/libGmshFltk.a(GUI.o)
std::_List_node_base::hook(std::_List_node_base*)lib/libGmshMesh.a(BDS.o)
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::_Rep::_S_empty_rep_storagelib/libGmshGraphics.a(Geom.o)
std::_List_node_base::unhook() lib/libGmshMesh.a(BDS.o)
__gnu_cxx::__exchange_and_add(int volatile*,
int)lib/libGmshGraphics.a(Geom.o)
std::basic_streambuf<char, std::char_traits<char> >::seekoff(long long,
std::_Ios_Seekdir, std::_Ios_Openmode)lib/libGmshNetgen.a(nglib_addon.o)
std::_Rb_tree_increment(std::_Rb_tree_node_base
const*)lib/libGmshMesh.a(BDS.o)
std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&)lib/libGmshMesh.a(BDS.o)
std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&)lib/libGmshParser.a(FunctionManager.o)
std::_List_node_base::transfer(std::_List_node_base*,
std::_List_node_base*)lib/libGmshMesh.a(BDS.o)
std::_Rb_tree_decrement(std::_Rb_tree_node_base*)lib/libGmshParser.a(FunctionManager.o)
ld: fatal: Symbol referencing errors. No output written to bin/gmsh
collect2: ld returned 1 exit status
It seem to have a problem with the link part of the Makefile.
Anyone have a suggestion ?
Thanks,
</pre>
</blockquote>
The error was product by a older versions of the libstdc++ library who
was in "/usr/local/lib/", or the newer library issue to my gcc
installation was in "/opt/csw/lib" and my PATH environnement variable
contain "/usr/local/lib/" in first.<br>
I remove this older libraries and the compilation is ok now.<br>
<br>
But now, when i launch the gmsh binary, i have this error : <br>
Insufficient GL support<br>
Segmentation Fault(coredump)<br>
<br>
Thanks,<br>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 10">
<meta name="Originator" content="Microsoft Word 10">
<link rel="File-List" href="signature_fichiers/filelist.xml">
<title>signature</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>GelleM</o:Author>
<o:LastAuthor>GelleM</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>0</o:TotalTime>
<o:Created>2005-09-20T12:48:00Z</o:Created>
<o:LastSaved>2005-09-20T12:48:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>15</o:Words>
<o:Characters>87</o:Characters>
<o:Company>Osiatis</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>101</o:CharactersWithSpaces>
<o:Version>10.2625</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tableau Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
<div class="Section1">
<p class="MsoNormal"><span class="SpellE"><b>Mickaël</b></span><b> GELLE</b><br>
<span style="color: rgb(153, 51, 153);">Administrateur systèmes -
OSIATIS</span><br>
<span style="color: rgb(153, 153, 153);">Détaché au CNES pour DSI/EP/ST
<br>
Tel. : (05 61 2)74031</span></p>
</div>
</div>
</body>
</html>