вторник, 19 июля 2011 г.

Сборка distcache

Решил собрать distcache-1.5.1 и получил ошибку:
proto_fd.c: In function 'addr_parse':
proto_fd.c:177: error: 'LONG_MIN' undeclared (first use in this function)
proto_fd.c:177: error: (Each undeclared identifier is reported only once


proto_fd.c:177: error: for each function it appears in.)
proto_fd.c:177: error: 'LONG_MAX' undeclared (first use in this function)
make[2]: *** [proto_fd.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Чтобы решить эту проблему надо добавить строку #include <limits.h> в файл libnal/proto_fd.c рядом с другими инклудами.

0 коммент.:

Отправить комментарий