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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Oct 27 13:42:07 UTC 2012


#7235: tor-0.2.4.{2,3,4}: fails with undefined reference to libm functions in
libor.a when --disable-upnp
----------------------+-----------------------------------------------------
 Reporter:  blueness  |          Owner:                    
     Type:  defect    |         Status:  needs_revision    
 Priority:  normal    |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor       |        Version:  Tor: 0.2.4.5-alpha
 Keywords:            |         Parent:                    
   Points:            |   Actualpoints:                    
----------------------+-----------------------------------------------------
Changes (by nickm):

  * status:  new => needs_revision


Comment:

 Hm. I think we want to move the "-lm" out of miniupnpc_ldadd too so that
 we won't wind up giving two -lm instances on the same command line.  And
 we should put it in src_tools_tor_fw_helper_tor_fw_helper_LDADD , not
 src_tools_tor_fw_helper_tor_fw_helper_LDFLAGS .  (LDADD is for libraries;
 LDFLAGS is for library search paths and stuff.)

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


More information about the tor-bugs mailing list