This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Gerry, > To: Unidata Support <address@hidden> > From: Gerry Creager <address@hidden> > Subject: LDM compile errors on 64-bit/Opteron > Organization: Texas Mesonet -- AATLT, Texas A&M University > Keywords: 200507191938.j6JJcxjo006043 The above message contained the following: > Have y'all got any experience in compiling on an Opteron using > CentOS/RHEL4? We've compiled the LDM for Opteron CPU-s under Fedora Core 3 (which is closest to RHEL4). Here's the output from the relevant uname(1) command: $ uname -sr Linux 2.6.11-1.27_FC3smp > We're getting the following error in ./configure > checking for c89... c89 > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether c89 accepts -g... yes > checking for c89 option to accept ANSI C... none needed > checking the C compiler... works > configure: Checking how to maximize the (long, void*, off_t) programming > environment > checking if the system supports _XBS5_LPBIG_OFFBIG... no > checking if the system supports _XBS5_ILP32_OFFBIG... yes > configure: -D_MAPRGNS > configure: cflags="-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" > configure: ldflags="-m32" > configure: libs="" > configure: ARFLAGS="-cru" > checking the C compiler (again)... works > checking the installation prefix... /usr/local/ldm > checking domain name... tamu.edu > checking how to run the C preprocessor... c89 -E > checking for egrep... grep -E > checking for HP-UX... no > checking the C preprocessor... works > checking for ar... ar > checking for perl... /usr/bin/perl > checking for POSIX shell... /bin/sh > checking for yacc... yacc > checking for ranlib... ranlib > checking mmap()... yes > checking LDMHOME... /usr/local/ldm > checking for ANSI C header files... no > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for int... yes > checking size of int... configure: error: cannot compute sizeof (int), 77 > See `config.log' for more details. We don't have this problem. Please send me the file "config.log", which should be in the top-level source-directory. > Thanks, Gerry > -- > Gerry Creager -- address@hidden > Texas Mesonet -- AATLT, Texas A&M University > Cell: 979.229.5301 Office: 979.458.4020 > FAX: 979.847.8578 Pager: 979.228.0173 > Office: 903A Eller Bldg, TAMU, College Station, TX 77843 Regards, Steve Emmerson > 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.