Samba 4.0 alpha 17 Build error. (Mandriva 2010.2)

Zombie Ryushu zombie_ryushu at yahoo.com
Wed Sep 14 03:10:14 MDT 2011


Samba 4.0 Alpha 17 produces the following error:


[ 628/3404] Compiling source4/param/pyparam.c
../source4/param/pyparam.c: In function ‘PyLoadparmService_FromService’:
../source4/param/pyparam.c:43: warning: return makes pointer from integer without a cast
../source4/param/pyparam.c: At top level:
../source4/param/pyparam.c:153: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:169: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:181: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:195: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:204: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:213: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:229: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:243: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c: In function ‘py_lp_dump’:
../source4/param/pyparam.c:263: error: expected expression before ‘struct’
../source4/param/pyparam.c: In function ‘py_samdb_url’:
../source4/param/pyparam.c:281: error: expected expression before ‘struct’
../source4/param/pyparam.c: At top level:
../source4/param/pyparam.c:287: error: ‘py_lp_ctx_load’ undeclared here (not in a function)
../source4/param/pyparam.c:290: error: ‘py_lp_ctx_load_default’ undeclared here (not in a function)
../source4/param/pyparam.c:293: error: ‘py_lp_ctx_is_myname’ undeclared here (not in a function)
../source4/param/pyparam.c:296: error: ‘py_lp_ctx_is_mydomain’ undeclared here (not in a function)
../source4/param/pyparam.c:299: error: ‘py_lp_ctx_get’ undeclared here (not in a function)
../source4/param/pyparam.c:302: error: ‘py_lp_ctx_set’ undeclared here (not in a function)
../source4/param/pyparam.c:305: error: ‘py_lp_ctx_private_path’ undeclared here (not in a function)
../source4/param/pyparam.c:307: error: ‘py_lp_ctx_services’ undeclared here (not in a function)
../source4/param/pyparam.c:317: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:322: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:332: error: ‘py_lp_ctx_default_service’ undeclared here (not in a function)
../source4/param/pyparam.c:332: error: initializer element is not constant
../source4/param/pyparam.c:332: error: (near initialization for ‘py_lp_ctx_getset[0].get’)
../source4/param/pyparam.c:333: error: ‘py_lp_ctx_config_file’ undeclared here (not in a function)
../source4/param/pyparam.c:333: error: initializer element is not constant
../source4/param/pyparam.c:333: error: (near initialization for ‘py_lp_ctx_getset[1].get’)
../source4/param/pyparam.c: In function ‘py_lp_ctx_new’:
../source4/param/pyparam.c:340: error: ‘pytalloc_Object’ undeclared (first use in this function)
../source4/param/pyparam.c:340: error: (Each undeclared identifier is reported only once
../source4/param/pyparam.c:340: error: for each function it appears in.)
../source4/param/pyparam.c:340: error: ‘ret’ undeclared (first use in this function)
../source4/param/pyparam.c:340: error: invalid operands to binary * (have ‘struct PyGetSetDef *’ and ‘struct PyGetSetDef *’)
../source4/param/pyparam.c:340: error: expected expression before ‘)’ token
../source4/param/pyparam.c:340: error: invalid operands to binary * (have ‘struct PyGetSetDef *’ and ‘struct PyGetSetDef *’)
../source4/param/pyparam.c:345: error: ‘PyGetSetDef’ has no member named ‘talloc_ctx’
../source4/param/pyparam.c:346: error: ‘PyGetSetDef’ has no member named ‘talloc_ctx’
../source4/param/pyparam.c:350: error: ‘PyGetSetDef’ has no member named ‘ptr’
../source4/param/pyparam.c:351: error: ‘PyGetSetDef’ has no member named ‘ptr’
../source4/param/pyparam.c: At top level:
../source4/param/pyparam.c:358: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:363: error: expected ‘)’ before ‘*’ token
../source4/param/pyparam.c:379: error: ‘py_lp_ctx_len’ undeclared here (not in a function)
../source4/param/pyparam.c:379: error: initializer element is not constant
../source4/param/pyparam.c:379: error: (near initialization for ‘py_lp_ctx_mapping.mp_length’)
../source4/param/pyparam.c:380: error: ‘py_lp_ctx_getitem’ undeclared here (not in a function)
../source4/param/pyparam.c:380: error: initializer element is not constant
../source4/param/pyparam.c:380: error: (near initialization for ‘py_lp_ctx_mapping.mp_subscript’)
../source4/param/pyparam.c:385: error: ‘pytalloc_Object’ undeclared here (not in a function)
../source4/param/pyparam.c:385: error: initializer element is not constant
../source4/param/pyparam.c:385: error: (near initialization for ‘PyLoadparmContext.tp_basicsize’)
../source4/param/pyparam.c: In function ‘py_lp_service_dump’:
../source4/param/pyparam.c:398: error: expected expression before ‘struct’
../source4/param/pyparam.c:398: warning: initialization makes pointer from integer without a cast
../source4/param/pyparam.c:417: error: expected expression before ‘struct’
../source4/param/pyparam.c:417: warning: assignment makes pointer from integer without a cast
../source4/param/pyparam.c: At top level:
../source4/param/pyparam.c:432: error: initializer element is not constant
../source4/param/pyparam.c:432: error: (near initialization for ‘PyLoadparmService.tp_basicsize’)
../source4/param/pyparam.c: In function ‘initparam’:
../source4/param/pyparam.c:465: warning: initialization makes pointer from integer without a cast


More information about the samba-technical mailing list