Re: Graphical overview

Gordon Fraser (gordon@freakzone.net)
Fri, 27 Jul 2001 16:22:54 +0200


--ADZbWkCsHQ7r3kzd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
> error is
> data2ps.o: In function `d2p_draw_line':
> /home/ffiene/docs/lgp-2.5.1/data2ps.c:180: undefined reference to=20
> `cos'
> /home/ffiene/docs/lgp-2.5.1/data2ps.c:181: undefined reference to=20
> `sin'
>=20
> The files data2ps.c in both versions have not man different lines of=20
> code, so i didn't find the error.

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

Gordon

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

--ADZbWkCsHQ7r3kzd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7YXk+FgAj91iLfZwRAub6AJ4+0dUVxgXiRBtDCiurqk1wj769iACcD2HJ
ADaM2fiJ1ob76fkaQ+SMIiY=
=lBpa
-----END PGP SIGNATURE-----

--ADZbWkCsHQ7r3kzd--
-
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/