<div>Dear sir,</div>
<div> </div>
<div>Thank you very much for your kinfd information.. But I didn't see any C++ compilers in IBM system. I have asked to my system administrator about the C++ compiler. He told that, C++ compiler is not there and he don't know how to install. I am attaching the list of all C compilers in my system..I'll contact to IBM people,with the help of my guide, from where we have purchased the system...</div>
<div> </div>
<div>thunder>pwd<br>/usr/vac/bin<br>thunder>ls<br>CreateExportList* c99_128_r* cc_r* xlc128*<br>c89* c99_128_r4* cc_r4* xlc128_r*<br>c89_128* c99_128_r7* cc_r7* xlc128_r4*<br>
c89_128_r* c99_r* cleanpdf* xlc128_r7*<br>c89_128_r4* c99_r4* fixpkg_vacndi* xlc_r*<br>c89_128_r7* c99_r7* gxlc* xlc_r4*<br>c89_r* cc* mergepdf* xlc_r7*<br>
c89_r4* cc128* resetpdf* xlchelp*<br>c89_r7* cc128_r* showpdf*<br>c99* cc128_r4* vacndi*<br>c99_128* cc128_r7* xlc*<br>thunder><br>
</div>
<div><br>with best regards,</div>
<div>Litta</div>
<div> </div>
<div class="gmail_quote">On Thu, Feb 18, 2010 at 9:42 PM, John Halley Gotway <span dir="ltr"><<a href="mailto:johnhg@ucar.edu">johnhg@ucar.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Litta,<br><br>I noticed something right away in the information you sent... It looks like you're using the wrong compilers.<br>
<br>xlc is a C compiler, and xlC is a C++ compiler. It's pretty annoying that the only difference is the lower-case vs upper-case letter 'c', but that's the difference between them. And you should be<br>
using the C++ compiler here.<br><br>Try setting:<br>CXX = /usr/vac/bin/xlC<br>FC = /usr/vac/bin/xlf<br><br>And then be sure to do a "/path/to/your/make clean" before trying to rebuild. That should help a lot.<br>
<div class="im"><br>Thanks,<br>John<br><br>Litta A J wrote:<br></div>
<div>
<div></div>
<div class="h5">> Dear sir,<br>><br>> Thank you very much for your kind information... You are right. It is<br>> making libraries after typing as you specified.. It is successfully creating<br>> vx_afm Library, vx_analysis_util Library, vx_cal Library files. But it is<br>
> not creating vx_color library. I am attaching make.log file and the<br>> specified lines of stdlib.h Please go through that and give your valuable<br>> suggestion.... My CXX path is as follows...<br>><br>> # Path to the C++ Compiler<br>
> # C++ compiler flags<br>> # Any additional required libraries<br>> CXX = /usr/vac/bin/xlc<br>> CXX_FLAGS = # -g -qfullpath<br>> CXX_LIBS =<br>><br>> thunder>/user2/litta/MET_T/make-3.81/make<br>
> *** Making the Model Evaluation Tools Project ***<br>><br>> *** Making vx_afm Library ***<br>> /usr/vac/bin/cc afm.cc -c -I..<br>> /usr/vac/bin/cc afm_keywords.cc -c -I..<br>> /usr/vac/bin/cc afm_line.cc -c -I..<br>
> /usr/vac/bin/cc afm_token.cc -c -I..<br>> /usr/vac/bin/cc afmkeyword_to_string.cc -c -I..<br>> /usr/vac/bin/cc afmtokentype_to_string.cc -c -I..<br>> ar -rs libvx_afm.a afm.o afm_keywords.o afm_line.o afm_token.o<br>
> afmkeyword_to_string.o afmtokentype_to_string.o<br>> ar: Creating an archive file libvx_afm.a.<br>> ranlib libvx_afm.a<br>> cp libvx_afm.a ../.<br>> *** Making vx_analysis_util Library ***<br>><br>> *** Making vx_cal Library ***<br>
><br>> *** Making vx_color Library ***<br>> /usr/vac/bin/cc vx_color.cc -c -I..<br>> "/usr/vacpp/include/cstdlib", line 72.15: 1540-0403 (S) "abs(long)" is<br>> already defined.<br>> "/usr/vacpp/include/stdlib.h", line 146.32: 1540-0425 (I) "abs" is defined<br>
> on line 146 of "/usr/vacpp/include/stdlib.h".<br>> "/usr/vacpp/include/stdlib.h", line 38.32: 1540-0424 (I) "abs" is declared<br>> on line 38 of "/usr/vacpp/include/stdlib.h".<br>
> make[3]: *** [vx_color.o] Error 1<br>> make[2]: *** [vx_color_all] Error 2<br>> make[1]: *** [libs] Error 2<br>> make: *** [all] Error 2<br>> Looking forward to your reply..............<br>><br>> with best regards,<br>
> Litta<br>><br>><br>> On Wed, Feb 17, 2010 at 8:52 PM, John Halley Gotway <<a href="mailto:johnhg@ucar.edu">johnhg@ucar.edu</a>> wrote:<br>><br>>> Litta,<br>>><br>>> I went to an IBM machine here and tried building MET using the *WRONG*<br>
>> version of make, not the GNU make. When I did that, I saw the exact same<br>>> error messages you're seeing. Based on the command<br>>> line you sent me, it looks like you're just typing "make" on the command<br>
>> line. Doing that tells the shell to search your path for "make", and I'm<br>>> guessing it's still finding the wrong version of it -<br>>> and not the one that you installed in your home directory. Instead, you'll<br>
>> need to type something like this:<br>>><br>>> thunder> cd METv2.0<br>>> thunder> /home/litta/path/to/make<br>>><br>>> Where that path specifies the location of the GNU make executable you just<br>
>> built.<br>>><br>>> Let me know if you continue to experience problems.<br>>><br>>> Thanks,<br>>> John<br>>><br>>><br>>><br>><br></div></div></blockquote></div><br>
<br clear="all"><br>-- <br>***********************************************<br>Ms. Litta A. J<br>Project Scientist,<br>Centre for Atmospheric Sciences,<br>Indian Institute of Technology (IIT),Delhi,<br>Hauz Khas,<br>New Delhi - 110016<br>
***********************************************<br>