我在Windows上使用git并由巧克力制成,但我相信的问题是运行make
时,当它进入easyl.c文件时出现错误,我在第39行下面看到错误#include <syslog.h>
为什么会出现此错误?我希望HMMER的人能告诉我。
在here之后添加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