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

apple-darwin18.6.0 compile fail #90

Closed
m6w6 opened this issue Jan 20, 2020 · 1 comment
Closed

apple-darwin18.6.0 compile fail #90

m6w6 opened this issue Jan 20, 2020 · 1 comment

Comments

@m6w6
Copy link
Collaborator

m6w6 commented Jan 20, 2020

Imported from Launchpad using lp2gh.


configure is ok;

when "make",get error:

libmemcached/byteorder.cc:66:10: error: use of undeclared identifier 'ntohll'
return ntohll(value);
libmemcached/byteorder.cc:75:10: error: use of undeclared identifier 'htonll'
return htonll(value);

---------- modify fix up-------
sudo vi libmemcached/byteorder.c, #include "libmemcached/byteorder.h" add:

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

-----re confiure and make get error----

clients/memflush.cc:42:19: error: comparison between pointer and integer ('char *' and 'int')
if (opt_servers == false)

clients/memflush.cc:51:21: error: comparison between pointer and integer ('char *' and 'int')
if (opt_servers == false)
~~~~~~~~~~~ ^ ~~~~~

----replace false to NULL----

----re configure and make success--------
@m6w6 m6w6 added New and removed New labels Jan 20, 2020
@m6w6
Copy link
Collaborator Author

m6w6 commented Jan 20, 2020

Latter issue fixed in dc1e22b

@m6w6 m6w6 closed this as completed in 2eae876 Jan 20, 2020
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