Hello! Have you tried creating an issue in that github repo?
We are not really maintaining it. Cheers, Fedor. On Wed, Apr 30, 2014 at 2:23 PM, Pedro Girão <[email protected]>wrote: > Hello all, > > I am trying to compile some libuv examples, and i get undefined reference > errors in all of them. In particular in 05-tcp-echo-server i get the > following output: > > find . -name "*.gc*" -exec rm {} \; > rm -rf `find . -name "*.dSYM" -print` > rm -f main main.o > cc -g -O2 -Wall > -I/home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/../libuv/include/ > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/../libuv/out/Debug/libuv.a > main.c -o main > main.c: In function ‘read_cb’: > main.c:47:8: warning: unused variable ‘readp’ [-Wunused-variable] > /tmp/ccEhPGtr.o: In function `read_cb': > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:66: > undefined reference to `uv_buf_init' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:55: > undefined reference to `uv_close' > /tmp/ccEhPGtr.o: In function `write_cb': > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:78: > undefined reference to `uv_strerror' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:78: > undefined reference to `uv_err_name' > /tmp/ccEhPGtr.o: In function `alloc_cb': > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:41: > undefined reference to `uv_buf_init' > /tmp/ccEhPGtr.o: In function `connection_cb': > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:29: > undefined reference to `uv_tcp_init' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:31: > undefined reference to `uv_accept' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:26: > undefined reference to `uv_strerror' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:26: > undefined reference to `uv_err_name' > /tmp/ccEhPGtr.o: In function `read_cb': > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:67: > undefined reference to `uv_write' > /tmp/ccEhPGtr.o: In function `connection_cb': > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:36: > undefined reference to `uv_read_start' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:34: > undefined reference to `uv_close' > /tmp/ccEhPGtr.o: In function `main': > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:89: > undefined reference to `uv_default_loop' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:92: > undefined reference to `uv_tcp_init' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:95: > undefined reference to `uv_ip4_addr' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:97: > undefined reference to `uv_tcp_bind' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:99: > undefined reference to `uv_listen' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:104: > undefined reference to `uv_run' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:100: > undefined reference to `uv_strerror' > /home/pgirao/Projects/Libraries/libuv-dox/examples/05-tcp-echo-server/main.c:100: > undefined reference to `uv_err_name' > collect2: ld returned 1 exit status > make: *** [main] Error 1 > > I followed the instructions in > https://github.com/thlorenz/libuv-dox/tree/master/examples. > > Can someone help me? > > Thank you all! > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
