Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #27818

Closed (moved)
(moved)
Open
Created Sep 22, 2018 by Trac@tracbot

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

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.

Trac:
Username: Prada

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking