i just tried to make with R14B and 0.12 on OSX 10.6.4 and also have an error 
appearing.

When I run: 

        make rel

I get:

        src/riak_core_util.erl:130: Warning: ambiguous call of overridden 
auto-imported BIF integer_to_list/2
- use erlang:integer_to_list/2 or 
"-compile({no_auto_import,[integer_to_list/2]})." to resolve name clash
make: *** [rel] Error 1


On 24/09/2010, at 11:55 AM, Alexander Sicular wrote:

> 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_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
>> 
>> 
>> 
>> 
>> -- 
>> 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

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

Reply via email to