>From: address@hidden >Organization: SMSU >Keywords: 200008311512.e7VFCkN01871 ldm-mcidas Unidata-Wisconsin pnga2area Bill, >Here's a question I'm almost afraid to ask: > >...trying to make ldm-mcidas-7.6.4 on an AIX 4.2 box, I blow up in the >link phase...here included is a copy of the error report: > >+ make decoders The sequence I normally go through is: cd ldm-mcidas-xxxx/src ./configure make make test make install ... >+ c89 -O proftomd.o cdfsubs.o decode_fsl1.o decode_fsl2.o decode_ncprof.o mkdi > rs_open.o vapor_pres.o -L/home/mcidas/lib -lmcidas -L/home/ldm/runtime/lib -l > ldm -lX11 ../port/misc/libudport.a -L/home/ldm/netcdf/lib -lnetcdf -L../libpn > g -lpng -L../zlib -lz -lm -o proftomd >ld: 0711-317 ERROR: Undefined symbol: .nc_open >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_attid >ld: 0711-317 ERROR: Undefined symbol: .nc_inq >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_atttype >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_attlen >ld: 0711-317 ERROR: Undefined symbol: .nc_get_att_text >ld: 0711-317 ERROR: Undefined symbol: .nc_get_att_int >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_varid >ld: 0711-317 ERROR: Undefined symbol: .nc_get_att_float >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_vardimid >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_dimlen >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_var >ld: 0711-317 ERROR: Undefined symbol: .nc_get_vara_text >ld: 0711-317 ERROR: Undefined symbol: .nc_get_var1_int >ld: 0711-317 ERROR: Undefined symbol: .nc_get_var1_float >ld: 0711-317 ERROR: Undefined symbol: .nc_get_var1_double >ld: 0711-317 ERROR: Undefined symbol: .nc_inq_dimid >ld: 0711-317 ERROR: Undefined symbol: .nc_close >ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. >+ rm -f proftomd >+ exit 1 >make: 1254-004 The error code from the last command is 1. >Stop. >make: 1254-004 The error code from the last command is 1. This is telling you either that there is no libnetcdf.a in /home/ldm/netcdf/lib, that it is a really old version, or that it is not readable. The pointer to the netCDF library is: "-L/home/ldm/netcdf/lib -lnetcdf" It was probably defined in the environment variable LD_NETCDF. >My question, is, obviously, am I missing something because this is >AIX 4.2 instead of 4.3. I don't think so. Please verify that: o there is a libnetcdf.a in /home/ldm/netcdf/lib o if there is one, make sure that it is readable by the user doing the ldm-mcidas build >If so, I'll probably try the 4.3 binary >release first before attempting to find a system upgrade. I don't think that this is something that will force you to upgrade your operating system. It is a simple link error related to the netCDF library. If worse came to worse, you could do the following: cd decode make area2png pnga2area make pnga2area.test There is no real reason to upgrade any of the other decoders since the Unidata-Wisconsin datastream is only in the area of how the images are compressed. After you make the new decoder, you will need to: <login as 'ldm'> o edit ldmd.conf and change the request line for your imagery to something like: request MCIDAS "^pnga2area Q[01]" feed_site_hostname o edit pqact.conf and: o comment out the entry(ies) that run lwtoa3 o add an entry(ies) to run pnga2area The generic pqact.conf entry that is a one-for-one replacement for the lwtoa3 entry(ies) is: # Unidata-Wisconsin PNG compressed Products # \1 \2 \3 \4 \5 \6 \7 # Qx pd anum SAT BAND RES CCYYMMDD HHMM # pnga2area Q0 CF 0015 GOES-10_SND UNKBAND 1km 20000525 2000 # CIMSS and UW Products decoded into AREA files using McIDAS routing table MCIDAS ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....) PIPE -close pnga2area -d /data/ldm/mcidas -r \1,\2 NOTE: as always, mind the white space to put tabs where needed! This entry assumes that you have McIDAS-X loaded on the same machine that the LDM is running on, and that McIDAS-X is installed in /home/mcidas. If this is not the case, then you will have to specify two flags to pnga2area that tell it where to find the McIDAS satellite annotation and band information files, SATANNOT and SATBAND, respectively. These files are included in the decode directory of the ldm-mcidas source distribution (and in the etc directory of the binary distribution), so you can use those if you McIDAS installation is on a different machine (I don't think that it is). Example 1 Assume that you _do_ have McIDAS-X installed on the machine and that it is installed in /usr/local/mcidas. The above pqact.conf entry would become: MCIDAS ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....) PIPE -close pnga2area -a /usr/local/mcidas/data/SATANNOT -b /usr/local/mcidas/data/SATBAND -d /data/ldm/mcidas -r \1,\2 Example 2 Assume that you do _not_ have McIDAS-X installed on this machine. Further assume that you copy the versions of SATANNOT and SATBAND from the src/decode directory of the ldm-mcidas source distribution (or from the etc directory of the ldm-mcidas binary distribution) to the ~ldm/etc directory, and the LDM is installed under /home/ldm. The above pnga2area invocation would become: MCIDAS ^pnga2area Q. (..) (.*) (.*) (.*) (.*) (........) (....) PIPE -close pnga2area -a /home/ldm/etc/SATANNOT -b /home/ldm/etc/SATBAND -d /data/ldm/mcidas -r \1,\2 Please let me know if you continue to have problems with the build/install/ configuration of ldm-mcidas 7.6.4. I can jump in and lend a hand if needed. Tom
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.