Bug 8436 - Error on building SAMBA 4 FreeBSD
Error on building SAMBA 4 FreeBSD
Product: Samba 4.0
Classification: Unclassified
Component: Build
x64 FreeBSD
: P5 normal
: ---
Assigned To: Andrew Tridgell
Depends on:
  Show dependency treegraph
Reported: 2011-09-06 10:27 UTC by Banderos
Modified: 2011-10-13 08:10 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Banderos 2011-09-06 10:27:32 UTC
Trying to build Samba from git. Get an error on linking stage. Please help.
SAMBA4 - latest from git
CPU: Intel(R) Atom(TM) CPU  330   @ 1.60GHz (1618.36-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs

[3212/3416] Linking default/source3/passdb/pypassdb.so
default/source3/passdb/py_passdb_6.o(.text+0x173b): In function `py_samu_get_user_sid':
../source3/passdb/py_passdb.c:544: undefined reference to `pytalloc_steal'
default/source3/passdb/py_passdb_6.o(.text+0x18fa): In function `py_samu_get_group_sid':
../source3/passdb/py_passdb.c:588: undefined reference to `pytalloc_steal'
default/source3/passdb/py_passdb_6.o(.text+0x28a1): In function `py_samu_new':
../source3/passdb/py_passdb.c:959: undefined reference to `pytalloc_steal'
default/source3/passdb/py_passdb_6.o(.text+0x2a43): In function `py_groupmap_get_sid':
../source3/passdb/py_passdb.c:1011: undefined reference to `pytalloc_steal'
default/source3/passdb/py_passdb_6.o(.text+0x303f): In function `py_groupmap_new':
../source3/passdb/py_passdb.c:1125: undefined reference to `pytalloc_steal'
default/source3/passdb/py_passdb_6.o(.text+0x3235):../source3/passdb/py_passdb.c:1193: more undefined references to `pytalloc_steal' follow
default/source3/passdb/py_passdb_6.o(.text+0x8387): In function `initpassdb':
../source3/passdb/py_passdb.c:3680: undefined reference to `pytalloc_GetObjectType'
Waf: Leaving directory `/usr/local/samba-master/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link py_passdb_6.o -> pypassdb.so}
*** Error code 1

Stop in /usr/local/samba-master.
Comment 1 Matthias Dieter Wallnöfer 2011-09-14 10:54:43 UTC
Please check and update the versions of "pytalloc" and "talloc" if you are using OS-provided versions.
Comment 2 Matthias Dieter Wallnöfer 2011-10-13 08:10:37 UTC
Marking as INVALID since not a real bug (probably outdated packages). If problem persists, please reopen!