<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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
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;}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.hps
        {mso-style-name:hps;}
span.ecxhps
        {mso-style-name:ecxhps;}
span.ecxatn
        {mso-style-name:ecxatn;}
span.shorttext
        {mso-style-name:short_text;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
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=ES-MX link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span class=hps><span lang=EN style='font-family:"Arial","sans-serif";color:#333333'>Hi all,<o:p></o:p></span></span></p><p class=MsoNormal><span class=hps><span lang=EN style='font-family:"Arial","sans-serif";color:#333333'><o:p>&nbsp;</o:p></span></span></p><p class=MsoNormal style='background:white'><span class=hps><span lang=EN style='font-family:"Arial","sans-serif";color:#333333'>Install</span></span><span lang=EN style='font-family:"Arial","sans-serif";color:#333333'> <span class=hps>libs4cdo</span> <span class=hps>and all good</span>, <span class=hps>but I could not</span> <span class=hps>compile</span> <span class=hps>CDO</span><br><br><span class=hps>Reading</span><span class=shorttext>, I found </span><span class=hps>that I need</span><span class=shorttext> </span><span class=hps>to assign:</span><o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN style='font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:ES-MX'><br>CFLAGS = &quot;-DHAVE_LIBNC_DAP&quot; to change the compiler to Compiler: gcc-std = gnu99-DHAVE_LIBNC_DAP.<br><br>So I run:<o:p></o:p></span></p><p class=MsoNormal style='background:white'><span lang=EN style='font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:ES-MX'><br>. / configure - with-proj = / home/Admin/MM5/libs4cdo-0.0.10/build - with-grib_api = / home/Admin/MM5/libs4cdo-0.0.10/build - with-jasper = / home/Admin/MM5/libs4cdo-0.0.10/build - with-netcdf = / home/Admin/MM5/libs4cdo-0.0.10/build - with-HDF5 = / home/Admin/MM5/libs4cdo-0.0. 10/build - with-zlib = / home/Admin/MM5/libs4cdo-0.0.10/build - with-szlib = / home/Admin/MM5/libs4cdo-0.0.10/build - with-threads = / home/Admin/MM5/libs4cdo-0.0.10/build - enable-cgribex = no CFLAGS = &quot;-DHAVE_LIBNC_DAP&quot;<br><br>and when type cdo-V, I get:<br><br>Version 1.5.9 Climate Data Operators (http://code.zmaw.de/projects/cdo)<br>Compiler: gcc-std = gnu99-g-O2-pthread<br>version: gcc (SUSE Linux) 4.7.1 20120723 [gcc-4_7-branch review 189773]<br>with: pthreads Z<br>Compiled: by Admin on linux-5py7 (x86_64-unknown-linux-gnu) Mar November 2013 19:40:22<br>CDI library version: 1.5.9 of Mar November 2013 19:40:16<br>CGRIBEX library version: 1.5.6 of Dec 17 2012 13:44:05<br>Service Library version: 1.3.1 of Mar November 2013 19:40:07<br>EXTRA library version: 1.3.1 of Mar November 2013 19:40:00<br>IEG library version: 1.3.1 of Mar November 2013 19:40:04<br>FILE library version: 1.8.1 of Mar November 2013 19:40:00<br><br>The compiler has not changed (-g-O2-pthread), and therefore the CDO compile with make, I get the error<br><br>In file included from / home/Admin/MM5/libs4cdo-0.0.10/build/include/pthread.h: 288:0,<br>from file.c: 74:<br>/ home/Admin/MM5/libs4cdo-0.0.10/build/include/sched.h: 70:3: error: # error Please upgrade your GNU compiler to One That supports __ declspec.<br><br>Attached cdo.settings file and make.out<br><br>I hope you can help me, thank you very much in advance.<br><br>GHJ</span><span lang=EN style='font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:ES-MX'> </span><span style='font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:ES-MX'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN><o:p>&nbsp;</o:p></span></p></div></body></html>