Hi Folks, Andrew: Thank you so much for your article. Its much more succinct than the one I had. Is there a way around the problem below ? """ LIBDEPS=" $LIBRARIES -lwsock32 -lgdi32" \ link_app.${shlib_target} make[2]: Entering directory `/d/workspace++/openssl-0.9.8l/apps' ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -lwsock32 -lgdi32}"; LDCMD="$ {LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -DDSO_WIN32 -mno-cygwin -D L_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -D_WIN32_WINNT=0x333 -DOPENS SL_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:=openssl.exe} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhp aram.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl. o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o cipher s.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o cms.o ${LIBDEPS} ) ../libcrypto.a(eng_all.o):eng_all.c:(.text+0xe): undefined reference to `ENGINE_ load_4758cca' ../libcrypto.a(eng_all.o):eng_all.c:(.text+0x13): undefined reference to `ENGINE _load_aep' ../libcrypto.a(eng_all.o):eng_all.c:(.text+0x18): undefined reference to `ENGINE _load_atalla' ../libcrypto.a(eng_all.o):eng_all.c:(.text+0x1d): undefined reference to `ENGINE _load_cswift' ../libcrypto.a(eng_all.o):eng_all.c:(.text+0x22): undefined reference to `ENGINE _load_chil' ../libcrypto.a(eng_all.o):eng_all.c:(.text+0x27): undefined reference to `ENGINE _load_nuron' ../libcrypto.a(eng_all.o):eng_all.c:(.text+0x2c): undefined reference to `ENGINE _load_sureware' ../libcrypto.a(eng_all.o):eng_all.c:(.text+0x34): undefined reference to `ENGINE _load_ubsec' make[2]: *** [link_app.] Error 1 make[2]: Leaving directory `/d/workspace++/openssl-0.9.8l/apps' make[1]: *** [openssl.exe] Error 2 make[1]: Leaving directory `/d/workspace++/openssl-0.9.8l/apps' make: *** [build_apps] Error 1 """ With kind regards, Cav Edwards Cav wrote: Thank you Andrew, |