[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #WAD-188926]: Problems compiling netcdf on Mac OS X with PGI
- Subject: [netCDF #WAD-188926]: Problems compiling netcdf on Mac OS X with PGI
- Date: Thu, 25 Sep 2008 13:12:33 -0600
Howdy Andrew,
From your configure file:
configure:24083: pgf95 -o conftest -g conftestf.o conftest.o
ld: warning in conftest.o, file is not of required architecture
Undefined symbols:
"_sub_", referenced from:
_MAIN_ in conftestf.o
Looks like your computer is confused about whether it should produce 32 bit of
64 bit code. If you are using 32-bit fortran, and the GNU C compiler, you must
set CFLAGS to -m32 to make gcc produce 32-bit code.
(Do the same to CXXFLAGS if you want the C++ API).
Please let me know if this doesn't help.
Thanks,
Ed
Ticket Details
===================
Ticket ID: WAD-188926
Department: Support netCDF
Priority: Normal
Status: Closed