Skip to content

apple-darwin18.6.0 compile fail #90

@m6w6

Description

@m6w6

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--------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions