0.3.5.2-alpha undefined reference to `get_uint32' on ARM device.
I already have tor running well on gl-ar150 router. Also have another device, a Raspberry Pi configured to run openwrt. I can do ssh and mount device files remotely to both. I wish to run tor on the latter Pi device (but the ar-150 repository is device specific and won't work on the Pi). The Pi is a minimal install and won't run the make command but I have another Pi of the same type on which I am trying to compile tor, the binary might work. (Raspbian GNU/Linux" VERSION="7 (wheezy)").
Problem, how to install tor https://tor.stackexchange.com/questions/75/how-can-i-install-tor-from-the-source-code-in-the-git-repository
Notes on what I did sudo apt-get update sudo apt-get upgrade sudo apt-get install git build-essential automake libevent-dev libssl-dev git clone https://git.torproject.org/tor.git ChangeLog gives version as 0.3.5.2-alpha chmod +x autogen.sh sudo ./autogen.sh sudo make ./configure sudo apt-get install asciidoc ./configure make
Error resulted as follows
src/lib/libtor-crypt-ops.a(src_lib_libtor_crypt_ops_a-aes_openssl.o): In function
aes_set_iv': /home/pi/tor/src/lib/crypt_ops/aes_openssl.c:399: undefined reference to get_uint32'
/home/pi/tor/src/lib/crypt_ops/aes_openssl.c:400: undefined reference to
get_uint32' /home/pi/tor/src/lib/crypt_ops/aes_openssl.c:401: undefined reference to get_uint32'
/home/pi/tor/src/lib/crypt_ops/aes_openssl.c:402: undefined reference to `get_uint32'
collect2: ld returned 1 exit status
Makefile:6918: recipe for target 'src/app/tor' failed
make: *** [src/app/tor] Error 1
make: Leaving directory '/home/pi/tor'
Makefile:4580: recipe for target 'all' failed
make: *** [all] Error 2
I suspect a header reference is missing. I can collect the detailed output if necessary and will try to attach partial terminal output from the compile.