On 2.9.2010 17:19, Ruben Van Boxem wrote: > 2010/9/2 Ruben Van Boxem <vanboxem.ru...@gmail.com > <mailto:vanboxem.ru...@gmail.com>> > > 2010/9/2 Jaroslav Šmíd <jardas...@gmail.com > <mailto:jardas...@gmail.com>> > > I did what wiki says, but it wouldn't compile: > > make[1]: Leaving directory `/d/Devel/Mingw-w64/OpenSSL/Source/apps' > making all in test... > make[1]: Entering directory `/d/Devel/Mingw-w64/OpenSSL/Source/test' > make[2]: Entering directory `/d/Devel/Mingw-w64/OpenSSL/Source/test' > ( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto -lws2_32 > -lgdi32 -lcrypt32}"; > LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS > -D_MT -DDSO_WIN32 > -mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE > -D_UNICODE -DOP > > ENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM > -DSHA512_ASM -DMD5 > _ASM -DAES_ASM -DWHIRLPOOL_ASM}"; LIBPATH=`for x in $LIBDEPS; do > echo $x; done | > sed -e 's/^ *-L//;t' -e d | uniq`; LIBPATH=`echo $LIBPATH | > sed -e 's/ /:/g'`; > LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o > ${APPNAME:=md2t > est.exe} md2test.o ${LIBDEPS} ) > > d:/devel/mingw-w64/compiler/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../ > > x86_64-w64-mingw32/lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o):crt0_c.c:(.text > +0x25): undefined reference to `WinMain' > collect2: ld returned 1 exit status > make[2]: *** [link_app.] Error 1 > make[2]: Leaving directory `/d/Devel/Mingw-w64/OpenSSL/Source/test' > make[1]: *** [md2test.exe] Error 2 > make[1]: Leaving directory `/d/Devel/Mingw-w64/OpenSSL/Source/test' > make: *** [build_tests] Error 1 > > > I remember this problem: it is caused by a faulty unzipping of the > package. The release source tarball contains symlinks which aren't > properly resolved by eg 7-zip and produce empty files (check > test/md2test.c and verify it has no contents and filesize 0). The > solution is to untar the sources using MSYS tools. I don't remember the > exact command, but I do remember using the daily snapshots of the 1.0.0 > branch worked around the problem. > > Ruben > > >
Seems to work, thanks. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public