Ebloom compile error on Mac

Abeming Sf abeming.sf at gmail.com
Wed Jul 14 00:58:34 EDT 2010


I tried to install riak 0.10.1 with erlang R14A installed on Mac but failed
at ebloom compile during make rel.

==> ebloom (compile)
Compiling c_src/ebloom_nifs.cpp
c_src/ebloom_nifs.cpp: In function ‘ERL_NIF_TERM new_filter(ErlNifEnv*, int,
const ERL_NIF_TERM*)’:
c_src/ebloom_nifs.cpp:79: error: cannot convert ‘ErlNifEnv*’ to
‘ErlNifResourceType*’ for argument ‘1’ to ‘void*
enif_alloc_resource(ErlNifResourceType*, size_t)’
/opt/erlang/R14A/lib/erlang/erts-5.8/include/erl_nif_api_funcs.h:104: error:
too many arguments to function ‘void enif_release_resource(void*)’
c_src/ebloom_nifs.cpp:84: error: at this point in file
c_src/ebloom_nifs.cpp: In function ‘int on_load(ErlNifEnv*, void**,
c_src/ebloom_nifs.cpp:247: error: cannot convert ‘void (*)(ErlNifEnv*,
void*)’ to ‘const char*’ for argument ‘3’ to ‘ErlNifResourceType*
enif_open_resource_type(ErlNifEnv*, const char*, const char*, void
(*)(ErlNifEnv*, void*), ErlNifResourceFlags, ErlNifResourceFlags*)’
ERROR: $CXX -c $CXXFLAGS $DRV_CFLAGS c_src/ebloom_nifs.cpp -o
c_src/ebloom_nifs.o failed with error: 1
make: *** [compile] Error 1

Any ideas?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100714/dde54366/attachment.html>

More information about the riak-users mailing list