安装snort时," make"使用lzma

时间:2017-09-19 17:26:38

标签: compiler-errors install snort lzma

我正在尝试从Linux机器上的源代码安装snort。 使这些错误失败。什么想法可能是错的?

我按照https://www.snort.org/#get-started的步骤进行操作。现在我被困在尝试编译snort。

In file included from /usr/include/lzma.h:93,
                 from file_decomp_SWF.c:30:
/usr/include/lzma/base.h:318: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
In file included from /usr/include/lzma.h:94,
                 from file_decomp_SWF.c:30:
/usr/include/lzma/vli.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘lzma_vli’
/usr/include/lzma/vli.h:179: error: expected ‘)’ before ‘vli’
/usr/include/lzma/vli.h:205: error: expected ‘)’ before ‘*’ token
/usr/include/lzma/vli.h:235: error: expected ‘)’ before ‘*’ token
/usr/include/lzma/vli.h:244: error: expected ‘)’ before ‘vli’
In file included from /usr/include/lzma.h:95,
                 from file_decomp_SWF.c:30:
/usr/include/lzma/filter.h:38: error: expected specifier-qualifier-list before ‘lzma_vli’

See the entire output of make from the first error

编辑:我通过使用./configure选项运行--disable-lzma解决了我的问题。然后它编译没有错误。

0 个答案:

没有答案