It wasn't a link error, it was a compile error (cos function not defined). And I grepped in /usr/include. But I see it's in that bits/ subdirectory. Now I'll have to see why including as it already did, was not enough. On Wed, Jul 11, 2001 at 10:41:03PM -0700, Bob wrote: > I believe cos is defined in mathcalss.h which is included by math.h. > > If you are having difficulty linking, make sure you use -lm on your gcc > command line to link to the math library. -- _______ Shawn T. Rutledge / KB7PWD ecloud@bigfoot.com (_ | |_) http://www.bigfoot.com/~ecloud kb7pwd@kb7pwd.ampr.org __) | | \________________________________________________________________