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

20030207: Compile ldm-mcidas-7.8.0 on a RedHat Linux 8.0 i386 machine



>From: Eirh-Yu Hsie <address@hidden>
>Organization: Aeronomy Laboratory/NOAA
>Keywords: 200302071859.h17IxF602516 ldm-mcidas RedHat 8.0

Hsie,

>I need some help to compile  ldm-mcidas-7.8.0 decoders on a RedHat Linux 
>8.0 PC.

As long as you are installing ldm-mcidas decoders under a new version
of RedHat Linux, you should also upgrade to the latest version of the
ldm-mcidas decoders, v2002b (actually, you should use the latest
ldm-mcidas decoder distribution, because it contains fixes for problems
first seen under RedHat 8).  And, as long as you are doing this,
why not use the binary distribution of the decoders:

LDM-McIDAS decoders
http://my.unidata.ucar.edu/content/software/mcidas/mcidd/index.html
 |
 |_ Download Software
    
http://my.unidata.ucar.edu/content/software/mcidas/mcidd/ldm-mcidas-download.html

Click on the Version 2002b 'RedHat 8.0 Linux' link to download the
binary distribution of ldm-mcidas v2002b for RedHat Linux 8.0.

>I got the following error messages:
>...
>...
>make[2]: Entering directory `/home/ldm/ldm-mcidas-7.8.0/src/decode'
>+ gcc -DpgiFortran cdftomd.o -L/home/ldm/lib -lldm -L/usr/X11R6/lib 
>-lX11 ../port/misc/libudport.a -L/usr/local/lib -lnetcdf -L../libpng 
>-lpng -L../zlib -lz -lm -o cdftomd
>/usr/local/lib/libnetcdf.a(putget.o): In function `nc_put_vara_text':
>putget.o(.text+0x955a): undefined reference to `__builtin_alloca'
>putget.o(.text+0x9572): undefined reference to `__builtin_alloca'
>/usr/local/lib/libnetcdf.a(putget.o): In function `nc_put_vara_uchar':
>putget.o(.text+0x986a): undefined reference to `__builtin_alloca'
>putget.o(.text+0x9882): undefined reference to `__builtin_alloca'
>/usr/local/lib/libnetcdf.a(putget.o): In function `nc_put_vara_schar':
>putget.o(.text+0x9b7a): undefined reference to `__builtin_alloca'
>/usr/local/lib/libnetcdf.a(putget.o)(.text+0x9b92): more undefined 
>references to `__builtin_alloca' follow
>collect2: ld returned 1 exit status
>+ rm -f cdftomd
>+ exit 1
>make[2]: *** [cdftomd] Error 1
>make[2]: Leaving directory `/home/ldm/ldm-mcidas-7.8.0/src/decode'
>make[1]: *** [decode/all] Error 1
>make[1]: Leaving directory `/home/ldm/ldm-mcidas-7.8.0/src'
>+ set +x
>
>
>The netcdf-3.5.0, netcdf-perl-1.2.2, udunits-1.11.7, and ldm-5.2.1 are 
>compiled without any errors.
>
>
>Hsie
>
>PS:   The McIDAS-7.8.0 is compiled under RedHat Linux 7.2.
>
>-------------------------
>
>"This contents of this message are mine personally and 
>do not reflect any position of the Government of NOAA"
>
>Eirh-Yu Hsie
>Aeronomy Laboratory/NOAA
>325 Broadway, R/AL4
>Boulder, CO  80305-3328
>voice:  303-497-3275
>fax:    303-497-5373

Tom