I am sure that this is rookie user stuff, but try as I might, I am
unable to figure out how to create the DLLs:

libeay32.dll
libssl32.dll

to use with the w32 stunnel.

When trying "./Configure mingw -shared" I get the following make error.

make[2]: Entering directory `/cygdrive/c/openssl-0.9.8/test'
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -lwsock32 -lgdi32}"; LDCMD="${
LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC
-DOPENSSL_THREADS  -DDSO_WIN32 -mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -
march=i486 -Wall -D_WIN32_WINNT=0x333 -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32
_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS;
 do if echo $x | grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//
'; fi; done | uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`; LD_LIBRARY_PATH
=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o ${APPNAME:=rc5test.exe} rc5tes
t.o ${LIBDEPS} )
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/libmingw32.a(
main.o):main.c:(.text+0x106): undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make[2]: *** [link_app.cygwin] Error 1
make[2]: Leaving directory `/cygdrive/c/openssl-0.9.8/test'
make[1]: *** [rc5test.exe] Error 2
make[1]: Leaving directory `/cygdrive/c/openssl-0.9.8/test'
make: *** [build_tests] Error 1

MinGW 3.1 "ms\mingw32" works as expected for 0.9.7g in my environment;
generating both of the DLLs mentioned above and the openssl.exe.  I
get this error with 0.9.8

gcc -o out\md2test  tmp\md2test.o out\libssl.a out\libcrypto.a -lwsock32 -lgdi32
out\libcrypto.a(cryptlib.o)(.text+0xb79):cryptlib.c: undefined reference to `OPE
NSSL_ia32_cpuid'
mingw32-make: *** [out\md2test] Error 1
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to