Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails with "undefined reference to `in6addr_any'" #6

Open
dribgnikcom opened this issue Sep 15, 2024 · 0 comments
Open

Comments

@dribgnikcom
Copy link

dribgnikcom commented Sep 15, 2024

make  all-am
make[5]: Entering directory '/opt/padavan-ng/trunk/user/iperf3/iperf-3.15/src'
  CC       iperf3-main.o
  CC       cjson.lo
  CC       iperf_api.lo
  CC       iperf_error.lo
  CC       iperf_auth.lo
  CC       iperf_client_api.lo
  CC       iperf_locale.lo
  CC       iperf_server_api.lo
  CC       iperf_tcp.lo
  CC       iperf_udp.lo
  CC       iperf_sctp.lo
  CC       iperf_util.lo
  CC       iperf_time.lo
  CC       dscp.lo
  CC       net.lo
  CC       tcp_info.lo
  CC       timer.lo
  CC       units.lo
  CC       t_timer-t_timer.o
  CC       t_units-t_units.o
  CC       t_uuid-t_uuid.o
  CC       t_api-t_api.o
  CC       t_auth-t_auth.o
  CCLD     libiperf.la
  CCLD     iperf3
  CCLD     t_timer
/opt/padavan-ng/toolchain/out/bin/../lib/gcc/mipsel-linux-uclibc/7.5.0/../../../../mipsel-linux-uclibc/bin/ld: ./.libs/libiperf.a(net.o): in function `create_socket':
net.c:(.text+0x468): undefined reference to `in6addr_any'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:862: iperf3] Error 1
make[5]: *** Waiting for unfinished jobs....
  CCLD     t_units
make[5]: Leaving directory '/opt/padavan-ng/trunk/user/iperf3/iperf-3.15/src'
make[4]: *** [Makefile:713: all] Error 2
make[4]: Leaving directory '/opt/padavan-ng/trunk/user/iperf3/iperf-3.15/src'
make[3]: *** [Makefile:391: all-recursive] Error 1
make[3]: Leaving directory '/opt/padavan-ng/trunk/user/iperf3/iperf-3.15'
make[2]: *** [Makefile:7: all] Error 2
make[2]: Leaving directory '/opt/padavan-ng/trunk/user/iperf3'
make[1]: *** [Makefile:178: all] Error 2
make[1]: Leaving directory '/opt/padavan-ng/trunk/user'
make: *** [Makefile:184: user_only] Error 2
2024.09.15 12:19:05 - Cleaning
time="2024-09-15T12:19:15-04:00" level=warning msg="StopSignal SIGTERM failed to stop container padavan-builder in 10 seconds, resorting to SIGKILL"
padavan-builder
2024.09.15 12:19:15 - Unmounting compressed virtual disk

I disabled IPV6 in the config and enabled wireguard, other than that, no special configuration was made before compilation. Thanks

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

No branches or pull requests

1 participant