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.
>From: Yurdanur Unal <address@hidden> >Organization: University of Chicago >Keywords: 200110251607.f9PG7a124119 UDUNITS gcc __eprintf Yurdanur, >Library udunits was installed by our system admin. but I am still having >problems with it while compiling a fortran code which reads NCEP/NCAR >reanalysis data. It gives an error message: > >ld32: ERROR 33: Unresolved text symbol "__eprintf" -- 1st referenced by >/opt/lib/libudunits.a(utlib.o). >ld32: INFO 152: Output file removed because of error. > >what might be wrong? This error is most likely telling us that the UDUNITS library was built using gcc. You are most probably building your application using a vendor Fortran compiler, and the linker is not searching needed gcc libraries. It may also be possible that the compiler you are using is not compatible (i.e., can not use) the gcc libraries. >thanks >-yurdanur Tom Yoksas