python error in 3.0.23pre1:

Noèl Köthe noel at
Tue Apr 25 16:37:43 GMT 2006


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

$ python -V
Python 2.3.5
$ gcc --version
gcc (GCC) 4.0.3 (Debian 4.0.3-1)


Noèl Köthe <noel>
Debian GNU/Linux,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url :

More information about the samba-technical mailing list