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

[ldmMcidas #LKW-421540]: Compile error: gunrv2



Hi Rodrigo,

I am currently on travel in China, and my access to the Internet is very
limited, so I will not be able to respond fully to your ldm-mcidas
support inquiry...

re:
> I'm building ldm-mcidas from the source code, but I got errors
> ..
> making `all' in directory ~ldm/SRC/ldm-mcidas-2008/src/decode
> ...
> gfortran -O2 -Wuninitialized -fno-automatic -Df2cFortran  gunrv2.o main.o 
> mc_proto.o csubs.o udalloc.o -L/home/ldm/ldm/lib64 -lldm -lxml2 -L/usr/lib64 
> -lX11 ../port/misc/libudport.a -L/usr/lib64 -lnetcdf -L../libpng -lpng 
> -L../zlib -lz    -L/usr/lib64 -lm -L/home/mcidas/lib -lmcidas  -o gunrv2
> 
> ..
> 
> gunrv2.o: In function `main0_':
> gunrv2.c:(.text+0x3): undefined reference to `gunrv2_'
> collect2: ld returned 1 exit status
> make: *** [gunrv2] Error 1
> 
> but :
> nm -g --print-file-name gunrv2.o
> gunrv2.o:                 U gunrv2_
> gunrv2.o:0000000000000000 T main0_
> 
> nm -g --print-file-name csubs.o
> ...
> csubs.o:                 U m0cmdglo_
> csubs.o:                 U main0_
> csubs.o:                 U malloc
> ...

The gunrv2 dedoder is no longer needed to process McIDAS files (it
is deprecated), so you can ignore this problem.

Instead of running 'make all' try running 'make'  or 'make basic' and see if
the make process skips trying to build the deprecated decoders.

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: LKW-421540
Department: Support ldm-mcidas
Priority: Normal
Status: Closed