compiling-macosx.rtf is currently deprecated, the author of this document told me that new version is coming, I do not know the exact date though. This document is for earlier versions of Odejava.
But… if you got ODE compiled properly then the rest should go fine. Please check file:
odejava/odejava/compile/compiling-gcc.txt
Especially the last g++ line that links odejava library, you are missing some objects from your link command (TriMesh objects). On compiling-gcc.txt last line has all objects explicitly added as parameters to the linker. This command was used to compile linux library for current Odejava.
For last resort, here’s an extract from my mac friend’s mail:
c++ -bundle -I/System/Library/Frameworks/JavaVM.framework/Headers -DHAVE_STRSTREAM -o libjavaode.jnilib -framework JavaVM -I include net/java/dev/odejava/ode/odejava.cpp net/java/dev/odejava/ode/odejava_wrap.cxx ode/src/array.o ode/src/error.o ode/src/memory.o ode/src/obstack.o ode/src/odemath.o ode/src/matrix.o ode/src/misc.o ode/src/rotation.o ode/src/mass.o ode/src/ode.o ode/src/step.o ode/src/stepfast.o ode/src/lcp.o ode/src/joint.o ode/src/timer.o ode/src/mat.o ode/src/testing.o ode/src/collision_kernel.o ode/src/collision_util.o ode/src/collision_std.o ode/src/collision_space.o ode/src/collision_transform.o ode/src/collision_quadtreespace.o ode/src/collision_trimesh.o ode/src/collision_trimesh_sphere.o ode/src/collision_trimesh_box.o ode/src/collision_trimesh_ray.o ode/src/fastldlt.o ode/src/fastlsolve.o ode/src/fastltsolve.o ode/src/fastdot.o OPCODE/.o OPCODE/Ice/.o
Above was used to link earlier Odejava versions (not current cvs head!), you can use the same syntax but check the objects that you give to this as parameters.
And, if you get the library compiled, send it to me by email and I’ll add it to the CVS. Even better if you can give describe the process you used to compile ODE and Odejava, I’ll add also that to the CVS.
Let me know if this does not work, I’ll ask better instructions from my MacOS friends, Jani.