🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42489

unresolved symbols

#42489
From: Richard J. Buchman
Date: Wed, 06 Dec 1995 00:00
13 lines
971 bytes
I am using DEC Unix OSF/1 3.2b and gcc 2.7.2 to program a simple  math
problem.  i include <math.h> in the program but when i compile it i
get an error when it tries to link the binary.  the problme is that it
cannot resolve sin, cos, pow, sqrt.  am i missing something?? the
program compiles fine on the ps using turbo c.
  we recently upgraded to gcc 2.7.2 from 2.7.0 thinking that perhaps
there was a problem with the libraries but i only get the problem with
math.h.

any help will be greatly appreciated...

rich
rbuchman@netcom.com
Technical Details
Message-ID: <rbuchmanDJ5I3w.463@netcom.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b66ab31328ff09
X-Google-Attributes: gid11318c,public
From: rbuchman@netcom.com (Richard J. Buchman)
Subject: unresolved symbols
Date: 1995/12/06
Message-ID: <rbuchmanDJ5I3w.463@netcom.com>
X-Deja-AN: 121175720
sender: rbuchman@netcom2.netcom.com
organization: NETCOM On-line Communication Services (408 261-4700 guest)
newsgroups: gnu.gcc.help