[tor-bugs] #2698 [Tor Client]: Tor static build issues with libevent

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Mar 10 06:20:30 UTC 2011


#2698: Tor static build issues with libevent
------------------------+---------------------------------------------------
 Reporter:  ioerror     |          Owner:     
     Type:  defect      |         Status:  new
 Priority:  major       |      Milestone:     
Component:  Tor Client  |        Version:     
 Keywords:              |         Parent:     
   Points:              |   Actualpoints:     
------------------------+---------------------------------------------------

Comment(by ioerror):

 It appears that part of the issue is that when we test against the
 supplied libevent directory, we're failing because we failed to add '-lrt'
 to our test:

 {{{
 configure:6070: result: yes
 configure:6106: checking for libevent directory
 configure:6168: gcc -o conftest -g -O2 -I/tmp/static-
 tor/libevent/usr/local/include  -I${top_srcdir}/src/common -L/tmp/static-
 tor/libevent/usr/local/include  conftest.c -lpthread -ldl  -levent  >&5
 /tmp/static-tor/libevent/usr/local/include/libevent.a(event.o): In
 function `gettime':
 /tmp/static-tor/libevent-1.4.14b-stable/event.c:150: undefined reference
 to `clock_gettime'
 /tmp/static-tor/libevent/usr/local/include/libevent.a(event.o): In
 function `detect_monotonic':
 /tmp/static-tor/libevent-1.4.14b-stable/event.c:133: undefined reference
 to `clock_gettime'
 collect2: ld returned 1 exit status
 configure:6168: $? = 1
 }}}

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


More information about the tor-bugs mailing list