samba4 compile fails on centos5.5

Taylor, Jonn jonnt at taylortelephone.com
Sun Jan 23 15:33:44 MST 2011


Unable to compile current git on centos 5.5.

Jonn

[ 815/2402] Compiling auth/pyauth.c
../auth/pyauth.c:93: warning: initialization discards qualifiers from
pointer target type
../auth/pyauth.c: In function ‘py_system_session’:
../auth/pyauth.c:110: warning: passing argument 2 of ‘PyArg_ParseTuple’
discards qualifiers from pointer target type
../auth/pyauth.c: In function ‘py_admin_session’:
../auth/pyauth.c:142: warning: passing argument 2 of ‘PyArg_ParseTuple’
discards qualifiers from pointer target type
../auth/pyauth.c: In function ‘py_user_session’:
../auth/pyauth.c:189: warning: passing argument 3 of
‘PyArg_ParseTupleAndKeywords’ discards qualifiers from pointer target type
../auth/pyauth.c:220: warning: passing argument 1 of ‘Py_BuildValue’
discards qualifiers from pointer target type
../auth/pyauth.c: In function ‘PyList_AsStringList’:
../auth/pyauth.c:234: error: ‘Py_ssize_t’ undeclared (first use in this
function)
../auth/pyauth.c:234: error: (Each undeclared identifier is reported
only once
../auth/pyauth.c:234: error: for each function it appears in.)
../auth/pyauth.c:234: error: expected ‘;’ before ‘i’
../auth/pyauth.c:245: error: ‘i’ undeclared (first use in this function)
../auth/pyauth.c: In function ‘py_auth_context_new’:
../auth/pyauth.c:283: warning: passing argument 3 of
‘PyArg_ParseTupleAndKeywords’ discards qualifiers from pointer target type
../auth/pyauth.c:327: warning: passing argument 1 of ‘Py_BuildValue’
discards qualifiers from pointer target type
../auth/pyauth.c: At top level:
../auth/pyauth.c:350: warning: initialization discards qualifiers from
pointer target type
../auth/pyauth.c:358: warning: initialization discards qualifiers from
pointer target type
../auth/pyauth.c:359: warning: initialization discards qualifiers from
pointer target type
../auth/pyauth.c:360: warning: initialization discards qualifiers from
pointer target type
../auth/pyauth.c:365: warning: no previous prototype for ‘initauth’
../auth/pyauth.c: In function ‘initauth’:
../auth/pyauth.c:382: warning: passing argument 1 of ‘Py_InitModule4’
discards qualifiers from pointer target type
../auth/pyauth.c:382: warning: passing argument 3 of ‘Py_InitModule4’
discards qualifiers from pointer target type
../auth/pyauth.c:388: warning: passing argument 2 of
‘PyModule_AddObject’ discards qualifiers from pointer target type
../auth/pyauth.c:390: warning: passing argument 2 of
‘PyModule_AddObject’ discards qualifiers from pointer target type
../auth/pyauth.c:393: warning: passing argument 2 of
‘PyModule_AddObject’ discards qualifiers from pointer target type
../auth/pyauth.c:394: warning: passing argument 2 of
‘PyModule_AddObject’ discards qualifiers from pointer target type
../auth/pyauth.c:395: warning: passing argument 2 of
‘PyModule_AddObject’ discards qualifiers from pointer target type
Waf: Leaving directory `/usr/src/samba-master/source4/bin'
Build failed: -> task failed (err #1):
{task: cc pyauth.c -> pyauth_11.o}
make: *** [all] Error 1





More information about the samba-technical mailing list