[ODE] trouble compiling on mandrake 8.1
Bjorn Hansen
bhansen at uvic.ca
Mon Apr 15 15:47:02 2002
Hey, I"m having trouble getting the tests to compile on mandrake linux 8.1 with gcc 3.0.1. I get the same errors with
both the cvs and the 0.03 release. make ode-lib and make drawstuff-lib both seem to compile fine, but ode-test and
drawstuff-test both produce the errors below. Any ideas what my problem might be?
gcc -o ode/test/test_chain2.exe ode/test/test_chain2.o lib/libode.a lib/libdrawstuff.a -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/lib/X11R6 -L/usr/lib/X11 -lX11 -lGL -lGLU -lm
lib/libdrawstuff.a(drawstuff.o): In function `Image::Image(char*)':
drawstuff.o(.text+0x24b): undefined reference to `operator new[](unsigned)'
lib/libdrawstuff.a(drawstuff.o): In function `Image::Image(char*)':
drawstuff.o(.text+0x3eb): undefined reference to `operator new[](unsigned)'
lib/libdrawstuff.a(drawstuff.o): In function `Texture::Texture(char*)':
drawstuff.o(.text+0x50c): undefined reference to `operator new(unsigned)'
lib/libdrawstuff.a(drawstuff.o): In function `Texture::Texture(char*)':
drawstuff.o(.text+0x63c): undefined reference to `operator new(unsigned)'
lib/libdrawstuff.a(drawstuff.o): In function `Texture::~Texture()':
drawstuff.o(.text+0x77a): undefined reference to `operator delete(void*)'
lib/libdrawstuff.a(drawstuff.o): In function `Texture::~Texture()':
drawstuff.o(.text+0x7ba): undefined reference to `operator delete(void*)'
lib/libdrawstuff.a(drawstuff.o): In function `dsStartGraphics(int, int, dsFunctions*)':
drawstuff.o(.text+0x1f23): undefined reference to `operator new(unsigned)'
drawstuff.o(.text+0x1f56): undefined reference to `operator new(unsigned)'
drawstuff.o(.text+0x1f89): undefined reference to `operator new(unsigned)'
lib/libdrawstuff.a(drawstuff.o): In function `dsStopGraphics()':
drawstuff.o(.text+0x1fca): undefined reference to `operator delete(void*)'
drawstuff.o(.text+0x1fe8): undefined reference to `operator delete(void*)'
drawstuff.o(.text+0x2006): undefined reference to `operator delete(void*)'
lib/libdrawstuff.a(drawstuff.o): In function `Image::~Image()':
drawstuff.o(.text+0x4b6): undefined reference to `operator delete[](void*)'
lib/libdrawstuff.a(drawstuff.o): In function `Image::~Image()':
drawstuff.o(.text+0x4e6): undefined reference to `operator delete[](void*)'
collect2: ld returned 1 exit status
make: *** [ode/test/test_chain2.exe] Error 1