Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Make problems in Snow Leopard #1

Closed
jfd opened this Issue · 2 comments

2 participants

@jfd

Hi,

I get the following error when trying to build msgpack in Snow Leopard:

[jfd@RevF node-msgpack(master)]$ make CC=gcc-4.2 CXX=gcc-4.2
cd src && \
node-waf configure && \
node-waf build
Checking for program g++ or c++ : gcc-4.2
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok

Checking for node prefix : ok /usr/local
'configure' finished successfully (0.039s)
Waf: Entering directory /Users/jfd/checkouts/node-msgpack/build'
[1/2] cxx: msgpack.cc -> ../build/default/msgpack_1.o
../src/msgpack.cc: In function ‘v8::Handle<v8::Value> pack(const v8::Arguments&)’:
../src/msgpack.cc:205: error: no matching function for call to ‘node::Buffer::New(size_t&)’
/usr/local/include/node/node_buffer.h:51: note: candidates are: static v8::Handle<v8::Value> node::Buffer::New(const v8::Arguments&)
../src/msgpack.cc: In function ‘v8::Handle<v8::Value> unpack(const v8::Arguments&)’:
../src/msgpack.cc:237: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
Waf: Leaving directory
/Users/jfd/checkouts/node-msgpack/build'
Build failed: -> task failed (err #1):
{task: cxx msgpack.cc -> msgpack_1.o}
make: *** [msgpack] Error 1

@pgriess
Owner

This is a duplicate of http://github.com/pgriess/node-msgpack/issues/2.

You will need to build this against the latest bits in ry/node/master. It does not build against the most-recently release of node.

@jfd

Works with node HEAD, thanks

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.