[Samba] python bindings not building in 3.0.25c
Henkel Henning
henkel at hs-furtwangen.de
Mon Aug 27 13:26:43 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
Hi,
this issue is allready fixed in the svn r24635.
Have a look here:
http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_3_0_25/source/python/py_smb.c?rev=24635&r1=21153&r2=24635
Cheers
Henning
More information about the samba
mailing list