The solution described in the trouble-shooting document should have fixed the problem.
Please make sure that there are two underscores before and after "UNIXOS2": -D__UNIXOS2__
Did you rerun "make Everything" after you added this macro to your config file in $NCARG/config?
Finally, is the -D__UNIXOS2__ actually showing up on the compile lines where you see the errors? If not,then double-check that you added this macro to the correct file.
--Mary
On Apr 17, 2009, at 1:52 PM, Sourish Basu wrote:
Hi all,_______________________________________________
I installed NCL 5.1.0 from source, and got the following error multiple times.
========================
/usr/include/X11/Xlib.h:81: error: conflicting types for ‘wchar_t’
/usr/lib/gcc/i486-linux-gnu/4.3.3/include/stddef.h:326: error: previous declaration of ‘wchar_t’ was here
========================
Anyone has any idea what's causing this? I tried solution #3 from http://www.ncl.ucar.edu/Download/build_from_src.shtml#Troubleshooting but that doesn't solve the problem.
I'm using gfortran-4.3 to compile.
Thanks,
-Sourish
Sourish Basu
542 Clark Hall
Department of Physics
Cornell University
Ithaca, NY 14853
Ph: +1 607 255 6069
Fax: +1 607 255 6428
sbasu@physics.cornell.edu
[04/17/2009 02:11 PM]
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Sat Apr 18 2009 - 14:54:17 MDT
This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 15:33:21 MDT