Compilation 在windows上构建openssh

Compilation 在windows上构建openssh,compilation,cygwin,openssh,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 -f

我正在尝试使用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。我想不出哪里出了问题。

看你是对的,这就解决了问题。如果你用它来回答,我会接受的。