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.
> Institution: University of Western Australia > Package Version: 3.6.2 > Operating System: UNICOS/lc > Hardware Information: Cray XT3 > Inquiry: The .configure complains about the following. > > configure:3091: checking whether separate fortran libs are desired > configure:3100: result: no > configure:3159: finding C compiler > configure:3216: checking for xlc > configure:3246: result: no > configure:3216: checking for cc > configure:3232: found /opt/xt-pe/1.4.48/bin/snos64/cc > configure:3243: result: cc > configure:3279: checking for C compiler version > configure:3286: cc --version >&5 > /opt/xt-pe/1.4.48/bin/snos64/cc: INFO: catamount target is being used > pgcc-Warning-Unknown switch: --version > /opt/xt-pe/1.4.48/lib/cnos64/cstart.o(.text+0x193f): In function `cstart': > : undefined reference to `main' > configure:3289: $? = 2 > configure:3296: cc -v >&5 > /opt/xt-pe/1.4.48/bin/snos64/cc: INFO: catamount target is being used mpicc > for 1.0.2 > > /usr/bin/ld -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 > /opt/pgi/6.1.4/linux86-64/6.1/lib/pgi.ld -Bstatic -u _start -e _start > -T/opt/xt-pe/1.4.48/lib/cnos64/ldscripts/app.lds > /opt/xt-pe/1.4.48/lib/cnos64/crt0_amd64.o > /opt/xt-pe/1.4.48/lib/cnos64/crtbegin.o /opt/xt-pe/1.4.48/lib/cnos64/cstart.o > -u _sysio_lustre_init --start -L/opt/xt-mpt/1.4.48/mpich2-64/P2/lib > -L/opt/acml/3.0/pgi64/lib -L/opt/xt-libsci/1.4.48/pgi/cnos64/lib > -L/opt/xt-mpt/1.4.48/sma/lib -L/opt/xt-lustre-ss/1.4.48/lib64 > -L/opt/xt-catamount/1.4.48/lib/cnos64 -L/opt/xt-libc/1.4.48/amd64/lib > -L/opt/xt-pe/1.4.48/lib/cnos64 -L/opt/xt-os/1.4.48/lib/cnos64 > -L/opt/xt-service/1.4.48/lib/cnos64 -L/opt/pgi/6.1.4/linux86-64/6.1/lib > -L/opt/gcc/3.2.3/lib/gcc-lib/x86_64-suse-linux/3.2.3/ -lacml -lpgftnrtl -lsci > -lmpich -llustre -lpgc -lm -lcatamount -lsysio -lportals -lC -lc -lgcc --end > -L/opt/xt-pe/1.4.48/lib/cnos64 -lcrtend > /opt/xt-pe/1.4.48/lib/cnos64/cstart.o(.text+0x193f): In function `cstart': > : undefined reference to `main' > pgcc-Fatal-linker completed with exit code 1 > > configure:3299: $? = 2 > configure:3306: cc -V >&5 > /opt/xt-pe/1.4.48/bin/snos64/cc: INFO: catamount target is being used > /usr/bin/ld: cannot find -lpgftnrtl > > pgcc 6.1-4 64-bit target on x86-64 Linux Copyright 1989-2000, The Portland > Group, Inc. All Rights Reserved. > Copyright 2000-2006, STMicroelectronics, Inc. All Rights Reserved. > configure:3309: $? = 2 > configure:3332: checking for C compiler default output file name > configure:3359: cc conftest.c >&5 > /opt/xt-pe/1.4.48/bin/snos64/cc: INFO: catamount target is being used > conftest.c: > configure:3362: $? = 0 > configure:3400: result: a.out > configure:3417: checking whether the C compiler works > configure:3427: ./a.out > ./configure: line 1: 3488 Segmentation fault ./$ac_file > configure:3430: $? = 139 > configure:3439: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > > > > It's saying that the C compiler doesn't yield executable programs. Do you know what is wrong with your C compiler? Thanks, Ed Ticket Details =================== Ticket ID: EGA-907172 Department: Support netCDF Priority: Critical Status: Open