по следующей ссылке, попытался запустить исходный код Memcached ...Что касается Memcached исходного кода, выполняющегося вопрос
https://devcenter.heroku.com/articles/process-model
при запуске его, настроить команда работает должным образом.
Когда я запускаю команду make, она выдает следующую ошибку .... Как решить эту проблему?
SYSCON @ SYSCON-OptiPlex-3020: ~/Documents/работа/Memcached-1.4.5 $ Sudo сделать сделать все-рекурсивный сделайте [1]: Вход в каталог /home/syscon/Documents/work/memcached-1.4.5' Making all in doc make[2]: Entering directory
/дома/SYSCON/Документы/Работа/Memcached -1.4.5/doc ' make all-am make [3]: Ввод справочника /home/syscon/Documents/work/memcached-1.4.5/doc' make[3]: Nothing to be done for
all-am'. сделать [3]: оставить каталог /home/syscon/Documents/work/memcached-1.4.5/doc' make[2]: Leaving directory
/home/syscon/Documents/work/memcached-1.4.5/doc ' make [2]: Ввод каталога /home/syscon/Documents/work/memcached-1.4.5' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DNDEBUG -g -O2 -pthread -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -MT memcached-memcached.o -MD -MP -MF .deps/memcached-memcached.Tpo -c -o memcached-memcached.o
test -f' memcached.c '|| echo './' memcached.c memcached.c: In function ‘complete_incr_bin’: memcached.c:1023:16: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] c->binary_header.request.cas == ITEM_get_cas(it))) { ^ memcached.c:1044:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] c->cas = ITEM_get_cas(it); ^ memcached.c:1061:17: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] c->cas = ITEM_get_cas(it); ^ memcached.c: In function ‘process_bin_get’: memcached.c:1193:9: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] rsp->message.header.response.cas = htonll(ITEM_get_cas(it)); ^ memcached.c: In function ‘process_bin_update’: memcached.c:1889:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] ITEM_set_cas(it, c->binary_header.request.cas); ^ memcached.c:1905:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] if (ITEM_get_cas(it) != 0) { ^ memcached.c: In function ‘process_bin_append_prepend’: memcached.c:1949:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] ITEM_set_cas(it, c->binary_header.request.cas); ^ memcached.c: In function ‘process_bin_delete’: memcached.c:2014:9: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] if (cas == 0 || cas == ITEM_get_cas(it)) { ^ memcached.c: In function ‘do_store_item’: memcached.c:2127:9: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] else if (ITEM_get_cas(it) == ITEM_get_cas(old_it)) { ^ memcached.c:2127:9: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] memcached.c:2144:25: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] (unsigned long long)ITEM_get_cas(old_it), ^ memcached.c:2145:25: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] (unsigned long long)ITEM_get_cas(it)); ^ memcached.c:2158:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] if (ITEM_get_cas(it) != 0) { ^ memcached.c:2160:17: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] if (ITEM_get_cas(it) != ITEM_get_cas(old_it)) { ^ memcached.c:2160:17: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] memcached.c:2202:13: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] c->cas = ITEM_get_cas(it); ^ memcached.c:2214:9: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] c->cas = ITEM_get_cas(it); ^ memcached.c: In function ‘process_get_command’: memcached.c:2592:45: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] (unsigned long long)ITEM_get_cas(it)); ^ memcached.c: In function ‘process_update_command’: memcached.c:2751:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] ITEM_set_cas(it, req_cas_id); ^ memcached.c: In function ‘do_add_delta’: memcached.c:2870:9: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] ITEM_set_cas(it, (settings.use_cas) ? get_cas_id() : 0); ^ memcached.c: In function ‘main’: memcached.c:4630:13: error: variable ‘udp_port’ set but not used [-Werror=unused-but-set-variable] int udp_port; ^ cc1: all warnings being treated as errors make[2]: *** [memcached-memcached.o] Error 1 make[2]: Leaving directory
/home/syscon/Documents/work/memcached-1.4.5 ' make [1]: * [all-recursive] Ошибка 1 сделать [1]: оставить папку `/ home/syscon/Документы/работа/Memcached-1.4.5' марка: * [все] Ошибка 2