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 | | +---------------------------------------------------------------------+
This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:32 EST