[Met_help] [rt.rap.ucar.edu #43124] History for Can not find -lm
RAL HelpDesk {for Paul Oldenburg}
met_help at ucar.edu
Wed Jan 5 08:16:09 MST 2011
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hello,
I am trying to compile MET using intel compilers. It stopped at pcp_combine with following message:
ld: cannot find -lm
make[3]: *** [pcp_combine] Error 1
make[2]: *** [all] Error 2
make[1]: *** [targets] Error 2
make: *** [all] Error 2
I thought -lm is directive to using libm, was that correct?
Could you pls give me hints to resolve this? Thanks
Mahally
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #43124] Can not find -lm
From: Paul Oldenburg
Time: Mon Jan 03 08:43:43 2011
Mahally,
Can you please send us a copy of your Makefile and make log? It
appears that your compiler cannot find the system
library libm.a, which is a math library. A couple common causes for
this error are using a c compiler instead of a c++
compiler or an incorrectly configured c++ compiler. Please verify
that you are using a c++ compiler and that it is
configured correctly and has access to the system libraries.
Also, you may find the compilation section of the online tutorial
helpful:
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/index.php
Please let me know if you have any questions.
Thanks,
Paul
On 12/30/2010 01:03 AM, RAL HelpDesk {for Mahally Kudsy} wrote:
>
> Thu Dec 30 01:03:37 2010: Request 43124 was acted upon.
> Transaction: Ticket created by m_kudsy at yahoo.com
> Queue: met_help
> Subject: Can not find -lm
> Owner: Nobody
> Requestors: m_kudsy at yahoo.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43124 >
>
>
> Hello,
> I am trying to compile MET using intel compilers. It stopped at
pcp_combine with following message:
>
> ld: cannot find -lm
> make[3]: *** [pcp_combine] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>
> I thought -lm is directive to using libm, was that correct?
>
> Could you pls give me hints to resolve this? Thanks
>
> Mahally
>
>
>
>
>
------------------------------------------------
Subject: Can not find -lm
From: Mahally Kudsy
Time: Tue Jan 04 20:03:50 2011
Thank you very much, it has been resolved now, after changing the
compiler from gcc to g++.
Regards,
Mahally
--- On Mon, 1/3/11, RAL HelpDesk {for Paul Oldenburg}
<met_help at ucar.edu> wrote:
From: RAL HelpDesk {for Paul Oldenburg} <met_help at ucar.edu>
Subject: Re: [rt.rap.ucar.edu #43124] Can not find -lm
To: m_kudsy at yahoo.com
Date: Monday, January 3, 2011, 10:43 PM
Mahally,
Can you please send us a copy of your Makefile and make log? It
appears that your compiler cannot find the system
library libm.a, which is a math library. A couple common causes for
this error are using a c compiler instead of a c++
compiler or an incorrectly configured c++ compiler. Please verify
that you are using a c++ compiler and that it is
configured correctly and has access to the system libraries.
Also, you may find the compilation section of the online tutorial
helpful:
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/index.php
Please let me know if you have any questions.
Thanks,
Paul
On 12/30/2010 01:03 AM, RAL HelpDesk {for Mahally Kudsy} wrote:
>
> Thu Dec 30 01:03:37 2010: Request 43124 was acted upon.
> Transaction: Ticket created by m_kudsy at yahoo.com
> Queue: met_help
> Subject: Can not find -lm
> Owner: Nobody
> Requestors: m_kudsy at yahoo.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=43124 >
>
>
> Hello,
> I am trying to compile MET using intel compilers. It stopped at
pcp_combine with following message:
>
> ld: cannot find -lm
> make[3]: *** [pcp_combine] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [targets] Error 2
> make: *** [all] Error 2
>
> I thought -lm is directive to using libm, was that correct?
>
> Could you pls give me hints to resolve this? Thanks
>
> Mahally
>
>
>
>
>
------------------------------------------------
More information about the Met_help
mailing list