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
  • #7235

Closed (moved)
(moved)
Open
Created Oct 27, 2012 by Anthony Basile@blueness

tor-0.2.4.{2,3,4}: fails with undefined reference to libm functions in libor.a when --disable-upnp

When ./configure --disable-upnp on a Gentoo system, the build fails with. This is easily fixed by linking tor-fw-helper to libm. I'll attach the patch to src/tools/tor-fw-helper/include.am in my next post.

CCLD src/tools/tor-resolve CCLD src/tools/tor-fw-helper/tor-fw-helper src/common/libor.a(util.o): In function tor_lround': util.c:(.text+0xf27): undefined reference to ceil' src/common/libor.a(util.o): In function tor_llround': util.c:(.text+0xf87): undefined reference to ceil' src/common/libor.a(util.o): In function tor_mathlog': util.c:(.text+0xee9): undefined reference to log' collect2: ld returned 1 exit status make[1]: *** [src/tools/tor-fw-helper/tor-fw-helper] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/net-misc/tor-0.2.4.5_alpha/work/tor-0.2.4.5-alpha' make: *** [all] Error 2

The downstream bug is at

https://bugs.gentoo.org/show_bug.cgi?id=435040

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