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

[tor-bugs] #2209 [Polipo]: compiling shim against libevent2 static fails



#2209: compiling shim against libevent2 static fails
--------------------+-------------------------------------------------------
 Reporter:  phobos  |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:     
Component:  Polipo  |     Version:     
 Keywords:          |      Parent:     
--------------------+-------------------------------------------------------
 compiled and installed libevent 2.0.8-rc.
 cloned latest shim.git, configured as:
 LIBEVENT_LIBS=/usr/local/lib/libevent.a ./configure --disable-direct-
 connections && make.

 make errors out with:

 gcc -I./compat  -g -O2 -Wall   -o shim shim-main.o shim-proxy.o shim-
 httpconn.o shim-conn.o shim-headers.o shim-log.o shim-util.o
 /usr/local/lib/libevent.a
 /usr/local/lib/libevent.a(event.o): In function `gettime':
 /home/phobos/Downloads/libevent/event.c:352: undefined reference to
 `clock_gettime'
 /usr/local/lib/libevent.a(event.o): In function `detect_monotonic':
 /home/phobos/Downloads/libevent/event.c:326: undefined reference to
 `clock_gettime'
 collect2: ld returned 1 exit status

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2209>
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