Skip to content

Instantly share code, notes, and snippets.

@jbr
Created May 26, 2010 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbr/413935 to your computer and use it in GitHub Desktop.
Save jbr/413935 to your computer and use it in GitHub Desktop.
$ scons libxmljs.node
scons: Reading SConscript files ...
Checking for node.js ...(cached) yes
True
Checking for C++ library xml2... (cached) yes
Checking for node.js ...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/xml_document.os -c -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DEV_MULTIPLICITY=0 -DHAVE_CONFIG_H=1 -pthread -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPLATFORM=linux2 -DNDEBUG -g -O3 -I/usr/local/include/node -fPIC src/xml_document.cc
g++ -o src/xml_element.os -c -I/opt/local/include -I/opt/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/include -I/usr/include/libxml2 -rdynamic -D_GNU_SOURCE -DEV_MULTIPLICITY=0 -DHAVE_CONFIG_H=1 -pthread -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPLATFORM=linux2 -DNDEBUG -g -O3 -I/usr/local/include/node -fPIC src/xml_element.cc
src/xml_element.cc: In static member function 'static v8::Handle<v8::Value> libxmljs::XmlElement::New(const v8::Arguments&)':
src/xml_element.cc:30: error: 'strdup' was not declared in this scope
scons: *** [src/xml_element.os] Error 1
scons: building terminated because of errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment