Re: compiling under RH7.1

Search this archive.

From: Jay Link (jlink@ilbbs.com)
Date: Tue 03 Jul 2001 - 16:25:01 IDT


Regardless of "why", have you tried using the command line flag of -lm ?

> I have a working program working with RH 6.2. I now try to compile the
> same program with RH 7.1 and it seems that the math lib is not included.
> The linker is not able to find functions like sin, cos, tan, log, pow
> etc.
> I use svgalib 1.4.3 and use the following command line:
> cc disp.c -o disp -lvgagl -lvga
>
> Anyone who can explain why these functions are not linked in.


------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST