[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[UDUNITS #PPR-301422]: Help,how to install install UDUNITS
- To: lgp_cn@xxxxxxxxxxx
- Subject: [UDUNITS #PPR-301422]: Help,how to install install UDUNITS
- From: "Unidata UDUNITS Support" <support-udunits@xxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jun 2008 09:34:08 -0600
- Delivered-to: support-udunits@unidata.ucar.edu by laraine.unidata.ucar.edu (Postfix) with ESMTP id F1433CB1A2; Thu, 26 Jun 2008 09:34:08 -0600 (MDT) id BAF12D4FBA; Thu, 26 Jun 2008 09:34:08 -0600 (MDT)
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