<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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 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 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 href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></blockquote></div><br></div></div></body></html>