[ncl-install] problem with Build NCL from source code on AIX

Mary Haley haley at ucar.edu
Thu Jul 16 11:40:26 MDT 2009


qWei,

I am not familiar with building on an AIX PowerPC system. I didn't have
any problems building this file on an AIX Pwr6 system using
the exact same compile options as you:

   be1105en.ucar.edu[144] xlc -q32 -qalign=natural -D_LARGE_FILES -O3
   -qstrict -I../../ncl -I../../../.././include
   -I/g/app/libjpeg-6b/include -I/u/weimin/soft/zlib-1.2.3/include
   -I/u/weimin/soft/HDF4.2r4/include -DSYSV -D_POSIX_SOURCE -DRS6000
   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DNeedFuncProto -c wrfW.c
   be1105en.ucar.edu[145]

Perhaps there's an additional option you need to get this compiler to
work on code like this? This code has compiled on several systems with
different compilers.

--Mary


On Thu, 16 Jul 2009 weim at cma.gov.cn wrote:

> Hello,
>
> I am attempting to build ncl_ncarg-5.1.1 from source code for an AIX 5.2.0.0
> PowerPC  system. I export  OBJECT_MODE=32. The following error occur:
> xlc -q32 -qalign=natural -D_LARGE_FILES  -O3 -qstrict -I../../ncl -I../../../.././include -I/g/app/libjpeg-6b/include -I/u/weimin/soft/zlib-1.2.3/include -I/u/weimin/soft/HDF4.2r4/include     -DSYSV -D_POSIX_SOURCE -DRS6000 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -DNeedFuncProto  -c wrfW.c
> "wrfW.c", line 9538.43: 1506-280 (S) Function argument assignment between types "void*" and "int" is not allowed.
> "wrfW.c", line 9539.43: 1506-280 (S) Function argument assignment between types "void*" and "int" is not allowed.
>
>
> Thanks in advance for your help.
>
> Wei Min
> National Meteorological Information Centre, CMA, China
>


More information about the ncl-install mailing list