🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #666

using MATH.H PROBLEM with ld (g++ obj file)

#666
From: Furqan Khan
Date: Thu, 07 Jan 1993 03:04
21 lines
907 bytes
Hello folks,

	I am having a problem using the floor() or ceil()
	function with g++. My make is as follows:

g++  -ggdb-I/usr/local/lib/g++-include-I/home/users/fmk10/development/oops/rpi rpi.cc -static -L/usr/local/lib -lg++ -o rpi
Undefined
_floor
collect: /usr/bin/ld returned 2 exit status
*** Error code 1
make: Fatal error: Command failed for target `rpi'

	ld cant find _floor. This might be a bug or I should
	be using gld to link.

	Please repond with some solutions.


Thanks in advance.

Furqan Khan
Technical Details
Message-ID: <basS02Ke30U201@JUTS.ccc.amdahl.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!JUTS!campbell!fmk10

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!JUTS!campbell!fmk10
From: fmk10@amail.amdahl.com (Furqan Khan)
Newsgroups: gnu.g++.help
Subject: using MATH.H PROBLEM with ld (g++ obj file)
Message-ID: <basS02Ke30U201@JUTS.ccc.amdahl.com>
Date: 7 Jan 93 03:04:32 GMT
Sender: netnews@ccc.amdahl.com
Reply-To: fmk10@amail.amdahl.com
Organization: Amdahl Corp.
Lines: 21