Building master fails on FreeBSD in the new Python code

Alexander Bokovoy ab at samba.org
Fri Mar 10 14:52:17 UTC 2017


On pe, 10 maalis 2017, Ralph Böhme wrote:
> Folks,
> 
> trying to build master on FreeBSD fails since the latest Python patches landed:
> 
> [3377/3570] Linking default/python/libsamba-python-samba4.so
> default/source4/librpc/rpc/pyrpc_util_32.o: In function `pyrpc_import_union':
> /usr/home/slow/git/samba/scratch/bin/../source4/librpc/rpc/pyrpc_util.c:402: undefined reference to `pytalloc_GenericObject_reference_ex'
> /usr/home/slow/git/samba/scratch/bin/../source4/librpc/rpc/pyrpc_util.c:407: undefined reference to `pytalloc_GenericObject_reference_ex'
> default/source4/librpc/rpc/pyrpc_util_32.o: In function `pyrpc_export_union':
> /usr/home/slow/git/samba/scratch/bin/../source4/librpc/rpc/pyrpc_util.c:433: undefined reference to `pytalloc_GenericObject_reference_ex'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> Waf: Leaving directory `/usr/home/slow/git/samba/scratch/bin'
> Build failed:  -> task failed (err #1): 
>         {task: cc_link modules_5.o,pyrpc_util_32.o,samba_python.empty_2.o,pyparam_util_9.o -> libsamba-python-samba4.so}
> 
> Am I missing something?
Do you have system-provided talloc package? If so, please install system
version of pytalloc as well.
-- 
/ Alexander Bokovoy



More information about the samba-technical mailing list