[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ldmMcidas #PRB-573465]: Error compiling the ldm-mcidas decoders



Hi again Dave,

Here is an updated list of environment variables that I set before
running 'configure' and then 'make' when building ldm-mcidas v2012
on my LUbuntu 14.04 LTS machine:

export CC=gcc
export CFLAGS=-O
export CPPFLAGS='-DNDEBUG -Df2cFortran'
export FC=gfortran
export FFLAGS='-O -Wuninitialized -fno-automatic'
export CPP_LDM=-I/home/ldm/include
export LD_LDM='/home/ldm/lib/libldm.a'
export CPP_MCIDAS=-I/home/mcidas/inc
export LD_MCIDAS='-L/home/mcidas/lib -lmcidas'
export CPP_NETCDF=-I/home/mcidas/mcidas2016/netcdf/include
export LD_NETCDF='-L/home/mcidas/lib -lnetcdf 
-L/home/mcidas/mcidas2016/hdf5/src -lhdf5_hl -lhdf5 -ldl'
export LD_MATH=-lm

The only difference in this list of settings and the previous one I sent
you is the addition of searching HDF5 libraries (libhdf5_hl.a and libhdf5.a)
and the system DL library.

My build using the above settings worked with no errors, and the
executables created appear to be viable:

das/src$ ls -alt ../bin
total 3588
-rwxrwxr-x 1 ldm ldm   52435 Dec 22 12:50 lgt2md
-rwxrwxr-x 1 ldm ldm 2992617 Dec 22 12:50 proftomd
-rwxrwxr-x 1 ldm ldm  173352 Dec 22 12:50 pngg2gini
-rwxrwxr-x 1 ldm ldm   69917 Dec 22 12:50 zlibg2gini
-rwxrwxr-x 1 ldm ldm  173416 Dec 22 12:50 pnga2area
-rwxrwxr-x 1 ldm ldm  172983 Dec 22 12:50 area2png
-rwxr-xr-x 1 ldm ldm    7762 Dec 12  2015 batch.k
drwxrwxr-x 7 ldm ldm    4096 Dec 12  2015 ..
drwxrwsr-x 2 ldm ldm    4096 Dec 12  2015 .
-rwxr-xr-x 1 ldm ldm    4529 Dec 12  2015 uwgrid.sh

address@hidden:~/ldm-mcidas/src$ ldd ../bin/pnga2area
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6e62000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6d83000)
        /lib/ld-linux-armhf.so.3 (0xb6ef0000)
address@hidden:~/ldm-mcidas/src$ ldd ../bin/lgt2md
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6ea8000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6dc9000)
        /lib/ld-linux-armhf.so.3 (0xb6f36000)
address@hidden:~/ldm-mcidas/src$ ldd ../bin/zlibg2gini
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e96000)
        /lib/ld-linux-armhf.so.3 (0xb6f96000)
 ...

Please let me know the results of your tests using the above settings.

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: PRB-573465
Department: Support ldm-mcidas
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.