Re: [netcdfgroup] met so many undefined reference when make check

Thanks Ted. C++ API is useless for me. I will disable it and try.

On Wed, Mar 17, 2010 at 12:36 PM, Ted Mansell <Ted.Mansell@xxxxxxxx> wrote:

> Unless you need c++, you can add  --disable-cxx to the configure command.
>  I do that as default because of past experience with it not compiling
> correctly on OS X.  I suppose I should report that, but I have no personal
> motivation to see it fixed... although having said that got me to test it
> now... and it seems to build/check just fine. (kind of like how opendap has
> some error, too, so I disable it...)
>
> For what it's worth, I use gcc + ifort on OS X, so you might try the same .
>
> -- Ted
>
>
>
> On Mar 17, 2010, at 12:00 PM, Dennis Heimbigner wrote:
>
>  I am not familiar with icc, so I am not
>> going to be much help.  Is there anyone on
>> this group who can help?
>>
>> brick wrote:
>>
>>> Thanks Dennis. The compiler I use is icc. Is that the reason? How to fix
>>> this error ?  It seems there is no 'ostream.h' in
>>> '/opt/intel/Compiler/11.1/064/include'
>>> On Mon, Mar 15, 2010 at 11:54 AM, Dennis Heimbigner <
>>> dmh@xxxxxxxxxxxxxxxx <mailto:dmh@xxxxxxxxxxxxxxxx>> wrote:
>>>   It looks like there is a mismatch between
>>>   your c++ compiler and the std c++ libraries
>>>   (ostream.h, etc).
>>>   brick wrote:
>>>       Hi
>>>       When I "make check", found so many undefined reference. And met
>>>       error:
>>>       make[2]: *** [nctst] Error 1
>>>       make[2]: Leaving directory
>>>       `/mnt/home/xqiu/Program/IntelCompiled/Temp/netcdf-4.0.1/cxx'
>>>       make[1]: *** [check-am] Error 2
>>>       make[1]: Leaving directory
>>>       `/mnt/home/xqiu/Program/IntelCompiled/Temp/netcdf-4.0.1/cxx'
>>>       make: *** [check-recursive] Error 1
>>>       For detail, please see MakeCheck attached.
>>>       Does anyone know how to fix it?
>>>       Thanks!
>>>       Brick
>>>
>>> ------------------------------------------------------------------------
>>>       _______________________________________________
>>>       netcdfgroup mailing list
>>>       netcdfgroup@xxxxxxxxxxxxxxxx <mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
>>>       For list information or to unsubscribe,  visit:
>>>       http://www.unidata.ucar.edu/mailing_lists/
>>>
>>
>> _______________________________________________
>> netcdfgroup mailing list
>> netcdfgroup@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: