Re: FVWM: Fw: compilation trouble

From: Ben Winslow <rain_at_bluecherry.net>
Date: 09 Jun 2003 18:14:54 -0400

On Mon, 2003-06-09 at 17:42, mnicolet wrote:
>
> I expect that my subscription is complete when this mail arrives
> I tried to build 4.2.16 on QNX 4.25, with the following configure options
> $
> //1/free/fvwm/fvwm-2.4.16/configure --disable-gnome-hints --disable-shape --
> disable-sm --disable-xinerama --disable-gtk-test
>
> After make started, the compiler stopped on libs/Graphics.c with the
> following errors
>
> Graphics.c(616): Error! E1011: Symbol 'M_PI' has not been declared
> Graphics.c(764): Error! E1011: Symbol 'M_PI_2' has not been declared
> Graphics.c(768): Error! E1011: Symbol 'M_PI' has not been declared
> Graphics.c(773): Error! E1011: Symbol 'M_1_PI' has not been declared
> Graphics.c(799): Error! E1011: Symbol 'M_PI_2' has not been declared
> Graphics.c(803): Error! E1011: Symbol 'M_PI' has not been declared
> Graphics.c(812): Error! E1011: Symbol 'M_1_PI' has not been declared
[snip]

These should be defined in your system's math.h. M_PI is π
(3.14159...), M_PI_2 is π/2, M_1_PI is 1/π. You should be able to
figure out any other constants based on that, should you need to define
them by hand. I'm not sure what calculations pi is used in offhand, but
you should probably use at least 10-20 digits after the decimal point.

-- 
Ben Winslow <rain_at_bluecherry.net>



--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Jun 09 2003 - 17:16:34 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:55 BST