make error installing on Mac OSX Yosemite
bigtunacan opened this issue · comments
First I got the VEX error that I have seen others post. I got through that by cloning the vex repo here;
https://github.com/fredericgermain/vex
But then when I run make
that errors out instead with the following.
In file included from ../include/pub_tool_clientstate.h:35: [229/1550]
../include/pub_tool_xarray.h:57:59: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
^~~~~
In file included from m_addrinfo.c:33:
./pub_core_clientstate.h:46:8: error: unknown type name 'Addr'
extern Addr VG_(clstk_start_base); // *Initial* lowest byte address
^
./pub_core_clientstate.h:47:8: error: unknown type name 'Addr'
extern Addr VG_(clstk_end); // Highest byte address
^
./pub_core_clientstate.h:54:8: error: unknown type name 'Addr'
extern Addr VG_(brk_base); // start of brk
^
./pub_core_clientstate.h:55:8: error: unknown type name 'Addr'
extern Addr VG_(brk_limit); // current brk
^
./pub_core_clientstate.h:88:8: error: unknown type name 'Addr'
extern Addr VG_(client___libc_freeres_wrapper);
^
./pub_core_clientstate.h:94:8: error: unknown type name 'Addr'
extern Addr VG_(client__dl_sysinfo_int80);
^
./pub_core_clientstate.h:113:8: error: unknown type name 'SizeT'; did you mean 'SSizeT'?
extern SizeT* VG_(client__stack_cache_actsize__addr);
^~~~~
SSizeT
../include/pub_tool_basics.h:91:31: note: 'SSizeT' declared here
typedef Word SSizeT; // 32 64
^
In file included from m_addrinfo.c:35:
In file included from ./pub_core_libcbase.h:40:
../include/pub_tool_libcbase.h:82:8: error: unknown type name 'SizeT'; did you mean 'SSizeT'?
extern SizeT VG_(strlen) ( const HChar* str );
^~~~~
SSizeT
../include/pub_tool_basics.h:91:31: note: 'SSizeT' declared here
typedef Word SSizeT; // 32 64
^
In file included from m_addrinfo.c:35:
In file included from ./pub_core_libcbase.h:40:
../include/pub_tool_libcbase.h:84:68: error: unknown type name 'SizeT'; did you mean 'SSizeT'?
extern HChar* VG_(strncat) ( HChar* dest, const HChar* src, SizeT n );
^~~~~
SSizeT
../include/pub_tool_basics.h:91:31: note: 'SSizeT' declared here
typedef Word SSizeT; // 32 64
^
In file included from m_addrinfo.c:35:
In file included from ./pub_core_libcbase.h:40:
../include/pub_tool_libcbase.h:87:68: error: unknown type name 'SizeT'; did you mean 'SSizeT'?
extern HChar* VG_(strncpy) ( HChar* dest, const HChar* src, SizeT ndest );
I also tried clearing out the vex fork listed in my original post and cloning from here instead https://github.com/svn2github/valgrind-vex, but this resulted in the following (albeit distinct) error output.
_main.o -MD -MP -MF .deps/libcoregrind_amd64_darwin_a-m_main.Tpo -c -o libcoregrind_amd64_darwin_a-m_main.o `test -f 'm_main.c' || echo './'`m_main.c
m_main.c:567:31: error: no member named 'iropt_register_updates' in 'VexControl'
VG_(clo_vex_control).iropt_register_updates
~~~~~~~~~~~~~~~~~~~~ ^
m_main.c:692:45: error: no member named 'iropt_register_updates' in 'VexControl'
VG_(clo_vex_control).iropt_register_updates,
~~~~~~~~~~~~~~~~~~~~ ^
../include/pub_tool_options.h:169:8: note: expanded from macro 'VG_XACT_CLO'
(qq_var) = (qq_val); \
^
m_main.c:696:45: error: no member named 'iropt_register_updates' in 'VexControl'
VG_(clo_vex_control).iropt_register_updates,
~~~~~~~~~~~~~~~~~~~~ ^
../include/pub_tool_options.h:169:8: note: expanded from macro 'VG_XACT_CLO'
(qq_var) = (qq_val); \
^
m_main.c:700:45: error: no member named 'iropt_register_updates' in 'VexControl'
VG_(clo_vex_control).iropt_register_updates,
~~~~~~~~~~~~~~~~~~~~ ^
../include/pub_tool_options.h:169:8: note: expanded from macro 'VG_XACT_CLO'
(qq_var) = (qq_val); \
^
m_main.c:704:45: error: no member named 'iropt_register_updates' in 'VexControl'
VG_(clo_vex_control).iropt_register_updates,
~~~~~~~~~~~~~~~~~~~~ ^
../include/pub_tool_options.h:169:8: note: expanded from macro 'VG_XACT_CLO'
(qq_var) = (qq_val); \
^
5 errors generated.
make[3]: *** [libcoregrind_amd64_darwin_a-m_main.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2