python error in 3.0.23pre1:

Guenther Deschner gd at
Tue Apr 25 17:45:42 GMT 2006


On Tue, Apr 25, 2006 at 06:37:43PM +0200, Noèl Köthe wrote:
> Hello,
> 3.0.23pre1 build failed on Debian sid/unstable with:
> building 'tdb' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.3 -c python/py_tdb.c -o build/temp.linux-i686-2.3/python/py_tdb.o -g -Wall -O2 -D_SAMBA_BUILD_ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -g -Wall -O2 -D_SAMBA_BUILD_ -I./iniparser/src -Iinclude -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source/include -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source/tdb -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -I/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source -D_SAMBA_BUILD_
> In file included from /usr/include/python2.3/Python.h:8,
>                  from python/py_tdb.c:34:
> /usr/include/python2.3/pyconfig.h:853:1: warning: "_POSIX_C_SOURCE" redefined
> In file included from /usr/include/sys/types.h:27,
>                  from include/includes.h:94,
>                  from python/py_tdb.c:25:
> /usr/include/features.h:150:1: warning: this is the location of the previous definition
> python/py_tdb.c: In function ‘py_tdb_hnd_lock_bystring’:
> python/py_tdb.c:497: error: too many arguments to function ‘tdb_lock_bystring’
> error: command 'gcc' failed with exit status 1
> make[1]: *** [python_ext] Fehler 1
> make[1]: Leaving directory `/home/nk/debian/samba/samba-3.0.23pre1/samba-3.0.23pre1/source'
> make: *** [build-stamp] Fehler 2

This has already been fixed by Lars Mueller and is in subversion:


Günther Deschner                    GPG-ID: 8EE11688
Novell / SUSE LINUX                       gd at
Samba Team                              gd at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list