- To: Dennis Heimbigner <dmh@xxxxxxxxxxxxxxxx>
- Subject: Re: [netcdfgroup] met so many undefined reference when make check
- From: Ted Mansell <Ted.Mansell@xxxxxxxx>
- Date: Wed, 17 Mar 2010 12:36:25 -0500
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: HiWhen I "make check", found so many undefined reference. And meterror: 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 listnetcdfgroup@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/
- Follow-Ups:
- References:
- [netcdfgroup] met so many undefined reference when make check
- From: brick
- Re: [netcdfgroup] met so many undefined reference when make check
- From: Dennis Heimbigner
- Re: [netcdfgroup] met so many undefined reference when make check
- From: Dennis Heimbigner
- [netcdfgroup] met so many undefined reference when make check