Skip to content

Instantly share code, notes, and snippets.

/gist:2580892
Created May 2, 2012

Embed
What would you like to do?
bert@piscisaureus-mint ~/libuv $ make test
cc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_linux -Isrc -g -c src/unix/poll.c -o src/unix/poll.o
ar rcs uv.a src/unix/async.o src/unix/cares.o src/unix/check.o src/unix/core.o src/unix/dl.o src/unix/error.o src/unix/fs.o src/unix/idle.o src/unix/loop.o src/unix/pipe.o src/unix/poll.o src/unix/prepare.o src/unix/process.o src/unix/stream.o src/unix/tcp.o src/unix/thread.o src/unix/timer.o src/unix/tty.o src/unix/udp.o src/unix/linux/core.o src/unix/linux/inotify.o src/unix/linux/syscalls.o src/uv-common.o src/unix/uv-eio.o src/unix/ev/ev.o src/unix/eio/eio.o src/ares/ares__close_sockets.o src/ares/ares__get_hostent.o src/ares/ares__read_line.o src/ares/ares__timeval.o src/ares/ares_cancel.o src/ares/ares_data.o src/ares/ares_destroy.o src/ares/ares_expand_name.o src/ares/ares_expand_string.o src/ares/ares_fds.o src/ares/ares_free_hostent.o src/ares/ares_free_string.o src/ares/ares_gethostbyaddr.o src/ares/ares_gethostbyname.o src/ares/ares_getnameinfo.o src/ares/ares_getopt.o src/ares/ares_getsock.o src/ares/ares_init.o src/ares/ares_library_init.o src/ares/ares_llist.o src/ares/ares_mkquery.o src/ares/ares_nowarn.o src/ares/ares_options.o src/ares/ares_parse_a_reply.o src/ares/ares_parse_aaaa_reply.o src/ares/ares_parse_mx_reply.o src/ares/ares_parse_ns_reply.o src/ares/ares_parse_ptr_reply.o src/ares/ares_parse_srv_reply.o src/ares/ares_parse_txt_reply.o src/ares/ares_process.o src/ares/ares_query.o src/ares/ares_search.o src/ares/ares_send.o src/ares/ares_strcasecmp.o src/ares/ares_strdup.o src/ares/ares_strerror.o src/ares/ares_timeout.o src/ares/ares_version.o src/ares/ares_writev.o src/ares/bitncmp.o src/ares/inet_net_pton.o src/ares/inet_ntop.o
cc -Iinclude -Iinclude/uv-private -Isrc/unix/ev -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Isrc/ares/config_linux -g -D_GNU_SOURCE -o test/run-tests test/run-tests.c \
test/runner.c test/runner-unix.c test/blackhole-server.c test/echo-server.c test/test-*.c uv.a -lm -ldl -lrt -pthread
uv.a(core.o): In function `uv_hrtime':
/home/bert/libuv/src/unix/linux/core.c:71: multiple definition of `uv_hrtime'
uv.a(linux.o):/home/bert/libuv/src/unix/linux.c:134: first defined here
uv.a(core.o): In function `uv_loadavg':
/home/bert/libuv/src/unix/linux/core.c:78: multiple definition of `uv_loadavg'
uv.a(linux.o):/home/bert/libuv/src/unix/linux.c:140: first defined here
uv.a(core.o): In function `uv_exepath':
/home/bert/libuv/src/unix/linux/core.c:89: multiple definition of `uv_exepath'
uv.a(linux.o):/home/bert/libuv/src/unix/linux.c:151: first defined here
uv.a(core.o): In function `uv_get_free_memory':
/home/bert/libuv/src/unix/linux/core.c:105: multiple definition of `uv_get_free_memory'
uv.a(linux.o):/home/bert/libuv/src/unix/linux.c:162: first defined here
uv.a(core.o): In function `uv_get_total_memory':
/home/bert/libuv/src/unix/linux/core.c:110: multiple definition of `uv_get_total_memory'
uv.a(linux.o):/home/bert/libuv/src/unix/linux.c:166: first defined here
uv.a(inotify.o): In function `uv_fs_event_init':
/home/bert/libuv/src/unix/linux/inotify.c:172: multiple definition of `uv_fs_event_init'
uv.a(linux.o):/home/bert/libuv/src/unix/linux.c:250: first defined here
uv.a(linux.o): In function `new_inotify_fd':
linux.c:(.text+0x3d8): undefined reference to `uv__close'
uv.a(linux.o): In function `uv_fs_event_init':
linux.c:(.text+0x6c2): undefined reference to `uv__close'
uv.a(linux.o): In function `uv__fs_event_destroy':
linux.c:(.text+0x7dd): undefined reference to `uv__close'
collect2: ld returned 1 exit status
make: *** [test/run-tests] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.