Created
February 8, 2012 13:04
-
-
Save anandgeorge/1769231 to your computer and use it in GitHub Desktop.
node.native make error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anand@anand-laptop:~/node.native$ make | |
g++ -std=gnu++0x -g -O0 -I/home/anand/libuv/include -I/home/anand/http-parser -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o webclient webclient.cpp /home/anand/libuv/uv.a /home/anand/http-parser/http_parser.o -lrt -lm -lpthread | |
In file included from ./native/native.h:5, | |
from webclient.cpp:4: | |
./native/loop.h: In destructor ‘native::loop::~loop()’: | |
./native/loop.h:21: error: ‘nullptr’ was not declared in this scope | |
In file included from ./native/handle.h:5, | |
from ./native/tcp.h:5, | |
from ./native/native.h:7, | |
from webclient.cpp:4: | |
./native/callback.h: At global scope: | |
./native/callback.h:74: error: ‘nullptr’ was not declared in this scope | |
In file included from ./native/tcp.h:5, | |
from ./native/native.h:7, | |
from webclient.cpp:4: | |
./native/handle.h: In destructor ‘virtual native::base::handle::~handle()’: | |
./native/handle.h:32: error: ‘nullptr’ was not declared in this scope | |
./native/handle.h: In member function ‘void native::base::handle::close(callback_t)’: | |
./native/handle.h:55: error: expected primary-expression before ‘[’ token | |
./native/handle.h:55: error: expected primary-expression before ‘]’ token | |
./native/handle.h:55: error: expected primary-expression before ‘*’ token | |
./native/handle.h:55: error: ‘h’ was not declared in this scope | |
./native/handle.h: In function ‘void native::base::_delete_handle(uv_handle_t*)’: | |
./native/handle.h:79: error: ‘nullptr’ was not declared in this scope | |
In file included from ./native/tcp.h:6, | |
from ./native/native.h:7, | |
from webclient.cpp:4: | |
./native/stream.h: In member function ‘bool native::base::stream::listen(callback_t, int)’: | |
./native/stream.h:28: error: expected primary-expression before ‘[’ token | |
./native/stream.h:28: error: expected primary-expression before ‘]’ token | |
./native/stream.h:28: error: expected primary-expression before ‘*’ token | |
./native/stream.h:28: error: ‘s’ was not declared in this scope | |
./native/stream.h:28: error: expected primary-expression before ‘int’ | |
In file included from ./native/tcp.h:6, | |
from ./native/native.h:7, | |
from webclient.cpp:4: | |
./native/stream.h: In member function ‘bool native::base::stream::read_start(F)’: | |
./native/stream.h:50: error: expected primary-expression before ‘[’ token | |
./native/stream.h:50: error: expected primary-expression before ‘]’ token | |
./native/stream.h:50: error: expected primary-expression before ‘*’ token | |
./native/stream.h:50: error: expected primary-expression before ‘,’ token | |
./native/stream.h:50: error: expected primary-expression before ‘suggested_size’ | |
./native/stream.h:61: error: expected primary-expression before ‘[’ token | |
./native/stream.h:61: error: expected primary-expression before ‘]’ token | |
./native/stream.h:61: error: expected primary-expression before ‘*’ token | |
./native/stream.h:61: error: ‘s’ was not declared in this scope | |
./native/stream.h:61: error: expected primary-expression before ‘nread’ | |
./native/stream.h:61: error: expected primary-expression before ‘buf’ | |
./native/stream.h: In member function ‘bool native::base::stream::write(const char*, int, callback_t)’: | |
./native/stream.h:92: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression | |
./native/stream.h:94: error: expected primary-expression before ‘[’ token | |
./native/stream.h:94: error: expected primary-expression before ‘]’ token | |
./native/stream.h:94: error: expected primary-expression before ‘*’ token | |
./native/stream.h:94: error: ‘req’ was not declared in this scope | |
./native/stream.h:94: error: expected primary-expression before ‘int’ | |
./native/stream.h: In member function ‘bool native::base::stream::write(const std::string&, callback_t)’: | |
./native/stream.h:103: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression | |
./native/stream.h:105: error: expected primary-expression before ‘[’ token | |
./native/stream.h:105: error: expected primary-expression before ‘]’ token | |
./native/stream.h:105: error: expected primary-expression before ‘*’ token | |
./native/stream.h:105: error: ‘req’ was not declared in this scope | |
./native/stream.h:105: error: expected primary-expression before ‘int’ | |
./native/stream.h: In member function ‘bool native::base::stream::write(const std::vector<char, std::allocator<char> >&, callback_t)’: | |
./native/stream.h:114: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression | |
./native/stream.h:116: error: expected primary-expression before ‘[’ token | |
./native/stream.h:116: error: expected primary-expression before ‘]’ token | |
./native/stream.h:116: error: expected primary-expression before ‘*’ token | |
./native/stream.h:116: error: ‘req’ was not declared in this scope | |
./native/stream.h:116: error: expected primary-expression before ‘int’ | |
./native/stream.h: In member function ‘bool native::base::stream::shutdown(callback_t)’: | |
./native/stream.h:126: error: expected primary-expression before ‘[’ token | |
./native/stream.h:126: error: expected primary-expression before ‘]’ token | |
./native/stream.h:126: error: expected primary-expression before ‘*’ token | |
./native/stream.h:126: error: ‘req’ was not declared in this scope | |
./native/stream.h:126: error: expected primary-expression before ‘int’ | |
In file included from ./native/native.h:7, | |
from webclient.cpp:4: | |
./native/tcp.h: In static member function ‘static std::shared_ptr<native::net::tcp> native::net::tcp::create_server(const std::string&, int)’: | |
./native/tcp.h:42: error: ‘nullptr’ was not declared in this scope | |
In file included from ./native/native.h:7, | |
from webclient.cpp:4: | |
./native/tcp.h: In member function ‘bool native::net::tcp::connect(const std::string&, int, callback_t)’: | |
./native/tcp.h:56: error: expected primary-expression before ‘[’ token | |
./native/tcp.h:56: error: expected primary-expression before ‘]’ token | |
./native/tcp.h:56: error: expected primary-expression before ‘*’ token | |
./native/tcp.h:56: error: ‘req’ was not declared in this scope | |
./native/tcp.h:56: error: expected primary-expression before ‘int’ | |
./native/tcp.h: In member function ‘bool native::net::tcp::connect6(const std::string&, int, callback_t)’: | |
./native/tcp.h:66: error: expected primary-expression before ‘[’ token | |
./native/tcp.h:66: error: expected primary-expression before ‘]’ token | |
./native/tcp.h:66: error: expected primary-expression before ‘*’ token | |
./native/tcp.h:66: error: ‘req’ was not declared in this scope | |
./native/tcp.h:66: error: expected primary-expression before ‘int’ | |
In file included from ./native/native.h:8, | |
from webclient.cpp:4: | |
./native/http.h: In member function ‘bool native::http::response::end(const std::string&)’: | |
./native/http.h:160: error: expected initializer before ‘:’ token | |
./native/http.h:165: error: expected ‘)’ before ‘;’ token | |
./native/http.h:168: error: expected primary-expression before ‘[’ token | |
./native/http.h:168: error: expected primary-expression before ‘=’ token | |
./native/http.h:168: error: expected primary-expression before ‘]’ token | |
./native/http.h:168: error: expected primary-expression before ‘e’ | |
./native/http.h: In constructor ‘native::http::client_context::client_context(native::net::tcp*)’: | |
./native/http.h:292: error: ‘nullptr’ was not declared in this scope | |
./native/http.h: In destructor ‘native::http::client_context::~client_context()’: | |
./native/http.h:316: error: ‘nullptr’ was not declared in this scope | |
./native/http.h:322: error: ‘nullptr’ was not declared in this scope | |
./native/http.h:328: error: ‘nullptr’ was not declared in this scope | |
In file included from ./native/native.h:8, | |
from webclient.cpp:4: | |
./native/http.h:334: error: expected primary-expression before ‘[’ token | |
./native/http.h:334: error: expected primary-expression before ‘=’ token | |
./native/http.h:334: error: expected primary-expression before ‘]’ token | |
./native/http.h: In member function ‘bool native::http::client_context::parse(callback_t)’: | |
./native/http.h:354: error: expected primary-expression before ‘[’ token | |
./native/http.h:354: error: expected primary-expression before ‘]’ token | |
./native/http.h:354: error: expected primary-expression before ‘*’ token | |
./native/http.h:354: error: ‘parser’ was not declared in this scope | |
./native/http.h:354: error: expected primary-expression before ‘const’ | |
./native/http.h:354: error: expected primary-expression before ‘len’ | |
./native/http.h:354: error: expected ‘;’ before ‘{’ token | |
./native/http.h:362: error: expected primary-expression before ‘[’ token | |
./native/http.h:362: error: expected primary-expression before ‘]’ token | |
./native/http.h:362: error: expected primary-expression before ‘*’ token | |
./native/http.h:362: error: expected primary-expression before ‘const’ | |
./native/http.h:362: error: expected primary-expression before ‘len’ | |
./native/http.h:362: error: expected ‘;’ before ‘{’ token | |
./native/http.h:425: error: expected ‘}’ at end of input | |
./native/http.h: In destructor ‘virtual native::http::http::~http()’: | |
./native/http.h:456: error: expected primary-expression before ‘[’ token | |
./native/http.h:456: error: expected primary-expression before ‘]’ token | |
./native/http.h: In static member function ‘static std::shared_ptr<native::http::http> native::http::http::create_server(const std::string&, int, callback_t)’: | |
./native/http.h:467: error: ‘nullptr’ was not declared in this scope | |
./native/http.h: In member function ‘bool native::http::http::listen(const std::string&, int, callback_t)’: | |
./native/http.h:475: error: expected primary-expression before ‘[’ token | |
./native/http.h:475: error: expected primary-expression before ‘=’ token | |
./native/http.h:475: error: expected primary-expression before ‘]’ token | |
./native/http.h:475: error: expected primary-expression before ‘e’ | |
In file included from ./native/native.h:9, | |
from webclient.cpp:4: | |
./native/fs.h: In function ‘bool native::fs::open(const char*, int, int, callback_t)’: | |
./native/fs.h:20: error: expected primary-expression before ‘[’ token | |
./native/fs.h:20: error: expected primary-expression before ‘]’ token | |
./native/fs.h:20: error: expected primary-expression before ‘*’ token | |
./native/fs.h: In function ‘bool native::fs::read(native::file, void*, size_t, off_t, callback_t)’: | |
./native/fs.h:44: error: expected primary-expression before ‘[’ token | |
./native/fs.h:44: error: expected primary-expression before ‘]’ token | |
./native/fs.h:44: error: expected primary-expression before ‘*’ token | |
./native/fs.h: In function ‘bool native::fs::mkdir(const char*, int, callback_t)’: | |
./native/fs.h:68: error: expected primary-expression before ‘[’ token | |
./native/fs.h:68: error: expected primary-expression before ‘]’ token | |
./native/fs.h:68: error: expected primary-expression before ‘*’ token | |
webclient.cpp: In function ‘int main()’: | |
webclient.cpp:11: error: expected primary-expression before ‘[’ token | |
webclient.cpp:11: error: expected primary-expression before ‘=’ token | |
webclient.cpp:11: error: expected primary-expression before ‘]’ token | |
webclient.cpp:11: error: expected primary-expression before ‘e’ | |
make: *** [webclient] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment