在windows上构建openssh

时间:2013-06-07 04:29:27

标签: compilation cygwin openssh

我正在尝试使用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。我无法弄清楚可能出现的问题。

0 个答案:

没有答案