Error - FreeBSD 9.0 Won't compile

tms3 at tms3.com tms3 at tms3.com
Wed Jan 25 07:10:08 MST 2012


>
>
> ./configure.developer --prefix=/usr/local/samba4 --without-utmp 
> --disable-cups; make clean; make
>
> Throws a similar error
>
> [3395/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'

That looks familiar, but I don't have a machine to test on...Do you 
have tdb or talloc installed from ports? Uninstall if you do. 
(talloc-2.0.7, tdb-1.2.9,1)

>
> 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
>
>
>
> On 24/01/2012, at 23:33, Stefan (metze) Metzmacher wrote:
>
>>
>> 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
>>
>
>
> Sincerely,
>
> William Brown
>
> Research & Teaching, Technology Services
> The University of Adelaide, AUSTRALIA 5005
>
> CRICOS Provider Number 00123M
> -----------------------------------------------------------------------------
> IMPORTANT: This message may contain confidential or legally privileged
> information. If you think it was sent to you by mistake, please delete 
> all
> copies and advise the sender. For the purposes of the SPAM Act 2003, 
> this
> email is authorised by The University of Adelaide.
>
> pgp.mit.edu
> http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3C0AC6DAB2F928A2
>
>
>
>
>



More information about the samba-technical mailing list