-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
undefined reference to `htobe64' #157
Comments
Hi, |
Thanks @wcawijngaards . It looks good to me. I cloned and used I think this is the snippet of interest:
|
Thanks! Good to know it works. |
Hi Everyone,
I'm working on a an older, CentOS 5, x86_64 machine. I use it for regression testing of some libraries. The machine provides GCC 4.1 and glibc 2.5, and the machine lacks
htobe64
,be64toh
,__builtin_bswap64
and friends.I need some up to date tools on the old machine, and Unbound gets built as a dependency. Attempting a compile results in:
You might want to use a
TRY_LINK
test (not aTRY_COMPILE
test) forhtobe64
andbe64toh
since missing symbols may not cause a compile failure.Update: I was testing an older version of Unbound. If this has been fixed, please close/delete this report.
The text was updated successfully, but these errors were encountered: