[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