Я использую git для windows и make из chocolatey, но проблема, с которой я сталкиваюсь, заключается в том, что при запуске make
я получаю сообщение об ошибке при входе в файл easel.c. В строке 39 появляется сообщение об ошибке, которое равно #include <syslog.h>
Почему я получаю эту ошибку? Я надеюсь, что кто-нибудь из HMMER может сказать мне.
РЕДАКТИРОВАНИЕ ПОСЛЕ ДОБАВЛЕНИЯ syslog.h из здесь
hmmer-3.2$ make
SUBDIR easel
CC easel.o
easel.c:39:20: fatal error: syslog.h: No such file or directory
compilation terminated.
make[1]: *** [Makefile:521: easel.o] Error 1
make: *** [Makefile:87: all] Error 2
редактирует:
Теперь, после добавления файла syslog.h из источника, я получаю эти ошибки из файла esl_buffer.c
. Интересно, если HMMER проверил это на Windows?
hmmer-3.2$ make
SUBDIR easel
CC esl_buffer.o
esl_buffer.c: In function 'esl_buffer_Close':
esl_buffer.c:523:4: warning: implicit declaration of function 'munmap' [-Wimplicit-function-declaration]
esl_buffer.c: In function 'buffer_init_file_mmap':
esl_buffer.c:1575:3: warning: implicit declaration of function 'mmap' [-Wimplicit-function-declaration]
esl_buffer.c:1575:34: error: 'PROT_READ' undeclared (first use in this function)
esl_buffer.c:1575:34: note: each undeclared identifier is reported only once for each function it appears in
esl_buffer.c:1575:45: error: 'MAP_PRIVATE' undeclared (first use in this function)
esl_buffer.c:1576:18: error: 'MAP_FAILED' undeclared (first use in this function)
make[1]: *** [Makefile:521: esl_buffer.o] Error 1
make: *** [Makefile:87: all] Error 2