oct-mutex.cc

Thomas Treichl Thomas.Treichl at gmx.net
Mon Jul 21 14:17:18 CDT 2008


Hi,

I've got a linker problem on MacOSX with the current default-branch snapshot

   ld: Undefined symbols:
   __Z5errorPKcz
   /usr/bin/libtool: internal link edit command failed
   make[2]: *** [liboctave.dylib] Error 1
   make[1]: *** [liboctave] Error 2
   make: *** [all] Error 2
   selfupdate.sh: Building Octave.app has failed !!!

   bash:$ grep -re "__Z5errorPKcz" *
   Binary file liboctave/pic/oct-mutex.o matches

I've commented out the three lines in oct-mutex.cc:

   //#include "error.h"
   //  error ("mutex not supported on this platform");
   //  error ("mutex not supported on this platform");

then I was able to link liboctave.dylib. I don't know how to fix this problem.

Regards,

   Thomas


More information about the Bug-octave mailing list