[tor-bugs] #9058 [Tor]: tor current compile breakage "libor-crypto.a"

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jun 14 01:34:49 UTC 2013


#9058: tor current compile breakage "libor-crypto.a"
-------------------------------+--------------------------------------------
 Reporter:  yancm              |          Owner:                    
     Type:  defect             |         Status:  new               
 Priority:  normal             |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor                |        Version:  Tor: unspecified  
 Keywords:  tor-client netbsd  |         Parent:                    
   Points:                     |   Actualpoints:                    
-------------------------------+--------------------------------------------

Comment(by yancm):

 At the moment, this is as far as make gets after a make clean/rm
 Makefile/autogen/configure. Over the last week I have needed to go through
 this cycle a couple of times, but this is the first time it did not
 resolve...

 Per your questions:
 **** Q1 ****
 # make V=1
 make  all-am
 gcc  -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector
 -fwrapv --param ssp-buffer-size=1 -fPIE -Wall -fno-strict-aliasing   -pie
 -z relro -z now -o src/tools/tor-gencert src/tools/tor-gencert.o
 src/common/libor.a src/common/libor-crypto.a
 src/common/libcurve25519_donna.a  -lm -lz -lssl -lcrypto -lpthread
 src/common/libor-crypto.a(aes.o): In function `aes_new_cipher':
 src/common/aes.c:100: undefined reference to `EVP_aes_128_ctr'
 *** Error code 1

 Stop.
 make: stopped in /usr/local/src/tor
 *** Error code 1

 Stop.
 make: stopped in /usr/local/src/tor
 #

 **** 2 ****
 I have the following ssh package installed:
 openssl-1.0.1enb1

 On NetBSD, packages reside in /usr/pkg/(etc,bin,lib,....)...
 We had to modify configure by:
 ./configure --with-libevent-dir=/usr/pkg
 to get it to use my libevent package...
 Do we need to do something similar for ssl?
 Where is the best place to check to see if the autogen/configure scripts
 find the right ssl? (There may be a base system ssl?)

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9058#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list