Didn't get a chancr to debug but I can also say that tip is not building w 14b (update from brew) on osx leopard. Nevertheless, keeping your old(er) riak build around works just fine due to the self contained bundling which bundles the erlang it was built against.

@siculars on twitter
http://siculars.posterous.com

Sent from my iPhone

On Sep 23, 2010, at 19:56, Senthilkumar Peelikkampatti <[email protected] > wrote:

I also found same issue with OS X snow leopard/R14B

On Thu, Sep 23, 2010 at 6:52 PM, Senthilkumar Peelikkampatti <[email protected] > wrote:
OS: Ubuntu 10.10 (daily build -- today)
Erlang - R14B build from source -- hipe + ssl + smp + kernel poll
This is error log

Compiling c_src/skerl_nifs.c
c_src/skerl_nifs.c: In function ‘load’:
c_src/skerl_nifs.c:34: warning: passing argument 4 of ‘enif_open_res ource_type’ makes pointer from integer without a cast /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:102: note: expected ‘void (*)(struct ErlNifEnv *, void *)’ but argument is of type ‘int’ c_src/skerl_nifs.c:34: error: incompatible type for argument 5 of ‘e nif_open_resource_type’ /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:102: note: expected ‘ErlNifResourceFlags’ but argument is of type ‘void *’ c_src/skerl_nifs.c:34: error: too few arguments to function ‘enif_op en_resource_type’
c_src/skerl_nifs.c: In function ‘skein_init’:
c_src/skerl_nifs.c:45: warning: passing argument 1 of ‘enif_alloc_re source’ from incompatible pointer type /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:103: note: expected ‘struct ErlNifResourceType *’ but argument is of type ‘struct ErlNifEnv *’ c_src/skerl_nifs.c:45: warning: passing argument 2 of ‘enif_alloc_re source’ makes integer from pointer without a cast /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:103: note: expected ‘size_t’ but argument is of type ‘struct ErlNifResourceType *’ c_src/skerl_nifs.c:45: error: too many arguments to function ‘enif_a lloc_resource’ c_src/skerl_nifs.c:49: error: too many arguments to function ‘enif_r elease_resource’ c_src/skerl_nifs.c:52: error: too many arguments to function ‘enif_r elease_resource’
c_src/skerl_nifs.c: In function ‘skein_final’:
c_src/skerl_nifs.c:78: warning: passing argument 1 of ‘enif_alloc_bi nary’ makes integer from pointer without a cast /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:32: note: expected ‘size_t’ but argument is of type ‘struct ErlNifEnv *’ c_src/skerl_nifs.c:78: warning: passing argument 2 of ‘enif_alloc_bi nary’ makes pointer from integer without a cast /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:32: note: expected ‘struct ErlNifBinary *’ but argument is of type ‘long unsigned int’ c_src/skerl_nifs.c:78: error: too many arguments to function ‘enif_a lloc_binary’
c_src/skerl_nifs.c: In function ‘skein_hash’:
c_src/skerl_nifs.c:95: warning: passing argument 1 of ‘enif_alloc_bi nary’ makes integer from pointer without a cast /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:32: note: expected ‘size_t’ but argument is of type ‘struct ErlNifEnv *’ c_src/skerl_nifs.c:95: warning: passing argument 2 of ‘enif_alloc_bi nary’ makes pointer from integer without a cast /usr/local/lib/erlang/erts-5.8.1/include/erl_nif_api_funcs.h:32: note: expected ‘struct ErlNifBinary *’ but argument is of type ‘long unsigned int’ c_src/skerl_nifs.c:95: error: too many arguments to function ‘enif_a lloc_binary’ ERROR: $CC -c $CFLAGS $DRV_CFLAGS c_src/skerl_nifs.c -o c_src/ skerl_nifs.o failed with error: 1




--
Regards,
Senthilkumar Peelikkampatti,
http://pmsenthilkumar.blogspot.com/

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to