Skip to content

I can't compile node.native #36

@danieltoledo

Description

@danieltoledo

Hello everyone!!

I was trying to compile the project but it shows an error that i don't know how to solve. This is the error:

dani@dani-portatil:~/Documentos/node.native$ make
g++ -std=gnu++0x -g -O0 -Ilibuv/include -Ihttp-parser -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o webclient webclient.cpp libuv/libuv.a http-parser/http_parser.o -lrt -lm -lpthread
/tmp/ccouJW7h.o: In function native::base::handle::close(std::function<void ()>)::{lambda(uv_handle_s*)#1}::operator void (*)(uv_handle_s*)() const': /home/dani/Documentos/node.native/./native/handle.h:57: undefined reference tonative::base::handle::close(std::function<void ()>)::{lambda(uv_handle_s_)#1}::FUN(uv_handle_s)'
/tmp/ccouJW7h.o: In function native::base::stream::write(std::string const&, std::function<void (native::error)>)::{lambda(uv_write_s*, int)#1}::operator void (*)(uv_write_s*, int)() const': /home/dani/Documentos/node.native/./native/stream.h:89: undefined reference tonative::base::stream::write(std::string const&, std::function<void (native::error)>)::{lambda(uv_write_s_, int)#1}::FUN(uv_write_s, int)'
/tmp/ccouJW7h.o: In function native::net::tcp::connect(std::string const&, int, std::function<void (native::error)>)::{lambda(uv_connect_s*, int)#1}::operator void (*)(uv_connect_s*, int)() const': /home/dani/Documentos/node.native/./native/tcp.h:58: undefined reference tonative::net::tcp::connect(std::string const&, int, std::function<void (native::error)>)::{lambda(uv_connect_s_, int)#1}::FUN(uv_connect_s, int)'
collect2: error: ld returned 1 exit status
make: *** [webclient] Error 1

what is happening?

Thanks in advance.
Daniel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions