Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

undefined reference to #190

Open
elig0n opened this issue Feb 20, 2021 · 1 comment
Open

undefined reference to #190

elig0n opened this issue Feb 20, 2021 · 1 comment

Comments

@elig0n
Copy link

elig0n commented Feb 20, 2021

I'm cross-compiling bind-9.6.12 for MIPS big endian using a toolchain that uses uclibc
I already built and installed libuv

make[2]: Entering directory '/home/user/build/bind/bind-9.16.12/lib/samples'
mips-linux-gcc -I ~/build/libuv/libuv-v1.41.0/include  -pthread -fPIC -luv -ldl  -o resolve \
resolve.o ../irs/libirs.a ../dns/libdns.a -llmdb     ../isccfg/libisccfg.a ../isc/libisc.a -L/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib -lssl -lcrypto     /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a -lnsl   -latomic
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-uv-common.o): in function `uv_library_shutdown':
/home/user/build/libuv/libuv-v1.41.0/src/uv-common.c:884: undefined reference to `uv__process_title_cleanup'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/uv-common.c:884: undefined reference to `uv__process_title_cleanup'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv_hrtime':
/home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:104: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:104: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv_close':
/home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:156: undefined reference to `uv__fs_event_close'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:156: undefined reference to `uv__fs_event_close'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv__update_time':
/home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv_run':
/home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:382: undefined reference to `uv__io_poll'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:385: undefined reference to `uv__io_poll'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:385: undefined reference to `uv__io_poll'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:397: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:374: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:385: undefined reference to `uv__io_poll'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:385: undefined reference to `uv__io_poll'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv__update_time':
/home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv_run':
/home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:385: undefined reference to `uv__io_poll'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv__loop_alive':
/home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:355: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv__update_time':
/home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-core.o): in function `uv__io_close':
/home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:947: undefined reference to `uv__platform_invalidate_fd'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/core.c:947: undefined reference to `uv__platform_invalidate_fd'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-loop.o): in function `uv__update_time':
/home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/internal.h:298: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-loop.o): in function `uv_loop_init':
/home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:77: undefined reference to `uv__platform_loop_init'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:77: undefined reference to `uv__platform_loop_init'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:117: undefined reference to `uv__platform_loop_delete'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:117: undefined reference to `uv__platform_loop_delete'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-loop.o): in function `uv_loop_fork':
/home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:137: undefined reference to `uv__io_fork'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:137: undefined reference to `uv__io_fork'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-loop.o): in function `uv__loop_close':
/home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:169: undefined reference to `uv__platform_loop_delete'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/loop.c:169: undefined reference to `uv__platform_loop_delete'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-poll.o): in function `uv__poll_stop':
/home/user/build/libuv/libuv-v1.41.0/src/unix/poll.c:107: undefined reference to `uv__platform_invalidate_fd'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/poll.c:107: undefined reference to `uv__platform_invalidate_fd'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-poll.o): in function `uv_poll_init':
/home/user/build/libuv/libuv-v1.41.0/src/unix/poll.c:74: undefined reference to `uv__io_check_fd'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/poll.c:74: undefined reference to `uv__io_check_fd'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-thread.o): in function `uv_cond_timedwait':
/home/user/build/libuv/libuv-v1.41.0/src/unix/thread.c:802: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/thread.c:802: undefined reference to `uv__hrtime'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-udp.o): in function `uv__udp_sendmmsg':
/home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:359: undefined reference to `uv__sendmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:359: undefined reference to `uv__sendmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-udp.o): in function `uv__udp_mmsg_init':
/home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:76: undefined reference to `uv__sendmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:76: undefined reference to `uv__sendmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:81: undefined reference to `uv__recvmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:81: undefined reference to `uv__recvmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-udp.o): in function `uv__udp_recvmmsg':
/home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:216: undefined reference to `uv__recvmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/udp.c:216: undefined reference to `uv__recvmmsg'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-fs.o): in function `uv__fs_statx':
/home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:1429: undefined reference to `uv__statx'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:1432: undefined reference to `uv__statx'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-fs.o): in function `uv__fs_write':
/home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:1124: undefined reference to `uv__pwritev'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:1131: undefined reference to `uv__pwritev'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-fs.o): in function `uv__fs_read':
/home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:481: undefined reference to `uv__preadv'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:488: undefined reference to `uv__preadv'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../mips-buildroot-linux-uclibc/sysroot/usr/local/lib/libuv.a(libuv_la-fs.o): in function `uv__fs_sendfile':
/home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:923: undefined reference to `uv__fs_copy_file_range'
/home/user/Downloads/mips32--uclibc--stable-2020.08-1/bin/../lib/gcc/mips-buildroot-linux-uclibc/9.3.0/../../../../mips-buildroot-linux-uclibc/bin/ld: /home/user/build/libuv/libuv-v1.41.0/src/unix/fs.c:923: undefined reference to `uv__fs_copy_file_range'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:486: resolve] Error 1
make[2]: Leaving directory '/home/user/build/bind/bind-9.16.12/lib/samples'
make[1]: *** [Makefile:84: subdirs] Error 1
make[1]: Leaving directory '/home/user/build/bind/bind-9.16.12/lib'
make: *** [Makefile:89: subdirs] Error 1
  • Version: 1.41.0
  • Platform: Linux mips (cross compile)
@bnoordhuis bnoordhuis transferred this issue from libuv/libuv Feb 20, 2021
@bnoordhuis
Copy link
Member

I've moved this to libuv/help because I doubt it's an issue with libuv itself, rather with the toolchain. It would help if you post the full build log of a from-scratch build.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants