Error - FreeBSD 9.0 Won't compile

Stefan (metze) Metzmacher metze at samba.org
Tue Jan 24 06:03:29 MST 2012


Am 24.01.2012 12:20, schrieb William Brown:
> Thanks to some off-list help, it was avoided with the use of
> 
> ./configure.developer --without-utmp
>
> However, now I get the new error
> 
> [3391/3875] Linking default/lib/libsamba-sockets.so
> default/lib/tsocket/tsocket_helpers_1.o: In function `tdgram_sendto_queue_send':
> /root/samba-master/bin/../lib/tsocket/tsocket_helpers.c:74: undefined reference to `tevent_queue_add_optimize_empty'
> default/lib/tsocket/tsocket_helpers_1.o: In function `tstream_readv_pdu_queue_send':
> /root/samba-master/bin/../lib/tsocket/tsocket_helpers.c:350: undefined reference to `tevent_queue_add_optimize_empty'
> default/lib/tsocket/tsocket_helpers_1.o: In function `tstream_writev_queue_send':
> /root/samba-master/bin/../lib/tsocket/tsocket_helpers.c:461: undefined reference to `tevent_queue_add_optimize_empty'
> Waf: Leaving directory `/root/samba-master/bin'
> Build failed:  -> task failed (err #1): 
> 	{task: cc_link composite_4.o,socket_7.o,access_7.o,connect_multi_7.o,connect_7.o,socket_ip_5.o,tsocket_1.o,tsocket_helpers_1.o,tsocket_bsd_1.o,socket_unix_6.o,resolve_12.o -> libsamba-sockets.so}
> *** Error code 1

The same happens on ubuntu 11.10 if someone has libcups2-dev and
libtevent-dev installed.

Can you try if it works with ./configure.developer --without-utmp
--disable-cups ?

On some systems "cups-config --libs" brings in default library pathes
as explicit -L linker arguments. Which would mean the linker may find
a too old libtevent.so in a system path before finding the private one.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120124/65a28492/attachment.pgp>


More information about the samba-technical mailing list