[Zope] Is there a bug in x86_64 platform related with zope 2.7.4.

Andreas Jung lists at andreas-jung.com
Thu Jan 27 10:20:11 EST 2005



--On Mittwoch, 26. Januar 2005 9:37 Uhr +0100 Andreas Jung 
<lists at andreas-jung.com> wrote:
>>
>> AccessControl/cAccessControl.c:2272: warning: data definition has no type
>> or storage class AccessControl/cAccessControl.c:2272: error: syntax error
>> before "if" AccessControl/cAccessControl.c:2272: warning: parameter names
>> (without types) in function declaration
>> AccessControl/cAccessControl.c:2272: warning: data definition has no type
>> or storage class AccessControl/cAccessControl.c:2272: error: conflicting
>> types for 'AcquisitionCAPI'
>> /home/zhouzhen/software/cms/zope/zope27/lib/Components/ExtensionClass/src
>> /Acquisition.h:44: error: previous definition of 'AcquisitionCAPI' was
>> here AccessControl/cAccessControl.c:2272: error: initializer element is
>> not constant AccessControl/cAccessControl.c:2272: warning: data
>> definition has no type or storage class
>> AccessControl/cAccessControl.c:2272: warning: parameter names (without
>> types) in function declaration AccessControl/cAccessControl.c:2272:
>> warning: data definition has no type or storage class
>> AccessControl/cAccessControl.c:2272: error: syntax error before '}' token
>> AccessControl/cAccessControl.c:2275: error: initializer element is not
>> constant AccessControl/cAccessControl.c:2275: warning: data definition
>> has no type or storage class AccessControl/cAccessControl.c:2277: error:
>> syntax error before string constant AccessControl/cAccessControl.c:2278:
>> warning: data definition has no type or storage class
>> AccessControl/cAccessControl.c:2295: error: conflicting types for
>> 'imPermissionRoleObj' AccessControl/cAccessControl.c:659: error: previous
>> definition of 'imPermissionRoleObj' was here
>> AccessControl/cAccessControl.c:2296: error: initializer element is not
>> constant AccessControl/cAccessControl.c:2296: warning: data definition
>> has no type or storage class AccessControl/cAccessControl.c:2298: error:
>> conflicting types for 'aq_validate' AccessControl/cAccessControl.c:674:
>> error: previous definition of 'aq_validate' was here
>> AccessControl/cAccessControl.c:2298: error: initializer element is not
>> constant AccessControl/cAccessControl.c:2298: warning: data definition
>> has no type or storage class AccessControl/cAccessControl.c:2303: error:
>> syntax error before "if" AccessControl/cAccessControl.c:2306: warning:
>> parameter names (without types) in function declaration
>> AccessControl/cAccessControl.c:2306: warning: data definition has no type
>> or storage class AccessControl/cAccessControl.c:2307: error: redefinition
>> of 'module' AccessControl/cAccessControl.c:2268: error: previous
>> definition of 'module' was here AccessControl/cAccessControl.c:2307:
>> warning: initialization makes integer from pointer without a cast
>> AccessControl/cAccessControl.c:2307: warning: data definition has no type
>> or storage class AccessControl/cAccessControl.c:2312: error: syntax error
>> before "if" AccessControl/cAccessControl.c:2314: warning: parameter names
>> (without types) in function declaration
>> AccessControl/cAccessControl.c:2314: warning: data definition has no type
>> or storage class AccessControl/cAccessControl.c:2315: error: redefinition
>> of 'module' AccessControl/cAccessControl.c:2307: error: previous
>> definition of 'module' was here AccessControl/cAccessControl.c:2315:
>> error: redefinition of 'module' AccessControl/cAccessControl.c:2307:
>> error: previous definition of 'module' was here
>> AccessControl/cAccessControl.c:2315: warning: initialization makes
>> integer from pointer without a cast AccessControl/cAccessControl.c:2315:
>> warning: data definition has no type or storage class
>> AccessControl/cAccessControl.c:2320: error: syntax error before "if"
>> AccessControl/cAccessControl.c:2322: warning: parameter names (without
>> types) in function declaration AccessControl/cAccessControl.c:2322:
>> warning: data definition has no type or storage class
>> AccessControl/cAccessControl.c:2323: error: redefinition of 'module'
>> AccessControl/cAccessControl.c:2315: error: previous definition of
>> 'module' was here AccessControl/cAccessControl.c:2323: error:
>> redefinition of 'module' AccessControl/cAccessControl.c:2307: error:
>> previous definition of 'module' was here
>> AccessControl/cAccessControl.c:2323: warning: initialization makes
>> integer from pointer without a cast AccessControl/cAccessControl.c:2323:
>> warning: data definition has no type or storage class
>> AccessControl/cAccessControl.c:2328: error: syntax error before "if"
>> AccessControl/cAccessControl.c:2331: warning: parameter names (without
>> types) in function declaration AccessControl/cAccessControl.c:2331:
>> warning: data definition has no type or storage class
>> AccessControl/cAccessControl.c:2332: error: redefinition of 'module'
>> AccessControl/cAccessControl.c:2323: error: previous definition of
>> 'module' was here AccessControl/cAccessControl.c:2332: error:
>> redefinition of 'module' AccessControl/cAccessControl.c:2307: error:
>> previous definition of 'module' was here
>> AccessControl/cAccessControl.c:2332: warning: initialization makes
>> integer from pointer without a cast AccessControl/cAccessControl.c:2332:
>> warning: data definition has no type or storage class
>> AccessControl/cAccessControl.c:2333: error: syntax error before '}' token
>> error: command 'gcc' failed with exit status 1
>> make: *** [build] Error 1

This looks like a  broken or incomplete gcc installation. I compiled Zope 
2.7
on the x64 Linux this afternoon and did not see any failures.

-aj


More information about the Zope mailing list