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

[tor-bugs] #27818 [- Select a component]: 0.3.5.2-alpha undefined reference to `get_uint32' on ARM device.



#27818: 0.3.5.2-alpha undefined reference to `get_uint32' on ARM device.
-------------------------------------+-------------------------------------
 Reporter:  Prada                    |          Owner:  (none)
     Type:  defect                   |         Status:  new
 Priority:  Medium                   |      Component:  - Select a
                                     |  component
  Version:                           |       Severity:  Normal
 Keywords:  undefined reference      |  Actual Points:
  error 0.3.5.2-alpha                |
Parent ID:                           |         Points:
 Reviewer:                           |        Sponsor:
-------------------------------------+-------------------------------------
 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


   CC     src/tools/tor_runner.o
   AR     src/tools/libtorrunner.a
   CC     src/app/main/tor_main.o
   CCLD   src/app/tor
 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[1]: *** [src/app/tor] Error 1
 make[1]: 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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27818>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs