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

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



#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/home/io/tmp/static-
 tor/libevent/usr/local/include  -I${top_srcdir}/src/common -L/home/io/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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs