🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: crl.general
Article #4

Re: Problem with C for the mathematical programm

#4
From: Chris Trueman
Date: Thu, 01 Feb 1996 08:32
17 lines
1293 bytes
In article <4epq2e$h4b@crl2.crl.com> sorkin@crl.com "Iouri Sorkine" writes:

>
>I execute "cc name.c" and receive "ld: Undefined symbol
>                                       _cos
>                                       _sin

Try linking the math library with: cc name.c -lm

			- Chris

-============================================================================-
IntelliCorp Applications Consultant / E-mail: truemanc@intellic.demon.co.uk
LiveModel and PowerModel are part   / CServe: 100255,701
of IntelliCorp's MODELWORKS	    / Tel   : +44 (0)1344 305305
application development suite.      / Fax   : +44 (0)1344 305100
-============================================================================-
Technical Details
Message-ID: <823163549snz@intellic.demon.co.uk>
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!intellic.demon.co.uk
References: <4epq2e$h4b@crl2.crl.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!intellic.demon.co.uk
From: Chris Trueman <truemanc@intellic.demon.co.uk>
Newsgroups: crl.general,comp.sys.sun.misc,comp.unix.sys5.misc,comp.lang.c,sci.math
Subject: Re: Problem with C for the mathematical programm
Date: Thu, 01 Feb 96 08:32:29 GMT
Organization: IntelliCorp
Message-ID: <823163549snz@intellic.demon.co.uk>
References: <4epq2e$h4b@crl2.crl.com>
Reply-To: truemanc@intellic.demon.co.uk
X-NNTP-Posting-Host: intellic.demon.co.uk
X-Newsreader: Demon Internet Simple News v1.30
X-Mail2News-Path: intellic.demon.co.uk