<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:10.0pt;
        margin-left:0cm;
        line-height:115%;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:#1F497D">Hello everyone:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:#1F497D">I am trying to install newer version of MATLAB 2012a x64 with gcc 4.4, g++ 4.4, and gfortran 4.3 on my friend’s Ubuntu 10.04, according to
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:#1F497D"><a href="http://www.mathworks.co.uk/support/compilers/R2012a/glnxa64.html">http://www.mathworks.co.uk/support/compilers/R2012a/glnxa64.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:#1F497D">BTW, I am using IPOPT 3.10.2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:#1F497D">After I “configure” and “sudo make”
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:#1F497D">(</span><b><i><span style="font-size:12.0pt;line-height:115%;color:red">sudo ../configure CXX=g++-4.4 CC=gcc-4.4 F77=gfortran-4.3 ADD_CXXFLAGS="-fPIC -fexceptions" ADD_CFLAGS="-fPIC
-fexceptions" ADD_FFLAGS="-fPIC -fexceptions"</span></i></b><span style="font-size:12.0pt;line-height:115%;color:#1F497D">)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:#1F497D">I then ran the command “sudo make test”, but it failed and gave following message:<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;line-height:115%;color:red">/usr/bin/ld: cannot find -lstdc++<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;line-height:115%;color:red">collect2: ld returned 1 exit status<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;line-height:115%;color:red">make[2]: *** [hs071_f] Error 1<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;line-height:115%;color:red">make[2]: Leaving directory `/usr/local/Ipopt-3.10.2/build/Ipopt/test'<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;line-height:115%;color:red">make[1]: *** [unitTest] Error 2<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;line-height:115%;color:red">make[1]: Leaving directory `/usr/local/Ipopt-3.10.2/build/Ipopt'<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;line-height:115%;color:red">make: *** [test] Error 2<o:p></o:p></span></i></b></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:windowtext"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-size:12.0pt;color:#1F497D">I hope the information below can help you guys making suggestions. Any help is appreciated.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:normal"><i><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></i></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;color:#1F497D">Best Regards<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;color:#1F497D">Stephen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%;color:windowtext"><o:p> </o:p></span></p>
</div>
</body>
</html>