[ncl-install] ncl 6.2.0 build failure on Fedora
David Brown
dbrown at ucar.edu
Fri Apr 4 16:05:34 MDT 2014
Thanks for the info Orion. It is much appreciated.
-dave
On Apr 4, 2014, at 3:34 PM, Orion Poplawski <orion at cora.nwra.com> wrote:
> Another build failure on Fedora:
>
> g\+\+ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-pr
> otector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64
> -mtune=generic -fPIC -fno-s
> trict-aliasing -fopenmp -rdynamic -o ncl Ncl.o io.o NclHLUObj.o NclApi.o
> guiFuncs.o NclDrive
> r.o scanner.o parser.o MathFuncs.o NclTypedouble.o
> NclTypefloat.o
> NclTypeint.o NclTypelogical.o NclTypelong.o
> NclTypeobj.o
> NclTypeshort.o NclTypestring.o NclTypeint64.o
> NclTypeuint64.o
> NclTypeubyte.o NclTypeushort.o NclTypeuint.o
> NclTypeulong.o
> NclTypebyte.o NclTypechar.o TypeSupport.o
> NclMultiDValData.o AddFi
> leFormats.o AttSupport.o DataSupport.o FileSupport.o
> Formats.o GetGrids.o
> AdvancedFileSupport.o NclAdvancedFile.o
> NclAdvancedGroup.o
> InitData.o Memory.o NclAtt.o NclCCM.o
> NclCoordVar.o NclData.o
> NclGroup.o NclFile.o NclFileVar.o NclGRIB.o
> NclMultiDValnclfileData.o
> NclNetCdf.o NclOneDValCoordData.o NclType.o
> NclTypelist.o Nc
> lVar.o VarSupport.o ctoiee.o date.o qu2reg3.o rowina3.o
> scm0.o ncepcode.o
> NclHDF.o NclNewHDF5.o NclHDF5.o
> h5reader.o h5writer.o
> NclNetCDF4.o
> NclGRIB2.o NclOGR.o NclA
> dvancedOGR.o AddBuiltIns.o AddHLUObjs.o
> AddIntrinsics.o Execute.o
> Machine.o OpsFuncs.o SrcTree.o Symbol.o
> Translate.o
> NclHLUVar.o HLUSupport.o NclMultiDValHLUObjData.o
> BuiltInSupport.o BuiltInFuncs.o
> javaAddProto.o javaAddFuncs.o
> userAddProto.o userAddFuncs.o
> HLUFunctions.o yywrap.o craybin.
> o complete.o editline.o sysunix.o ListSupport.o
> NclList.
> o NclMultiDVallistData.o NclProf.o NclTime.o
> fortranio.o -L../../.././ni
> /src/lib/nfp -lnfp -L../../.././ni/src/lib/nfpfort -lnfpfort
> -L../../.././ni/src/lib/hlu -lhlu -
> L../../.././ncarg2d/src/libncarg -lncarg -L../../.././ncarg2d/src/libncarg_gks
> -lncarg_gks -L../
> ../.././common/src/libncarg_c -lncarg_c -L../../.././ngmath/src/lib -lngmath
> -L/usr/lib64/ncarg
> -L/usr/lib64/hdf -lnetcdf -lcurl -lnetcdf -lmfhdf -ldf -ljpeg -lz -lhdf5_hl
> -lhdf5 -lgdal -l
> udunits2 -lgrib2c -ljasper -lpng -lz -ljpeg -lpng -lz -lcairo -lfreetype
> -L../../.././external/
> sphere3.1_dp -lsphere3.1_dp -L../../.././external/fftpack5_dp -lfftpack5_dp
> -L/usr/lib64/atlas -
> ltatlas -L/usr/lib64/atlas -ltatlas -lX11 -lXext -lgfortran -lm -ldl
> make[4]: Leaving directory `/builddir/build/BUILD/ncl_ncarg-6.2.0/ni/src/ncl'
> /usr/bin/ld: ../../.././ni/src/lib/nfp/libnfp.a(TransformCoordinate.o):
> undefined reference to s
> ymbol 'pj_init_plus'
> /lib64/libproj.so.0: error adding symbols: DSO missing from command line
>
> If libnfp.a uses code from libproj, it really should link against it directly.
> Not sure your build system allows static libraries to get linked against
> other libraries. Alternative is to add it to the ncl link line - which I've
> done by adding it to GDALlib, which works.
>
>
> --
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA, Boulder/CoRA Office FAX: 303-415-9702
> 3380 Mitchell Lane orion at nwra.com
> Boulder, CO 80301 http://www.nwra.com
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
More information about the ncl-install
mailing list