Building fails (on compiling and not linking)
tulip-3.7.0-src/software/crash_handling/CrashHandling.cpp: In function 'void dumpStack(int, siginfo_t*, void*)':
tulip-3.7.0-src/software/crash_handling/CrashHandling.cpp:70: error: 'struct __darwin_x86_thread_state64' has no member named '__eip'
Compiler: i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
ccmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/Applications -DOpenMP_CXX_FLAGS:STRING= -DOpenMP_CXX_FLAGS:STRING= ..
Suggested related info (check it though):
As mentionned by thread
Basically when snow leopard is installed in a machine where the default binaries are
not 64 bit, then the #ifdef was still true because it's snow leopard, but actually
the structure is the 32 bit one. So I added the test for "&& !defined(__i386__) and
now it's working without problems [...]
Log in to post a comment.