Re: problem with Build NCL from source code on AIX

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 16 Jul 2009 11:40:26 -0600 (MDT)

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
>
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu Jul 16 2009 - 11:40:26 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 17 2009 - 15:27:34 MDT