Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Make problems in Snow Leopard #1

jfd opened this Issue · 2 comments

2 participants



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: -> ../build/default/msgpack_1.o
../src/ In function ‘v8::Handle<v8::Value> pack(const v8::Arguments&)’:
../src/ 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/ In function ‘v8::Handle<v8::Value> unpack(const v8::Arguments&)’:
../src/ warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
Waf: Leaving directory
Build failed: -> task failed (err #1):
{task: cxx -> msgpack_1.o}
make: *** [msgpack] Error 1


This is a duplicate of

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.


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.