You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a quick look and it seems obvious that HAVE_TX_RING has not been able to compile for a very long time. If someone wants to fix it, I'll put it in an enhancement release. I have no way of testing it in my test jig.
Has there been a fix for this? I'm currently trying to cross-compile using Android NDK 27 and I get
ld.lld: error: undefined symbol: txring_put
referenced by sendpacket.c:328
sendpacket.o:(sendpacket) in archive ./common/libcommon.a
ld.lld: error: undefined symbol: txring_init
referenced by sendpacket.c:1088
sendpacket.o:(sendpacket_open) in archive ./common/libcommon.a
clang: fatal error: linker command failed with exit code 1 (use -v to see invocation)
Describe the bug
A clear and concise description of what the bug is.
Linker error in txring.c using Android NDK version 23
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Make should be finished without any error
Screenshots
System (please complete the following information):
Additional context
The macro HAVE_TX_RING is defined in config.h
in header file : txring.h, we include config.h then check ifdef HAVE_TX_RING, it's OK, definition of HAVE_TX_RING is now available in txring.h.
However, in txring.c, check ifdef HAVE_TX_RING is added firstly but it's not yet defined.
we need to move ifdef HAVE_TX_RING after header inclusion, like this
The text was updated successfully, but these errors were encountered: