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

[Libevent-users] Installing libevent-2.0.19-stable Regress Failure



I don't understand why when I'm trying to install libevent-2.0.19 on Fedora Linux but I receive the following error with "make verify". And when I try to compile the code it says:

$ gcc test.c -o test.o

tcp_libevent.c:(.text+0xb2): undefined reference to `event_new'
tcp_libevent.c:(.text+0x10a): undefined reference to `event_new'
tcp_libevent.c:(.text+0x133): undefined reference to `event_free'
/tmp/ccl5EQrn.o: In function `free_fd_state':
tcp_libevent.c:(.text+0x1cb): undefined reference to `event_free'
tcp_libevent.c:(.text+0x1dc): undefined reference to `event_free'
/tmp/ccl5EQrn.o: In function `do_read':
tcp_libevent.c:(.text+0x30e): undefined reference to `event_add'
/tmp/ccl5EQrn.o: In function `do_write':
tcp_libevent.c:(.text+0x4ae): undefined reference to `event_del'
/tmp/ccl5EQrn.o: In function `do_accept':
tcp_libevent.c:(.text+0x530): undefined reference to `evutil_make_socket_nonblocking'
tcp_libevent.c:(.text+0x5b9): undefined reference to `event_add'
/tmp/ccl5EQrn.o: In function `run':
tcp_libevent.c:(.text+0x5c6): undefined reference to `event_base_new'
tcp_libevent.c:(.text+0x61a): undefined reference to `evutil_make_socket_nonblocking'
tcp_libevent.c:(.text+0x6c5): undefined reference to `event_new'
tcp_libevent.c:(.text+0x6db): undefined reference to `event_add'
tcp_libevent.c:(.text+0x6e6): undefined reference to `event_base_dispatch'
collect2: ld returned 1 exit status

============================================================================

$ ./make verify

Running tests:
EVPORT
Skipping test
KQUEUE
Skipping test
EPOLL
 test-eof: OKAY
 test-weof: OKAY
 test-time: OKAY
 test-changelist: OKAY
 regress: 
  FAIL regress_dns.c:1147: assert(n_dns == 2): 4 vs 2dns/bufferevent_connect_hostname: 
  [bufferevent_connect_hostname FAILED]
1/171 TESTS FAILED. (1 skipped)
FAILED
EPOLL (changelist)
 test-eof: OKAY
 test-weof: OKAY
 test-time: OKAY
 test-changelist: OKAY
 regress: 
  FAIL regress_dns.c:1147: assert(n_dns == 2): 4 vs 2dns/bufferevent_connect_hostname: 
  [bufferevent_connect_hostname FAILED]
1/171 TESTS FAILED. (1 skipped)
FAILED
DEVPOLL
Skipping test
POLL
 test-eof: OKAY
 test-weof: OKAY
 test-time: OKAY
 test-changelist: OKAY
 regress: 
  FAIL regress_dns.c:1147: assert(n_dns == 2): 4 vs 2dns/bufferevent_connect_hostname: 
  [bufferevent_connect_hostname FAILED]
1/171 TESTS FAILED. (1 skipped)
FAILED
SELECT
 test-eof: OKAY
 test-weof: OKAY
 test-time: OKAY
 test-changelist: OKAY
 regress: 
  FAIL regress_dns.c:1147: assert(n_dns == 2): 4 vs 2dns/bufferevent_connect_hostname: 
  [bufferevent_connect_hostname FAILED]
1/171 TESTS FAILED. (1 skipped)
FAILED
WIN32
Skipping test
FAIL: ../test/test.sh
==================
1 of 1 test failed
==================