🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John O'neill Fri, 22 Jan 1993 01:52
How to load sqrt function with g++
#691
Author: John O'neill
Date: Fri, 22 Jan 1993 01:52
11 lines
733 bytes
I cannot link(load) a program that calls log and sqrt.  I started looking 
at the Normal distribution from libg++ and it calls log and sqrt.

My problem is that I get undefined symbols.  Ive tried:
-lm -lgcc

How do you compile programs with math calls ?
Im running g++ 2.2.(2?) and libg++ 2.2.2 on Decstation 5000/240.

Thanks,
	John O'Neill
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads