Article View: gnu.gcc.help
Article #49408Re: re:re:re Problems with libraries 2.4.5
From: U-E59264-Osman Buyukisik
Date: Wed, 26 Jan 1994 15:26
Date: Wed, 26 Jan 1994 15:26
19 lines
1343 bytes
1343 bytes
>>>>> "Chris" == Chris Metzl <malfador%helios.augustana.edu@c0228.ae.ge.com> writes:
Chris> /*User "gli" is a c programmer. He tried the following
Chris> simple test program that is designed to calculate x raised
Chris> to the power y. */
Chris> gcc power.c -o power
Chris> This is the error message:
Chris> ld: Undefined symbol _pow collect: ld returned 2 exit
Chris> status
Chris> It looks like it can't find the math library. Do you know
Chris> what the problem might be? I haven't done any looking
Just add -lm. Math lib was not searched.
Osman
Technical Details
Message-ID:
<9401261521.AA14791@crdems.ge.com>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ae.ge.COM!buyukisik_osmanReferences:
<malfador.759528899@bradley.bradley.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3a25b8cf8f2856be X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-27 00:51:33 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ae.ge.COM!buyukisik_osman From: buyukisik_osman@ae.ge.COM (U-E59264-Osman Buyukisik) Newsgroups: gnu.gcc.help Subject: Re: re:re:re Problems with libraries 2.4.5 Date: 26 Jan 1994 10:26:33 -0500 Organization: GNUs Not Usenet Lines: 21 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9401261521.AA14791@crdems.ge.com> References: <malfador.759528899@bradley.bradley.edu>