Александр:
[ 33%] Built target msgpuck
[ 66%] Building C object test/CMakeFiles/msgpuck.test.dir/msgpuck.c.o
In file included from /home/roman/msgpuck/msgpuck-master/test/msgpuck.c:39:0:
/home/roman/msgpuck/msgpuck-master/test/msgpuck.c: In function ‘test_format’:
/home/roman/msgpuck/msgpuck-master/test/msgpuck.c:702:12: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
ok((c - p == data1_len) &&
^
/home/roman/msgpuck/msgpuck-master/test/test.h:83:17: note: in definition of macro ‘ok’
int res = __ok(condition, fmt, ##args); \
^
cc1: all warnings being treated as errors
make[2]: *** [test/CMakeFiles/msgpuck.test.dir/msgpuck.c.o] Error 1
make[1]: *** [test/CMakeFiles/msgpuck.test.dir/all] Error 2
make: *** [all] Error 2
Алексей Тен: Пакет libc6-dev работает как нужно. Я так понял из-за того что у этого пакета есть неудовлетворенные зависимости, не ставятся другие пакеты.
[ 33%] Built target msgpuck
[ 66%] Building C object test/CMakeFiles/msgpuck.test.dir/msgpuck.c.o
In file included from /home/roman/msgpuck/msgpuck-master/test/msgpuck.c:39:0:
/home/roman/msgpuck/msgpuck-master/test/msgpuck.c: In function ‘test_format’:
/home/roman/msgpuck/msgpuck-master/test/msgpuck.c:702:12: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
ok((c - p == data1_len) &&
^
/home/roman/msgpuck/msgpuck-master/test/test.h:83:17: note: in definition of macro ‘ok’
int res = __ok(condition, fmt, ##args); \
^
cc1: all warnings being treated as errors
make[2]: *** [test/CMakeFiles/msgpuck.test.dir/msgpuck.c.o] Error 1
make[1]: *** [test/CMakeFiles/msgpuck.test.dir/all] Error 2
make: *** [all] Error 2