Subject: MATH.H
To: None <port-mac68k@NetBSD.ORG>
From: Harrison, Shawn <shawn_harrison@tyndale.com>
List: port-mac68k
Date: 09/26/1997 08:47:13
I have recently set MacBSD up on my SE/30, and have begun programming in 
C. For the most part, the system is great and C is great, but I'm having 
a problem with math.h. When I put the following at the beginning of the 
program:

	#include <stdio.h>
	#include <math.h>

The compiler apparently does not include the math functions. When I try 
to use a math function, such as sqrt(), I get a message like the 
following:

	var/tmp/cc0002091.o: Undefined symbol '_sqrt' referenced from text 
segment

Does anyone know why this is happening and what I can do to fix it?

Thanks.

Shawn