[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

Steve Emmerson

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

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.