some help for building samba4 on mac os X 10.6

Jelmer Vernooij jelmer at samba.org
Fri Oct 15 16:07:49 MDT 2010


Hi Matthieu,

On Sat, 2010-10-16 at 02:05 +0400, Matthieu Patou wrote:
> I have this:
> WAF_MAKE=1 ../buildtools/bin/waf build
> Waf: Entering directory `/Users/mat/samba4/source4/bin'
> [   5/2211] Generating VERSION
> [2124/2211] Linking default/source4/lib/registry/py-registry.so
> [2125/2211] Linking default/source4/rpc_server/libdcerpc-server.dylib
> Undefined symbols:
>    "_PyErr_Format", referenced from:
>        _py_lp_ctx_load in pyparam_6.o
>        _lpcfg_from_py_object in pyparam_util_14.o
>    "_PyList_SetItem", referenced from:
>        _py_lp_ctx_get_helper in pyparam_6.o
>        _py_lp_ctx_services in pyparam_6.o
>    "_PyObject_GetIter", referenced from:
>        _wsgi_process_http_input in wsgi_1.o
>    "__Py_TrueStruct", referenced from:
>        _create_environ in wsgi_1.o
>    "_PyType_IsSubtype", referenced from:
>        _py_lp_service_dump in pyparam_6.o
>        _lpcfg_from_py_object in pyparam_util_14.o
>    "_PyErr_Print", referenced from:
>        _provision_bare in provision_6.o
>        _provision_bare in provision_6.o
>        _provision_bare in provision_6.o
>        _provision_store_self_join in provision_6.o
>        _provision_store_self_join in provision_6.o
>        _provision_store_self_join in provision_6.o
>        _provision_get_schema in provision_6.o
>        _provision_get_schema in provision_6.o
>        _provision_get_schema in provision_6.o
>    "_PyDict_GetItemString", referenced from:
>        _provision_bare in provision_6.o
> 
> All the log is in file log attached.
> Can someone help me ?
It looks like these files are all not linking against libpython (those
symbols are all in that library). The pyext waf feature should be taking
care of this (and is working on Linux). I'd recommend checking with one
of our resident waf experts (hi tridge :-).

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101016/4090d021/attachment.pgp>


More information about the samba-technical mailing list