Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[UDUNITS #PPR-301422]: Help,how to install install UDUNITS



Dear Liu Guangping,

> I konow i should not bother you.This is not your work.
> However,i don't konw how to settle the problem as following:
> 
> usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib/libfrtbegin.a(frtbegin.o): In function `main':(.text+0x35): undefined reference to `MAIN__'collect2: ld returned 1 exit status
> 
> when i compile the readgeneral.F.

The error message indicates that the linker couldn't find the symbol
MAIN__ when it tried to link the program together.

What was the link command?

You can try to find the symbol by using the nm(1) utility on the
system libraries.  For example

nm -g /usr/lib/lib*.a | grep MAIN__

This might tell you how the link command must be modified in order to
find the symbol.

> Thank you very much! Hoping to hear from you soon.
> Wish best regards!
> Yours respectfully,
> Liu Guangping
> _________________________________________________________________
> MSN äæçïæææåçæèèïçéèééæã
> http://cn.msn.com


Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: PPR-301422
Department: Support UDUNITS
Priority: Normal
Status: Closed


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690