[ncl-install] identifier "int_p_NULL" is undefined when Making ./ncarg2d/src/libncarg/ezmap
brick
brickflying at gmail.com
Thu Mar 18 22:53:38 MDT 2010
*Hi*
*I met this Error when compile ncl with icc and ifort on CentOS.*
*I choose png/zlib hdf4 netcdf grib2 when configure.*
..................................
..................................
ifort -O2 -c -o mdqtrn.o mdqtrn.f
ifort -O2 -c -o aiproj.o aiproj.f
ifort -O2 -c -o aiprin.o aiprin.f
ifort -O2 -c -o haproj.o haproj.f
ifort -O2 -c -o haprin.o haprin.f
ifort -O2 -c -o moproj.o moproj.f
ifort -O2 -c -o moprin.o moprin.f
ifort -O2 -c -o wtproj.o wtproj.f
ifort -O2 -c -o wtprin.o wtprin.f
ifort -O2 -c -o mpdbdi.o mpdbdi.f
icc -ansi -O2 -I../../../.././include -I/usr/include -I/usr/include/X11
-I/mnt/home/xqiu/Program/IntelCompiled/include
-I/opt/intel/Compiler/11.1/064/include
-I/mnt/home/xqiu/Program/IntelCompiled/include/usr_include_linux -DBuildPNG
-DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c
-o mapnga.o mapnga.c
icc -ansi -O2 -I../../../.././include -I/usr/include -I/usr/include/X11
-I/mnt/home/xqiu/Program/IntelCompiled/include
-I/opt/intel/Compiler/11.1/064/include
-I/mnt/home/xqiu/Program/IntelCompiled/include/usr_include_linux -DBuildPNG
-DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c
-o mapngb.o mapngb.c
mapngb.c(81): error: identifier "int_p_NULL" is undefined
&color_type,&interlace_type,int_p_NULL,int_p_NULL);
^
compilation aborted for mapngb.c (code 2)
make[5]: *** [mapngb.o] Error 2
make[5]: Leaving directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ncarg2d/src/libncarg/ezmap'
*After this error, there are 5 additional errors. I think all are caused by
the error above. The rest errors are listed below:*
1
Making ./ncarg2d/src/bin/ncargworld
make[5]: Entering directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ncarg2d/src/bin/ncargworld'
ifort -O2 -c -o ncargworld.o ncargworld.f
ifort -O2 -o ncargworld ncargworld.o
../../../.././ncarg2d/src/libncarg_gks/awi/ggkwdr_stub.o
-L../../../.././ncarg2d/src/libncarg -lncarg
-L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c
-L/mnt/home/xqiu/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib -L/usr/lib
-L/usr/lib/X11 -L/mnt/home/xqiu/Program/IntelCompiled/lib
ncargworld.o: In function `MAIN__':
ncargworld.f:(.text+0x166): undefined reference to `maproj_'
ncargworld.f:(.text+0x195): undefined reference to `mapstr_'
ncargworld.f:(.text+0x1a6): undefined reference to `mapstr_'
ncargworld.f:(.text+0x1b7): undefined reference to `mapstr_'
ncargworld.f:(.text+0x1da): undefined reference to `mapset_'
ncargworld.f:(.text+0x1eb): undefined reference to `mapsti_'
ncargworld.f:(.text+0x1fc): undefined reference to `mapsti_'
ncargworld.f:(.text+0x20d): undefined reference to `mapsti_'
ncargworld.f:(.text+0x215): undefined reference to `mapint_'
ncargworld.f:(.text+0x2fb): undefined reference to `maptri_'
ncargworld.f:(.text+0x48c): undefined reference to `mapdrw_'
../../../.././ncarg2d/src/libncarg/libncarg.a(pcmpxy.o): In function
`pcmpxy_':
pcmpxy.f:(.text+0x1f5): undefined reference to `maptra_'
pcmpxy.f:(.text+0x37e): undefined reference to `maptra_'
pcmpxy.f:(.text+0x3a4): undefined reference to `maptri_'
make[5]: *** [ncargworld] Error 1
make[5]: Leaving directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ncarg2d/src/bin/ncargworld'
2
Making ./ncarg2d/src/bin/tdpackdemo
make[5]: Entering directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ncarg2d/src/bin/tdpackdemo'
ifort -O2 -c -o TdpackDemo.o TdpackDemo.f
ifort -O2 -o tdpackdemo TdpackDemo.o
-L../../../.././ncarg2d/src/libncarg -lncarg
-L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c -lpng -lz
-L/mnt/home/xqiu/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib -L/usr/lib
-L/usr/lib/X11 -L/mnt/home/xqiu/Program/IntelCompiled/lib
-L/opt/intel/Compiler/11.1/064/lib/ia32 -lXpm -lX11 -lXext
../../../.././ncarg2d/src/libncarg/libncarg.a(pcmpxy.o): In function
`pcmpxy_':
pcmpxy.f:(.text+0x1f5): undefined reference to `maptra_'
pcmpxy.f:(.text+0x37e): undefined reference to `maptra_'
pcmpxy.f:(.text+0x3a4): undefined reference to `maptri_'
make[5]: *** [tdpackdemo] Error 1
make[5]: Leaving directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ncarg2d/src/bin/tdpackdemo'
3
................................
mdlndr.f:(.text+0x50d): undefined reference to `mapit_'
mdlndr.f:(.text+0x555): undefined reference to `mapit_'
mdlndr.f:(.text+0x5a5): undefined reference to `mapit_'
mdlndr.f:(.text+0x5c2): undefined reference to `mapiq_'
mdlndr.f:(.text+0x75d): undefined reference to `mdpchi_'
mdlndr.f:(.text+0x78a): undefined reference to `mdgetr_'
mdlndr.f:(.text+0x7a1): undefined reference to `mdplmb_'
../../../.././ncarg2d/src/libncarg/libncarg.a(mdutin.o): In function
`mdutin_':
mdutin.f:(.text+0xe0): undefined reference to `mdpin2_'
mdutin.f:(.text+0x4a0): undefined reference to `mdpint_'
make[5]: *** [ezmapdemo] Error 1
make[5]: Leaving directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ncarg2d/src/bin/ezmapdemo'
4
Making ./ngmath/src/bin/nnalg
make[5]: Entering directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ngmath/src/bin/nnalg'
ifort -O2 -c nadisp.f
ifort -O2 -c -o nadraw.o nadraw.f
ifort -O2 -c -o naskln.o naskln.f
ifort -O2 -c -o nasort.o nasort.f
ifort -O2 -o nnalg nadisp.o nadraw.o naskln.o nasort.o
-L../../../.././ncarg2d/src/libncarg -lncarg
-L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c -lpng -lz
-L/mnt/home/xqiu/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib -L/usr/lib
-L/usr/lib/X11 -L/mnt/home/xqiu/Program/IntelCompiled/lib
-L/opt/intel/Compiler/11.1/064/lib/ia32 -lXpm -lX11 -lXext
../../../.././ncarg2d/src/libncarg/libncarg.a(pcmpxy.o): In function
`pcmpxy_':
pcmpxy.f:(.text+0x1f5): undefined reference to `maptra_'
pcmpxy.f:(.text+0x37e): undefined reference to `maptra_'
pcmpxy.f:(.text+0x3a4): undefined reference to `maptri_'
make[5]: *** [nnalg] Error 1
make[5]: Leaving directory
`/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ngmath/src/bin/nnalg'
5
.........................................
mdlndr.f:(.text+0x472): undefined reference to `mdpchi_'
mdlndr.f:(.text+0x4d6): undefined reference to `mdpchi_'
mdlndr.f:(.text+0x50d): undefined reference to `mapit_'
mdlndr.f:(.text+0x555): undefined reference to `mapit_'
mdlndr.f:(.text+0x5a5): undefined reference to `mapit_'
mdlndr.f:(.text+0x5c2): undefined reference to `mapiq_'
mdlndr.f:(.text+0x75d): undefined reference to `mdpchi_'
mdlndr.f:(.text+0x78a): undefined reference to `mdgetr_'
mdlndr.f:(.text+0x7a1): undefined reference to `mdplmb_'
../../.././ncarg2d/src/libncarg/libncarg.a(mdlnri.o): In function `mdlnri_':
mdlnri.f:(.text+0xc6): undefined reference to `mpdbdi_'
make[4]: *** [ncl] Error 1
I need help to fix it.
Thanks.
brick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20100318/e3e2dabb/attachment-0001.html
More information about the ncl-install
mailing list