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.
Hi Craig, Since the problem seems to be with the configure script, Russ has given it to me. >Date: Fri, 17 May 1996 14:26:47 -0400 >From: "Dr. Craig A. Mattocks" <address@hidden> >Organization: NOAA/AOML >To: Russ Rew <address@hidden> >Subject: Re: 960515: NetCDF under MachTen unix >Keywords: 199605151821.AA27851 In the above message you wrote: > conftest: Exec format error. Wrong Architecture. > Whoa! Why would the executable have the wrong architecture? I'll assume that it's due to the failure to link correctly mentioned below. > > See if there are any useful messages at the end of "config.log". > > configure:1911: gcc -o conftest -O conftest.c 1>&5 > conftest.c(.text+a4): undefined reference to `.xdr_long' > > configure:2120: gcc -o conftest -O conftest.c -lrpc 1>&5 > ldr error relocating, symbol xdr_float is undefined > ldr error relocating, symbol xdr_double is undefined > So, your RPC library doesn't contain the XDR functions? That's weird. Look around. Can you find them? Maybe there's a `libxdr.a' on your system. The file conftest.c (which has code for testing the system's XDR library) should still be lying around. See if you can *manually* build and execute it. > (MachTen unix should resemble Sun or NeXT BSD flavors.) It doesn't (at least sufficiently well). :-( -------- Steve Emmerson <address@hidden>