[ODE] OSX compile problems...

orange144 orange144 at libertysurf.fr
Thu Jan 9 15:23:01 2003


--Apple-Mail-2--580799511
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

hello everyone,

I'm trying t build ode on macosx 10.2.3, with the X11 lib beta (the one 
apple provided two days ago).

i've had to tune the makefile to use the X11 libraries and includes, 
but i managed to compile ode and drawstuff
( i mean, "make ode-lib" and "make drawstuff-lib")
but when i try to compile the ode-test and drawstuff-test, i get

ld: archive: lib/libode.a has no table of contents,
add one with ranlib(1) (can't load from it)

plus the same message for lib/libdrawstuff.a

ok never mind, let's do some ranlib
(i read the previous discussion on this board here: 
<http://q12.org/pipermail/ode/2002-November/002338.html> )

and when i re-make, here is what i get then:

109 [23:18:29] ~/Desktop/ode-0.03 > make ode-test
gcc -o ode/test/test_chain2.exe ode/test/test_chain2.o lib/libode.a 
lib/libdrawstuff.a  -L/usr/X11R6/lib -lX11 -lGL -lGLU -lm
ld: Undefined symbols:
operator delete[](void*)
operator delete(void*)
operator new[](unsigned long)
operator new(unsigned long)
make: *** [ode/test/test_chain2.exe] Error 1

something's missing, huh? i guess it may be a problem related to X11 
more than ode, but if someone has an idea, it will be very appreciated.

thanks

nico

--
Two wrongs don't make a right. But three left do.
--Apple-Mail-2--580799511
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

hello everyone,


I'm trying t build ode on macosx 10.2.3, with the X11 lib beta (the
one apple provided two days ago).


i've had to tune the makefile to use the X11 libraries and includes,
but i managed to compile ode and drawstuff

( i mean, "make ode-lib" and "make drawstuff-lib")

but when i try to compile the ode-test and drawstuff-test, i get


ld: archive: lib/libode.a has no table of contents, 

add one with ranlib(1) (can't load from it)


plus the same message for lib/libdrawstuff.a


ok never mind, let's do some ranlib 

(i read the previous discussion on this board here:
<<http://q12.org/pipermail/ode/2002-November/002338.html> )


and when i re-make, here is what i get then:


109 [23:18:29] ~/Desktop/ode-0.03 > make ode-test

gcc -o ode/test/test_chain2.exe ode/test/test_chain2.o lib/libode.a
lib/libdrawstuff.a  -L/usr/X11R6/lib -lX11 -lGL -lGLU -lm

ld: Undefined symbols:

operator delete[](void*)

operator delete(void*)

operator new[](unsigned long)

operator new(unsigned long)

make: *** [ode/test/test_chain2.exe] Error 1


something's missing, huh? i guess it may be a problem related to X11
more than ode, but if someone has an idea, it will be very appreciated.


thanks


nico

<italic>

--

Two wrongs don't make a right. But three left do.</italic>
--Apple-Mail-2--580799511--