Maintained by: NLnet Labs

[Unbound-users] Compiling with libev

W.C.A. Wijngaards
Tue Apr 27 09:18:10 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Carsten,

For Ihsan I fixed a Solaris compile with libev just yesterday, and there
are fixes in svn trunk.  Could you try that?

(it detects the libev event.h file and then links with -lev).

Best regards,
   Wouter

On 04/26/2010 04:42 PM, Carsten Strotmann wrote:
> Hello Wouter,
> 
> I try to compile unbound 1.4.3 (and 1.4.4) with libev (instead of
> libevent).
> 
> According to
> http://unbound.net/pipermail/unbound-users/2010-March/001058.html
> 
> I used the "--with-libevent" configure switch to point to the libev
> installation. Configure is reporting:
> 
> checking for libevent... found in /usr/local/libev
> checking for library containing clock_gettime... -lrt
> checking for library containing event_set... no
> checking for event.h... yes
> checking for event_base_free... no
> checking for event_base_once... no
> 
> I get the following compile errors:
> 
> Undefined                       first referenced
>  symbol                             in file
> event_base_loopexit                 build/util/.libs/netevent.o
> event_base_set                      build/util/.libs/netevent.o
> event_base_dispatch                 build/util/.libs/netevent.o
> event_init                          build/util/.libs/netevent.o
> event_get_version                   build/daemon/.libs/unbound.o
> event_set                           build/util/.libs/netevent.o
> event_del                           build/util/.libs/netevent.o
> event_add                           build/util/.libs/netevent.o
> ld: fatal: Symbol referencing errors. No output written to unbound
> collect2: ld returned 1 exit status
> 
> 
> Do you have any hints what might be wrong?
> 
> Best regards
> 
> Carsten
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkvWj7IACgkQkDLqNwOhpPg1aACgpKgAyfjqSmNwDvibDSPG7i7Z
W6oAn0I/E3/nOEkG7s4BRENEDpJIRV7C
=gAsz
-----END PGP SIGNATURE-----