Skip to content

Instantly share code, notes, and snippets.

@themarwhal
Created February 15, 2022 03:55
Show Gist options
  • Save themarwhal/6d6b2ad5fd03933c0dc70fba02e930dc to your computer and use it in GitHub Desktop.
Save themarwhal/6d6b2ad5fd03933c0dc70fba02e930dc to your computer and use it in GitHub Desktop.
Linking error even after setting linkstatic=1 for ASN library
| ^~
ERROR: /workspaces/magma/lte/gateway/c/core/BUILD.bazel:1557:8: Linking lte/gateway/c/core/itti_test failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc @bazel-out/k8-fastbuild/bin/lte/gateway/c/core/itti_test-2.params
Use --sandbox_debug to see verbose messages from the sandbox
bazel-out/k8-fastbuild/bin/_solib_k8/liblte_Sgateway_Sc_Score_Slibcore.so: error: undefined reference to 's6a_fd_new_peer'
bazel-out/k8-fastbuild/bin/_solib_k8/liblte_Sgateway_Sc_Score_Slibcore.so: error: undefined reference to 'as_message_encode'
bazel-out/k8-fastbuild/bin/_solib_k8/liblte_Sgateway_Sc_Score_Slibcore.so: error: undefined reference to 'Fatal'
bazel-out/k8-fastbuild/bin/_solib_k8/liblte_Sgateway_Sc_Score_Slibcore.so: error: undefined reference to 'as_message_decode'
collect2: error: ld returned 1 exit status
Target //lte/gateway/c/core:itti_test failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 47.025s, Critical Path: 20.46s
INFO: 4773 processes: 4280 remote cache hit, 493 internal.
FAILED: Build did NOT complete successfully
//lte/gateway/c/core:itti_test FAILED TO BUILD
FAILED: Build did NOT complete successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment