Tip should now compile for R14B. As Dan noted, however, we do not
officially support R14B yet.

Thanks,

D.

On Thu, Sep 23, 2010 at 11:12 PM, Dan Reverri <[email protected]> wrote:
> Riak does not yet support Erlang R14B; you should build Riak using Erlang
> R13B04. Support for R14 will be added in a future release of Riak.
> Daniel Reverri
> Developer Advocate
> Basho Technologies, Inc.
> [email protected]
>
>
> On Thu, Sep 23, 2010 at 4:56 PM, 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