[Samba] python bindings not building in 3.0.25c

Chris Smith smb23 at realcomputerguy.com
Sat Aug 25 16:51:22 GMT 2007


building 'smb' extension
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -march=nocona -O2 -fomit-frame-pointer -pipe -D_SAMBA_BUILD_=3 -fPIC -I/usr/include/python2.5 -c 
python/py_smb.c -o 
build/temp.linux-x86_64-2.5/python/py_smb.o -march=nocona -O2 -fomit-frame-pointer -pipe -D_SAMBA_BUILD_=3 -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -march=nocona -O2 -fomit-frame-pointer -pipe -D_SAMBA_BUILD_=3 -I/var/tmp/portage/net-fs/samba-3.0.25c/work/samba-3.0.25c/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/var/tmp/portage/net-fs/samba-3.0.25c/work/samba-3.0.25c/source/lib -D_SAMBA_BUILD_=3
python/py_smb.c: In function ‘py_smb_connect’:
python/py_smb.c:51: error: wrong type argument to unary exclamation mark
python/py_smb.c: In function ‘py_smb_session_request’:
python/py_smb.c:71: warning: assignment discards qualifiers from pointer 
target type
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
make: *** [python_ext] Error 1

-- 
Chris


More information about the samba mailing list