This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Can't build openssl 0.9.6b in cygwin, winmain@16 undefined error.
- To: cygwin at sources dot redhat dot com
- Subject: Can't build openssl 0.9.6b in cygwin, winmain@16 undefined error.
- From: MindTerm <mindterm at yahoo dot com>
- Date: Sun, 30 Sep 2001 08:21:03 -0700 (PDT)
Dear all,
I want to build openssl 0.9.6b in cygwin under
win2k.
I got error when building /test directory .
root@XX /cygdrive/c/learning/openssl-0.9.6b/test
$ make
(cd ..; make -f Makefile.ssl DIRS=test all)
make[1]: Entering directory
`/cygdrive/c/learning/openssl-0.9.6b'
+ rm -f libcrypto
+ rm -f libssl
making all in test...
make[2]: Entering directory
`/cygdrive/c/learning/openssl-0.9.6b/test'
gcc -o bntest -I../include -DDSO_WIN32 -DTERMIOS
-DL_ENDIAN -fomit-frame-pointer
-O3 -m486 -Wall bntest.o -L.. -lcrypto
/usr/lib/libcygwin.a(libcmain.o): In function `main':
/cygnus/netrel/src/cygwin-1.3.3-2/winsup/cygwin/lib/libcmain.c:31:
undefined ref
erence to `WinMain@16'
collect2: ld returned 1 exit status
make[2]: *** [bntest] Error 1
make[2]: Leaving directory
`/cygdrive/c/learning/openssl-0.9.6b/test'
make[1]: *** [sub_all] Error 1
make[1]: Leaving directory
`/cygdrive/c/learning/openssl-0.9.6b'
make: *** [top] Error 2
any idea ?
M.T.
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/