0

我正在尝试使用 cygwin 在 Windows 上构建 openssh,但在make步骤中出现以下错误:

make[1]: Entering directory `/home/myuser/dev/openssh-5.4p1/openbsd-compat'
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-strict-aliasing -fno-builtin-memset -fstack-protector-all  -I. -I.. -I. -I./..  -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from /usr/include/openssl/bn.h:132:0,
                 from ../buffer.h:49,
                 from ../entropy.h:30,
                 from ../includes.h:173,
                 from bsd-arc4random.c:17:
/usr/include/openssl/ossl_typ.h:153:29: error: expected ')' before numeric constant
/usr/include/openssl/ossl_typ.h:199:33: error: expected ')' before numeric constant
Makefile:26: recipe for target `bsd-arc4random.o' failed
make[1]: *** [bsd-arc4random.o] Error 1
make[1]: Leaving directory `/home/myuser/dev/openssh-5.4p1/openbsd-compat'
Makefile:134: recipe for target `openbsd-compat/libopenbsd-compat.a' failed
make: *** [openbsd-compat/libopenbsd-compat.a] Error 2

./configure没有问题,我安装了 openssl。我无法弄清楚可能出了什么问题。

4

0 回答 0