Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc 3.2



I'm trying to port gcc 3.2(downloaded by cvs) to powerpc-apple-darwin.
The configure phase suceeded but the make phase aborted with the following error :
[.....]
In file included from c-common.c:4072:
builtin-attrs.def:94: parse error before `_0'
builtin-attrs.def:95: redefinition of `ATTR_PRINTF_1'
builtin-attrs.def:94: `ATTR_PRINTF_1' previously defined here
builtin-attrs.def:95: redefinition of `ATTR_FORMAT_PRINTF_1'
builtin-attrs.def:94: `ATTR_FORMAT_PRINTF_1' previously defined here
builtin-attrs.def:97: redefinition of `ATTR_PRINTF_2'
builtin-attrs.def:96: `ATTR_PRINTF_2' previously defined here
builtin-attrs.def:97: redefinition of `ATTR_FORMAT_PRINTF_2'
builtin-attrs.def:96: `ATTR_FORMAT_PRINTF_2' previously defined here
builtin-attrs.def:99: redefinition of `ATTR_PRINTF_3'
builtin-attrs.def:98: `ATTR_PRINTF_3' previously defined here
builtin-attrs.def:99: redefinition of `ATTR_FORMAT_PRINTF_3'
builtin-attrs.def:98: `ATTR_FORMAT_PRINTF_3' previously defined here
builtin-attrs.def:101: redefinition of `ATTR_SCANF_1'
builtin-attrs.def:100: `ATTR_SCANF_1' previously defined here
builtin-attrs.def:101: redefinition of `ATTR_FORMAT_SCANF_1'
builtin-attrs.def:100: `ATTR_FORMAT_SCANF_1' previously defined here
builtin-attrs.def:103: redefinition of `ATTR_SCANF_2'
builtin-attrs.def:102: `ATTR_SCANF_2' previously defined here
builtin-attrs.def:103: redefinition of `ATTR_FORMAT_SCANF_2'
builtin-attrs.def:102: `ATTR_FORMAT_SCANF_2' previously defined here
c-common.c:4145: warning: ANSI C forbids const or volatile functions
In file included from c-common.c:4193:
builtin-attrs.def: In function `c_init_attributes':
builtin-attrs.def:94: parse error before `_0'
builtin-attrs.def:94: parse error before `_0'
builtin-attrs.def:95: parse error before `_2'
builtin-attrs.def:95: parse error before `_2'
builtin-attrs.def:96: parse error before `_0'
builtin-attrs.def:96: parse error before `_0'
builtin-attrs.def:97: parse error before `_3'
builtin-attrs.def:97: parse error before `_3'
builtin-attrs.def:98: parse error before `_0'
builtin-attrs.def:98: parse error before `_0'
builtin-attrs.def:99: parse error before `_4'
builtin-attrs.def:99: parse error before `_4'
builtin-attrs.def:100: parse error before `_0'
builtin-attrs.def:100: parse error before `_0'
builtin-attrs.def:101: parse error before `_2'
builtin-attrs.def:101: parse error before `_2'
builtin-attrs.def:102: parse error before `_0'
builtin-attrs.def:102: parse error before `_0'
builtin-attrs.def:103: parse error before `_3'
builtin-attrs.def:103: parse error before `_3'
builtin-attrs.def:104: parse error before `_0'
builtin-attrs.def:104: parse error before `_0'
builtin-attrs.def:105: parse error before `_4'
builtin-attrs.def:105: parse error before `_4'
In file included from c-common.c:4222:
builtin-attrs.def: In function `c_common_insert_default_attributes':
builtin-attrs.def:126: `ATTR_FORMAT_PRINTF_1_2' undeclared (first use in this function)
builtin-attrs.def:126: (Each undeclared identifier is reported only once
builtin-attrs.def:126: for each function it appears in.)
builtin-attrs.def:127: `ATTR_FORMAT_PRINTF_2_3' undeclared (first use in this function)
builtin-attrs.def:136: `ATTR_FORMAT_SCANF_1_2' undeclared (first use in this function)
builtin-attrs.def:137: `ATTR_FORMAT_SCANF_2_3' undeclared (first use in this function)
builtin-attrs.def:139: `ATTR_FORMAT_PRINTF_1_0' undeclared (first use in this function)
builtin-attrs.def:140: `ATTR_FORMAT_PRINTF_2_0' undeclared (first use in this function)
builtin-attrs.def:142: `ATTR_FORMAT_STRFTIME_3_0' undeclared (first use in this function)
builtin-attrs.def:150: `ATTR_FORMAT_PRINTF_3_4' undeclared (first use in this function)
builtin-attrs.def:151: `ATTR_FORMAT_PRINTF_3_0' undeclared (first use in this function)
builtin-attrs.def:152: `ATTR_FORMAT_SCANF_1_0' undeclared (first use in this function)
builtin-attrs.def:153: `ATTR_FORMAT_SCANF_2_0' undeclared (first use in this function)
builtin-attrs.def:166: `ATTR_FORMAT_STRFMON_3_4' undeclared (first use in this function)
make[1]: *** [c-common.o] Error 1
make: *** [all-gcc] Error 2


I would appreciate if someone could help me

Pierre Vaudrey
email email@hidden
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.





Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.