🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42038

Re: gcc compiler/linker question

#42038
From: Paul D. Smith
Date: Wed, 17 Jan 1996 00:00
12 lines
1289 bytes
You didn't provide the command line used to invoke GCC so I can't be
sure, but I'm assuming you forgot to link with the math library.

Add -lm to your link line.
-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 Senior Software Engineer                                   Bay Networks, Inc.
-----------------------------------------------==<http://www.baynetworks.com/>-
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
     These are my opinions--Bay Networks takes no responsibility for them.
Technical Details
Message-ID: <p5ag3nnsyx.fsf@lemming.wellfleet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <9601170739.AA21890@saluki-mail.fiber2.siu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e36285420ed23a4f,start
X-Google-Attributes: gid11318c,public
From: psmith@lemming.wellfleet.com (Paul D. Smith)
Subject: Re: gcc compiler/linker question
Date: 1996/01/17
Message-ID: <p5ag3nnsyx.fsf@lemming.wellfleet.com>
X-Deja-AN: 135638732
distribution: gnu
sender: psmith@lemming.wellfleet.com
references: <9601170739.AA21890@saluki-mail.fiber2.siu.edu>
to: lanx@siu.EDU
organization: Bay Networks, Inc., Billerica, MA
reply-to: psmith@wellfleet.com
newsgroups: gnu.gcc.help