Re: Graphical overview

From: Gordon Fraser (gordon@freakzone.net)
Date: Fri Jul 27 2001 - 09:22:54 EST


Frank Fiene <ffiene@veka.com> [010727 15:37] wrote:
> lgp version 2.4.0a works fine but the latest 2.5.1 does not. Compile
> error is
> data2ps.o: In function `d2p_draw_line':
> /home/ffiene/docs/lgp-2.5.1/data2ps.c:180: undefined reference to
> `cos'
> /home/ffiene/docs/lgp-2.5.1/data2ps.c:181: undefined reference to
> `sin'
>
> The files data2ps.c in both versions have not man different lines of
> code, so i didn't find the error.

Try adding -lm to the CFLAGS in the Makefile, this should do the trick.

Gordon

-- 
+---------------------------------------------------------------------+
| Gordon Fraser            |  * dpkg ponders: 'C++' should have been  |
| gordon@freakzone.net     |  called 'D'                              |
| ICQ: 12413204            |  	-- #Debian                            |
| http://www.freakzone.net |                                          |
+---------------------------------------------------------------------+


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:32 EST