Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ 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.
Add Comment
Please, Sign In to add comment