I've just added http://trac.pjsip.org/repos/wiki/FAQ#mingw-tls on how to configure TLS transport in MinGW. I think this method should be easier. cheers, -benny On 2/11/08, Klaus Darilion <klaus.mailinglists at pernau.at> wrote: > > > Klaus Darilion schrieb: > > > > > Klaus Darilion schrieb: > >> Hi! > >> > >> I have managed to build openssl under msys/mingw environment. How can I > >> configure pjproject to find the include files and the static libraries? > > > > Meanwhile I have found out that I can specify locations for gcc via > > environment variables. I have issued: > > > > export LIBRARY_PATH=/workspace/openssl-0.9.8g/ and > > export CPATH=/workspace/openssl-0.9.8g/include/ > > > > Now, the tests for the include file succeeds, but the test for -lssl > > fails (see blow). > > > I managed to build the -lssl test by adding -lcrypto (after -lssl) and > -lgdi32 to aconfigure. > > Here is my ugly patch to aconfigure: > > > --- pjproject-trunk-2008-02-08/aconfigure Fri Feb 8 10:57:34 2008 > +++ _pjproject-trunk-2008-02-08/aconfigure Mon Feb 11 16:54:25 2008 > @@ -10835,7 +10835,7 @@ > echo $ECHO_N "(cached) $ECHO_C" >&6 > else > ac_check_lib_save_LIBS=$LIBS > -LIBS="-lssl $LIBS" > +LIBS="-lssl -lcrypto -lgdi32 $LIBS" > cat >conftest.$ac_ext <<_ACEOF > /* confdefs.h. */ > _ACEOF > @@ -10956,7 +10956,7 @@ > { echo "$as_me:$LINENO: result: > $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 > echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } > if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then > - libcrypto_present=1 && LIBS="$LIBS -lcrypto" > + libcrypto_present=1 && LIBS="$LIBS -lcrypto -lgdi32" > fi > > if test "x$openssl_h_present" = "x1" -a > "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then > > > > > > > thanks > > klaus > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >