diff -ru flash-0.4.10/Lib/shape.cc flash/Lib/shape.cc
--- flash-0.4.10/Lib/shape.cc	2000-06-07 19:11:08.000000000 +0100
+++ flash/Lib/shape.cc	2002-08-06 11:51:59.000000000 +0100
@@ -21,6 +21,7 @@
 //
 
 #include "swf.h"
+#include <math.h>
 
 #ifdef RCSID
 static char *rcsid = "$Id: shape.cc,v 1.5 1999/09/10 13:08:52 ode Exp $";
diff -ru flash-0.4.10/Player/Makefile flash/Player/Makefile
--- flash-0.4.10/Player/Makefile	2000-06-07 19:19:50.000000000 +0100
+++ flash/Player/Makefile	2002-08-06 11:19:36.000000000 +0100
@@ -1,7 +1,7 @@
 FLASH=../Lib
 CPPFLAGS=-I$(FLASH)
 CFLAGS=-O3
-LIBS = $(FLASH)/libflash.a ../Zlib/libz.a ../Jpeg/libjpeg.a -L/usr/X11R6/lib -lX11 -lXext -lm
+LIBS = $(FLASH)/libflash.a ../Zlib/libz.a ../Jpeg/libjpeg.a -L/usr/X11R6/lib -lX11 -lXext -lm -lstdc++
 CC=gcc
 LDFLAGS=
 
diff -ru flash-0.4.10/Plugin/Makefile flash/Plugin/Makefile
--- flash-0.4.10/Plugin/Makefile	1999-09-28 13:13:38.000000000 +0100
+++ flash/Plugin/Makefile	2002-08-06 11:48:51.000000000 +0100
@@ -46,7 +46,7 @@
 default all: $(SHAREDTARGET)
 
 $(SHAREDTARGET): $(OBJ) $(FLASH)/libflash.a
-	$(LD) $(SHARED) -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS)
+	$(LD) $(SHARED) -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS) -lstdc++
 
 plugin.o: $(FLASH)/flash.h
 
