Closed
Description
From Colin Perkins on the mailing list
Hi,
Trying to compile this on MacOS 10.7.5, I get the following build error in libuv:
...
ar rcs libuv.a src/unix/async.o src/unix/core.o src/unix/dl.o src/unix/error.o src/unix/fs.o src/unix/getaddrinfo.o src/unix/loop.o src/unix/loop-watcher.o src/unix/pipe.o src/unix/poll.o src/unix/process.o src/unix/signal.o src/unix/stream.o src/unix/tcp.o src/unix/thread.o src/unix/threadpool.o src/unix/timer.o src/unix/tty.o src/unix/udp.o src/fs-poll.o src/uv-common.o src/inet.o
link: rt/x86_64-apple-darwin/librustrt.dylib
Undefined symbols for architecture x86_64:
"_uv__hrtime", referenced from:
_uv_hrtime in libuv.a(core.o)
_uv__update_time in libuv.a(core.o)
_uv__loop_init in libuv.a(loop.o)
"_uv__fs_event_close", referenced from:
_uv_close in libuv.a(core.o)
"_uv__io_poll", referenced from:
_uv_run in libuv.a(core.o)
"_uv__platform_loop_init", referenced from:
_uv__loop_init in libuv.a(loop.o)
"_uv__platform_loop_delete", referenced from:
_uv__loop_delete in libuv.a(loop.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [rt/x86_64-apple-darwin/librustrt.dylib] Error 1
I can force it to build correctly by adding an "OS=darwin" around line 184 of mk/rt.mk, so it looks like the build system isn't passing the right parameters to the libuv build for some reason.
I just tried with incoming from git, and get the same behaviour.
Colin
Metadata
Metadata
Assignees
Labels
No labels