<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ah, the solution you're referring to says that it's only for NCL-5.0.0.
Since I installed 5.1.0, I didn't try that one. But your tip worked,
thanks!<br>
<br>
-Sourish<br>
<br>
On 04/17/2009 04:00 PM, Mary Haley wrote:
<blockquote cite="mid:F7428FBB-D76D-4B53-BF7E-E898251D9A45@ucar.edu"
type="cite">The solution described in the trouble-shooting document
should have fixed the problem.
<div><br>
</div>
<div>Please make sure that there are two underscores before and after
"UNIXOS2": -D__UNIXOS2__
<div><br>
</div>
<div>Did you rerun "make Everything" after you added this macro to
your config file in $NCARG/config?</div>
<div><br>
</div>
<div>Finally, is the -D__UNIXOS2__ actually showing up on the compile
lines where you see the errors? If not,</div>
<div>then double-check that you added this macro to the correct file.</div>
<div><br>
</div>
<div>--Mary</div>
<div><br>
<div>
<div>On Apr 17, 2009, at 1:52 PM, Sourish Basu wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#ffffff" text="#000000"> Hi all,<br>
<br>
I installed NCL 5.1.0 from source, and got the following error
multiple times.<br>
<br>
========================<br>
/usr/include/X11/Xlib.h:81: error: conflicting types for ‘wchar_t’<br>
/usr/lib/gcc/i486-linux-gnu/4.3.3/include/stddef.h:326: error: previous
declaration of ‘wchar_t’ was here<br>
========================<br>
<br>
Anyone has any idea what's causing this? I tried solution #3 from <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.ncl.ucar.edu/Download/build_from_src.shtml#Troubleshooting">http://www.ncl.ucar.edu/Download/build_from_src.shtml#Troubleshooting</a>
but that doesn't solve the problem.<br>
<br>
I'm using gfortran-4.3 to compile.<br>
<br>
Thanks,<br>
<br>
-Sourish<br>
<hr noshade="noshade"><b>Sourish Basu</b><br>
<i>542 Clark Hall<br>
Department of Physics<br>
Cornell University<br>
Ithaca, NY 14853</i><br>
Ph: +1 607 255 6069<br>
Fax: +1 607 255 6428<br>
<a moz-do-not-send="true" href="mailto:sbasu@physics.cornell.edu">sbasu@physics.cornell.edu</a><br>
[04/17/2009 02:11 PM]
<hr noshade="noshade"> </div>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>