1. OS: Ubuntu 10.10 (daily build -- today)
   2. 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_resource_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
‘enif_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_open_resource_type’
c_src/skerl_nifs.c: In function ‘skein_init’:
c_src/skerl_nifs.c:45: warning: passing argument 1 of ‘enif_alloc_resource’
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_resource’
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_alloc_resource’
c_src/skerl_nifs.c:49: error: too many arguments to function
‘enif_release_resource’
c_src/skerl_nifs.c:52: error: too many arguments to function
‘enif_release_resource’
c_src/skerl_nifs.c: In function ‘skein_final’:
c_src/skerl_nifs.c:78: warning: passing argument 1 of ‘enif_alloc_binary’
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_binary’
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_alloc_binary’
c_src/skerl_nifs.c: In function ‘skein_hash’:
c_src/skerl_nifs.c:95: warning: passing argument 1 of ‘enif_alloc_binary’
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_binary’
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_alloc_binary’
ERROR: $CC -c $CFLAGS $DRV_CFLAGS c_src/skerl_nifs.c -o c_src/skerl_nifs.o
failed with error: 1
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to