Hi,

We've got quite the same error with FreeBSD support. Attached patch
should fix this issue.

If it will still fail, would be helpful to have config.h generated by
configure script of glog itself (which can be found here
http://code.google.com/p/google-glog/). But if proposed patch will
work fine, it can be commited to trunk.

--
With best regards, Sergey Sharybin
Index: extern/libmv/third_party/glog/src/config_linux.h
===================================================================
--- extern/libmv/third_party/glog/src/config_linux.h	(revision 43691)
+++ extern/libmv/third_party/glog/src/config_linux.h	(working copy)
@@ -133,6 +133,8 @@
 /* How to access the PC from a struct ucontext */
 #if defined(_M_X64) || defined(__amd64__) || defined(__x86_64__)
   #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_RIP]
+#elif defined(IA64)
+  #undef PC_FROM_UCONTEXT
 #else
   #define PC_FROM_UCONTEXT uc_mcontext.gregs[REG_EIP]
 #endif

Reply via email to