home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-