[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Building Tor tor-0.2.2.13-alpha on windows



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,

My MinGW environment is broken at the moment, so thats the reason this end.
I will pay attention to how you build.

Thanks again !!!

With kind regards,
Cav Edwards



andrew@xxxxxxxxxxxxxx wrote:
On Sat, Jul 03, 2010 at 12:08:53PM +0100, cav@xxxxxxxxxxxxx wrote 0.2K bytes in 10 lines about:
  
The build on Windows reports a make file that has incorrect options.
Is anyone aware of this ?

"""make: *** No targets specified and no makefile found.  Stop."""
    

How are you trying to build it?  Obviously I was able to build a binary
and package so I know it works.

Here's how I build:
https://svn.torproject.org/svn/tor/trunk/doc/tor-win32-mingw-creation.txt

  

No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.830 / Virus Database: 271.1.1/2977 - Release Date: 07/02/10 07:35:00

No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.830 / Virus Database: 271.1.1/2977 - Release Date: 07/02/10 07:35:00