This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crtstuff.c :300: erro r‏


Hello All,
 
I have gcc-4.6.1. Now I am trying to install gcc-3.4.6 for sake of msp430x. I received many errors. The last one was following:
 
./crtstuff.c:300: error: syntax error before '{' token
 
 
These what I could copy from my terminal:
 
/usr/include/unistd.h:1019: error: syntax error before "__off64_t"
/usr/include/unistd.h:1020: error: storage class specified for parameter `truncate64'
/usr/include/unistd.h:1029: error: syntax error before "__off_t"
/usr/include/unistd.h:1029: error: storage class specified for parameter `ftruncate'
/usr/include/unistd.h:1039: error: syntax error before "__off64_t"
/usr/include/unistd.h:1039: error: storage class specified for parameter `ftruncate64'
/usr/include/unistd.h:1050: error: storage class specified for parameter `brk'
/usr/include/unistd.h:1050: error: syntax error before "__THROW"
/usr/include/unistd.h:1056: error: syntax error before "__delta"
/usr/include/unistd.h:1056: error: storage class specified for parameter `sbrk'
/usr/include/unistd.h:1071: error: storage class specified for parameter `syscall'
/usr/include/unistd.h:1071: error: syntax error before "__THROW"
/usr/include/unistd.h:1094: error: syntax error before "__off_t"
/usr/include/unistd.h:1094: error: storage class specified for parameter `lockf'
/usr/include/unistd.h:1104: error: syntax error before "__off64_t"
/usr/include/unistd.h:1104: error: storage class specified for parameter `lockf64'
/usr/include/unistd.h:1125: error: storage class specified for parameter `fdatasync'
/usr/include/unistd.h:1134: error: storage class specified for parameter `crypt'
/usr/include/unistd.h:1134: error: syntax error before "__THROW"
/usr/include/unistd.h:1138: error: storage class specified for parameter `encrypt'
/usr/include/unistd.h:1138: error: syntax error before "__THROW"
/usr/include/unistd.h:1146: error: syntax error before "ssize_t"
/usr/include/unistd.h:1146: error: storage class specified for parameter `swab'
/usr/include/unistd.h:1154: error: storage class specified for parameter `ctermid'
/usr/include/unistd.h:1154: error: redefinition of parameter 'ctermid'
/usr/include/stdio.h:878: error: previous definition of 'ctermid' was here
/usr/include/unistd.h:1154: error: syntax error before "__THROW"
In file included from /opt/gcc-3.4.6/gcc/include/limits.h:122,
???????????????? from /opt/gcc-3.4.6/gcc/include/syslimits.h:7,
???????????????? from /opt/gcc-3.4.6/gcc/include/limits.h:11,
???????????????? from ./tsystem.h:97,
???????????????? from ./crtstuff.c:62:
/usr/include/limits.h:145:30: bits/posix1_lim.h: No such file or directory
/usr/include/limits.h:149:30: bits/posix2_lim.h: No such file or directory
/usr/include/limits.h:153:29: bits/xopen_lim.h: No such file or directory
In file included from ./tsystem.h:100,
???????????????? from ./crtstuff.c:62:
/usr/include/time.h:42:24: bits/time.h: No such file or directory
In file included from ./tsystem.h:100,
???????????????? from ./crtstuff.c:62:
/usr/include/time.h:104: error: storage class specified for parameter `__timer_t'
/usr/include/time.h:104: error: syntax error before "timer_t"
/usr/include/time.h:122: error: syntax error before "__time_t"
/usr/include/time.h:124: error: syntax error before '}' token
/usr/include/time.h:152: error: syntax error before '}' token
/usr/include/time.h:165: error: syntax error before '}' token
/usr/include/time.h:180: error: syntax error before "__BEGIN_NAMESPACE_STD"
/usr/include/time.h:186: error: storage class specified for parameter `time_t'
/usr/include/time.h:186: error: syntax error before "time"
/usr/include/time.h:189: error: syntax error before "__time1"
/usr/include/time.h:190: error: storage class specified for parameter `difftime'
/usr/include/time.h:193: error: storage class specified for parameter `time_t'
/usr/include/time.h:193: error: redefinition of parameter 'time_t'
/usr/include/time.h:186: error: previous definition of 'time_t' was here
/usr/include/time.h:193: error: syntax error before "mktime"
/usr/include/time.h:201: error: storage class specified for parameter `strftime'
/usr/include/time.h:201: error: syntax error before "__THROW"
/usr/include/time.h:220: error: syntax error before "__locale_t"
/usr/include/time.h:220: error: storage class specified for parameter `strftime_l'
/usr/include/time.h:226: error: syntax error before "__locale_t"
/usr/include/time.h:226: error: storage class specified for parameter `strptime_l'
/usr/include/time.h:237: error: syntax error before '*' token
/usr/include/time.h:237: error: storage class specified for parameter `localtime'
/usr/include/time.h:248: error: syntax error before '*' token
/usr/include/time.h:249: error: storage class specified for parameter `localtime_r'
/usr/include/time.h:258: error: syntax error before '*' token
/usr/include/time.h:258: error: storage class specified for parameter `ctime'
/usr/include/time.h:270: error: syntax error before '*' token
/usr/include/time.h:271: error: storage class specified for parameter `ctime_r'
/usr/include/time.h:276: error: storage class specified for parameter `__tzname'
/usr/include/time.h:277: error: storage class specified for parameter `__daylight'
/usr/include/time.h:278: error: storage class specified for parameter `__timezone'
/usr/include/time.h:283: error: storage class specified for parameter `tzname'
/usr/include/time.h:287: error: storage class specified for parameter `tzset'
/usr/include/time.h:287: error: syntax error before "__THROW"
/usr/include/time.h:291: error: storage class specified for parameter `daylight'
/usr/include/time.h:292: error: storage class specified for parameter `timezone'
/usr/include/time.h:298: error: syntax error before '*' token
/usr/include/time.h:298: error: storage class specified for parameter `stime'
/usr/include/time.h:313: error: storage class specified for parameter `time_t'
/usr/include/time.h:313: error: redefinition of parameter 'time_t'
/usr/include/time.h:193: error: previous definition of 'time_t' was here
/usr/include/time.h:313: error: syntax error before "timegm"
/usr/include/time.h:316: error: storage class specified for parameter `time_t'
/usr/include/time.h:316: error: redefinition of parameter 'time_t'
/usr/include/time.h:313: error: previous definition of 'time_t' was here
/usr/include/time.h:316: error: syntax error before "timelocal"
/usr/include/time.h:319: error: storage class specified for parameter `dysize'
/usr/include/time.h:319: error: syntax error before "__THROW"
/usr/include/time.h:329: error: storage class specified for parameter `nanosleep'
/usr/include/time.h:333: error: syntax error before "__clock_id"
/usr/include/time.h:333: error: storage class specified for parameter `clock_getres'
/usr/include/time.h:336: error: syntax error before "__clock_id"
/usr/include/time.h:336: error: storage class specified for parameter `clock_gettime'
/usr/include/time.h:339: error: syntax error before "__clock_id"
/usr/include/time.h:340: error: storage class specified for parameter `clock_settime'
/usr/include/time.h:347: error: syntax error before "__clock_id"
/usr/include/time.h:349: error: storage class specified for parameter `clock_nanosleep'
/usr/include/time.h:352: error: syntax error before "__pid"
/usr/include/time.h:352: error: storage class specified for parameter `clock_getcpuclockid'
/usr/include/time.h:357: error: syntax error before "__clock_id"
/usr/include/time.h:359: error: storage class specified for parameter `timer_create'
/usr/include/time.h:362: error: syntax error before "__timerid"
/usr/include/time.h:362: error: storage class specified for parameter `timer_delete'
/usr/include/time.h:365: error: syntax error before "__timerid"
/usr/include/time.h:367: error: storage class specified for parameter `timer_settime'
/usr/include/time.h:370: error: syntax error before "__timerid"
/usr/include/time.h:371: error: storage class specified for parameter `timer_gettime'
/usr/include/time.h:374: error: syntax error before "__timerid"
/usr/include/time.h:374: error: storage class specified for parameter `timer_getoverrun'
/usr/include/time.h:390: error: storage class specified for parameter `getdate_err'
/usr/include/time.h:399: error: storage class specified for parameter `getdate'
/usr/include/time.h:414: error: storage class specified for parameter `getdate_r'
/usr/include/time.h:417: error: syntax error before "__END_DECLS"
In file included from ./crtstuff.c:63:
./coretypes.h:56: warning: empty declaration
./coretypes.h:57: warning: empty declaration
In file included from ./tm.h:4,
???????????????? from ./crtstuff.c:64:
./config/i386/i386.h:87: warning: structure defined inside parms
./config/i386/i386.h:87: warning: empty declaration
./config/i386/i386.h:89: error: storage class specified for parameter `ix86_cost'
./config/i386/i386.h:93: error: storage class specified for parameter `target_flags'
./config/i386/i386.h:224: error: storage class specified for parameter `x86_use_leave'
./config/i386/i386.h:224: error: storage class specified for parameter `x86_push_memory'
./config/i386/i386.h:224: error: storage class specified for parameter `x86_zero_extend_with_and'
./config/i386/i386.h:225: error: storage class specified for parameter `x86_use_bit_test'
./config/i386/i386.h:225: error: storage class specified for parameter `x86_cmove'
./config/i386/i386.h:225: error: storage class specified for parameter `x86_deep_branch'
./config/i386/i386.h:226: error: storage class specified for parameter `x86_branch_hints'
./config/i386/i386.h:226: error: storage class specified for parameter `x86_unroll_strlen'
./config/i386/i386.h:227: error: storage class specified for parameter `x86_double_with_add'
./config/i386/i386.h:227: error: storage class specified for parameter `x86_partial_reg_stall'
./config/i386/i386.h:227: error: storage class specified for parameter `x86_movx'
./config/i386/i386.h:228: error: storage class specified for parameter `x86_use_loop'
./config/i386/i386.h:228: error: storage class specified for parameter `x86_use_fiop'
./config/i386/i386.h:228: error: storage class specified for parameter `x86_use_mov0'
./config/i386/i386.h:229: error: storage class specified for parameter `x86_use_cltd'
./config/i386/i386.h:229: error: storage class specified for parameter `x86_read_modify_write'
./config/i386/i386.h:230: error: storage class specified for parameter `x86_read_modify'
./config/i386/i386.h:230: error: storage class specified for parameter `x86_split_long_moves'
./config/i386/i386.h:231: error: storage class specified for parameter `x86_promote_QImode'
./config/i386/i386.h:231: error: storage class specified for parameter `x86_single_stringop'
./config/i386/i386.h:231: error: storage class specified for parameter `x86_fast_prefix'
./config/i386/i386.h:232: error: storage class specified for parameter `x86_himode_math'
./config/i386/i386.h:232: error: storage class specified for parameter `x86_qimode_math'
./config/i386/i386.h:232: error: storage class specified for parameter `x86_promote_qi_regs'
./config/i386/i386.h:233: error: storage class specified for parameter `x86_promote_hi_regs'
./config/i386/i386.h:233: error: storage class specified for parameter `x86_integer_DFmode_moves'
./config/i386/i386.h:234: error: storage class specified for parameter `x86_add_esp_4'
./config/i386/i386.h:234: error: storage class specified for parameter `x86_add_esp_8'
./config/i386/i386.h:234: error: storage class specified for parameter `x86_sub_esp_4'
./config/i386/i386.h:234: error: storage class specified for parameter `x86_sub_esp_8'
./config/i386/i386.h:235: error: storage class specified for parameter `x86_partial_reg_dependency'
./config/i386/i386.h:235: error: storage class specified for parameter `x86_memory_mismatch_stall'
./config/i386/i386.h:236: error: storage class specified for parameter `x86_accumulate_outgoing_args'
./config/i386/i386.h:236: error: storage class specified for parameter `x86_prologue_using_move'
./config/i386/i386.h:237: error: storage class specified for parameter `x86_epilogue_using_move'
./config/i386/i386.h:237: error: storage class specified for parameter `x86_decompose_lea'
./config/i386/i386.h:238: error: storage class specified for parameter `x86_arch_always_fancy_math_387'
./config/i386/i386.h:238: error: storage class specified for parameter `x86_shift1'
./config/i386/i386.h:239: error: storage class specified for parameter `x86_sse_partial_reg_dependency'
./config/i386/i386.h:239: error: storage class specified for parameter `x86_sse_partial_regs'
./config/i386/i386.h:240: error: storage class specified for parameter `x86_sse_typeless_stores'
./config/i386/i386.h:240: error: storage class specified for parameter `x86_sse_load0_by_pxor'
./config/i386/i386.h:241: error: storage class specified for parameter `x86_use_ffreep'
./config/i386/i386.h:241: error: storage class specified for parameter `x86_sse_partial_regs_for_cvtsd2ss'
./config/i386/i386.h:242: error: storage class specified for parameter `x86_inter_unit_moves'
./config/i386/i386.h:243: error: storage class specified for parameter `x86_prefetch_sse'
./config/i386/i386.h:1304: warning: enum defined inside parms
./config/i386/i386.h:1304: warning: empty declaration
./config/i386/i386.h:1767: warning: structure defined inside parms
./config/i386/i386.h:1767: error: storage class specified for parameter `CUMULATIVE_ARGS'
./config/i386/i386.h:2544: warning: enum defined inside parms
./config/i386/i386.h:2544: warning: empty declaration
./config/i386/i386.h:2788: error: storage class specified for parameter `dbx_register_map'
./config/i386/i386.h:2789: error: storage class specified for parameter `dbx64_register_map'
./config/i386/i386.h:2790: error: storage class specified for parameter `svr4_dbx_register_map'
./config/i386/i386.h:3017: warning: enum defined inside parms
./config/i386/i386.h:3017: warning: empty declaration
./config/i386/i386.h:3019: error: storage class specified for parameter `ix86_tune'
./config/i386/i386.h:3020: error: storage class specified for parameter `ix86_tune_string'
./config/i386/i386.h:3022: error: storage class specified for parameter `ix86_arch'
./config/i386/i386.h:3023: error: storage class specified for parameter `ix86_arch_string'
./config/i386/i386.h:3029: warning: enum defined inside parms
./config/i386/i386.h:3029: warning: empty declaration
./config/i386/i386.h:3031: error: storage class specified for parameter `ix86_fpmath'
./config/i386/i386.h:3032: error: storage class specified for parameter `ix86_fpmath_string'
./config/i386/i386.h:3038: warning: enum defined inside parms
./config/i386/i386.h:3038: warning: empty declaration
./config/i386/i386.h:3040: error: storage class specified for parameter `ix86_tls_dialect'
./config/i386/i386.h:3041: error: storage class specified for parameter `ix86_tls_dialect_string'
./config/i386/i386.h:3050: warning: enum defined inside parms
./config/i386/i386.h:3050: warning: empty declaration
./config/i386/i386.h:3052: error: storage class specified for parameter `ix86_cmodel'
./config/i386/i386.h:3053: error: storage class specified for parameter `ix86_cmodel_string'
./config/i386/i386.h:3063: warning: enum defined inside parms
./config/i386/i386.h:3063: warning: empty declaration
./config/i386/i386.h:3065: error: storage class specified for parameter `ix86_asm_string'
./config/i386/i386.h:3066: error: storage class specified for parameter `ix86_asm_dialect'
./config/i386/i386.h:3068: error: storage class specified for parameter `ix86_regparm'
./config/i386/i386.h:3069: error: storage class specified for parameter `ix86_regparm_string'
./config/i386/i386.h:3071: error: storage class specified for parameter `ix86_preferred_stack_boundary'
./config/i386/i386.h:3072: error: storage class specified for parameter `ix86_preferred_stack_boundary_string'
./config/i386/i386.h:3074: error: storage class specified for parameter `ix86_branch_cost'
./config/i386/i386.h:3075: error: storage class specified for parameter `ix86_branch_cost_string'
./config/i386/i386.h:3077: error: storage class specified for parameter `ix86_debug_arg_string'
./config/i386/i386.h:3078: error: storage class specified for parameter `ix86_debug_addr_string'
./config/i386/i386.h:3081: error: storage class specified for parameter `ix86_align_loops_string'
./config/i386/i386.h:3082: error: storage class specified for parameter `ix86_align_jumps_string'
./config/i386/i386.h:3083: error: storage class specified for parameter `ix86_align_funcs_string'
./config/i386/i386.h:3086: error: storage class specified for parameter `regclass_map'
./config/i386/i386.h:3088: error: storage class specified for parameter `ix86_compare_op0'
./config/i386/i386.h:3089: error: storage class specified for parameter `ix86_compare_op1'
./config/i386/i386.h:3106: warning: enum defined inside parms
./config/i386/i386.h:3106: warning: empty declaration
./config/i386/i386.h:3180: warning: structure defined inside parms
./config/i386/i386.h:3180: warning: empty declaration
In file included from ./crtstuff.c:65:
./unwind-dw2-fde.h:40: warning: structure defined inside parms
./unwind-dw2-fde.h:40: warning: empty declaration
./unwind-dw2-fde.h:62: warning: structure defined inside parms
./unwind-dw2-fde.h:71: warning: structure defined inside parms
./unwind-dw2-fde.h:71: warning: empty declaration
./unwind-dw2-fde.h:85: warning: structure defined inside parms
./unwind-dw2-fde.h:85: warning: empty declaration
./unwind-dw2-fde.h:92: warning: structure defined inside parms
./unwind-dw2-fde.h:92: warning: empty declaration
./unwind-dw2-fde.h:96: error: storage class specified for parameter `__register_frame_info_bases'
./unwind-dw2-fde.h:97: error: storage class specified for parameter `__register_frame_info'
./unwind-dw2-fde.h:98: error: storage class specified for parameter `__register_frame'
./unwind-dw2-fde.h:100: error: storage class specified for parameter `__register_frame_info_table_bases'
./unwind-dw2-fde.h:101: error: storage class specified for parameter `__register_frame_info_table'
./unwind-dw2-fde.h:102: error: storage class specified for parameter `__register_frame_table'
./unwind-dw2-fde.h:103: error: storage class specified for parameter `__deregister_frame_info'
./unwind-dw2-fde.h:104: error: storage class specified for parameter `__deregister_frame_info_bases'
./unwind-dw2-fde.h:105: error: storage class specified for parameter `__deregister_frame'
./unwind-dw2-fde.h:108: error: storage class specified for parameter `sword'
./unwind-dw2-fde.h:109: error: storage class specified for parameter `uword'
./unwind-dw2-fde.h:110: error: storage class specified for parameter `uaddr'
./unwind-dw2-fde.h:111: error: storage class specified for parameter `saddr'
./unwind-dw2-fde.h:112: error: storage class specified for parameter `ubyte'
./unwind-dw2-fde.h:138: error: syntax error before "uword"
./unwind-dw2-fde.h:138: warning: no semicolon at end of struct or union
./unwind-dw2-fde.h:142: error: syntax error before '}' token
./unwind-dw2-fde.h:147: error: syntax error before "uword"
./unwind-dw2-fde.h:147: warning: no semicolon at end of struct or union
./unwind-dw2-fde.h:150: error: syntax error before '}' token
./unwind-dw2-fde.h:152: error: storage class specified for parameter `fde'
./unwind-dw2-fde.h:158: error: storage class specified for parameter `get_cie'
./unwind-dw2-fde.h:158: error: syntax error before '{' token
./unwind-dw2-fde.h:171: warning: type defaults to `int' in declaration of `fde'
./unwind-dw2-fde.h:171: error: syntax error before '*' token
./unwind-dw2-fde.h:172: error: storage class specified for parameter `last_fde'
./unwind-dw2-fde.h:172: warning: function declaration isn't a prototype
In file included from /usr/include/elf.h:30,
???????????????? from /usr/include/link.h:25,
???????????????? from ./crtstuff.c:86:
/usr/include/stdint.h:27:24: bits/wchar.h: No such file or directory
/usr/include/stdint.h:28:27: bits/wordsize.h: No such file or directory
In file included from /usr/include/elf.h:30,
???????????????? from /usr/include/link.h:25,
???????????????? from ./crtstuff.c:86:
/usr/include/stdint.h:38: error: storage class specified for parameter `int16_t'
/usr/include/stdint.h:39: error: storage class specified for parameter `int32_t'
/usr/include/stdint.h:43: error: syntax error before "__extension__"
/usr/include/stdint.h:49: error: storage class specified for parameter `uint8_t'
/usr/include/stdint.h:50: error: storage class specified for parameter `uint16_t'
/usr/include/stdint.h:52: error: storage class specified for parameter `uint32_t'
/usr/include/stdint.h:58: error: syntax error before "__extension__"
/usr/include/stdint.h:66: error: storage class specified for parameter `int_least8_t'
/usr/include/stdint.h:67: error: storage class specified for parameter `int_least16_t'
/usr/include/stdint.h:68: error: storage class specified for parameter `int_least32_t'
/usr/include/stdint.h:72: error: syntax error before "__extension__"
/usr/include/stdint.h:77: error: storage class specified for parameter `uint_least8_t'
/usr/include/stdint.h:78: error: storage class specified for parameter `uint_least16_t'
/usr/include/stdint.h:79: error: storage class specified for parameter `uint_least32_t'
/usr/include/stdint.h:83: error: syntax error before "__extension__"
/usr/include/stdint.h:91: error: storage class specified for parameter `int_fast8_t'
/usr/include/stdint.h:97: error: storage class specified for parameter `int_fast16_t'
/usr/include/stdint.h:98: error: storage class specified for parameter `int_fast32_t'
/usr/include/stdint.h:99: error: syntax error before "__extension__"
/usr/include/stdint.h:104: error: storage class specified for parameter `uint_fast8_t'
/usr/include/stdint.h:110: error: storage class specified for parameter `uint_fast16_t'
/usr/include/stdint.h:111: error: storage class specified for parameter `uint_fast32_t'
/usr/include/stdint.h:112: error: syntax error before "__extension__"
/usr/include/stdint.h:129: error: storage class specified for parameter `uintptr_t'
/usr/include/stdint.h:138: error: syntax error before "__extension__"
In file included from /usr/include/link.h:25,
???????????????? from ./crtstuff.c:86:
/usr/include/elf.h:33: error: storage class specified for parameter `uint16_t'
/usr/include/elf.h:33: error: conflicting types for 'uint16_t'
/usr/include/stdint.h:50: error: previous definition of 'uint16_t' was here
/usr/include/elf.h:33: error: syntax error before "Elf32_Half"
/usr/include/elf.h:34: error: storage class specified for parameter `uint16_t'
/usr/include/elf.h:34: error: redefinition of parameter 'uint16_t'
/usr/include/elf.h:33: error: previous definition of 'uint16_t' was here
/usr/include/elf.h:34: error: syntax error before "Elf64_Half"
/usr/include/elf.h:37: error: storage class specified for parameter `uint32_t'
/usr/include/elf.h:37: error: conflicting types for 'uint32_t'
/usr/include/stdint.h:52: error: previous definition of 'uint32_t' was here
/usr/include/elf.h:37: error: syntax error before "Elf32_Word"
/usr/include/elf.h:38: error: storage class specified for parameter `int32_t'
/usr/include/elf.h:38: error: redefinition of parameter 'int32_t'
/usr/include/stdint.h:39: error: previous definition of 'int32_t' was here
/usr/include/elf.h:38: error: syntax error before "Elf32_Sword"
/usr/include/elf.h:39: error: storage class specified for parameter `uint32_t'
/usr/include/elf.h:39: error: redefinition of parameter 'uint32_t'
/usr/include/elf.h:37: error: previous definition of 'uint32_t' was here
/usr/include/elf.h:39: error: syntax error before "Elf64_Word"
/usr/include/elf.h:40: error: storage class specified for parameter `int32_t'
/usr/include/elf.h:40: error: redefinition of parameter 'int32_t'
/usr/include/elf.h:38: error: previous definition of 'int32_t' was here
/usr/include/elf.h:40: error: syntax error before "Elf64_Sword"
/usr/include/elf.h:43: error: storage class specified for parameter `uint64_t'
/usr/include/elf.h:43: error: syntax error before "Elf32_Xword"
/usr/include/elf.h:44: error: storage class specified for parameter `int64_t'
/usr/include/elf.h:44: error: syntax error before "Elf32_Sxword"
/usr/include/elf.h:45: error: storage class specified for parameter `uint64_t'
/usr/include/elf.h:45: error: redefinition of parameter 'uint64_t'
/usr/include/elf.h:43: error: previous definition of 'uint64_t' was here
/usr/include/elf.h:45: error: syntax error before "Elf64_Xword"
/usr/include/elf.h:46: error: storage class specified for parameter `int64_t'
/usr/include/elf.h:46: error: redefinition of parameter 'int64_t'
/usr/include/elf.h:44: error: previous definition of 'int64_t' was here
/usr/include/elf.h:46: error: syntax error before "Elf64_Sxword"
/usr/include/elf.h:49: error: storage class specified for parameter `uint32_t'
/usr/include/elf.h:49: error: redefinition of parameter 'uint32_t'
/usr/include/elf.h:39: error: previous definition of 'uint32_t' was here
/usr/include/elf.h:49: error: syntax error before "Elf32_Addr"
/usr/include/elf.h:50: error: storage class specified for parameter `uint64_t'
/usr/include/elf.h:50: error: redefinition of parameter 'uint64_t'
/usr/include/elf.h:45: error: previous definition of 'uint64_t' was here
/usr/include/elf.h:50: error: syntax error before "Elf64_Addr"
/usr/include/elf.h:53: error: storage class specified for parameter `uint32_t'
/usr/include/elf.h:53: error: redefinition of parameter 'uint32_t'
/usr/include/elf.h:49: error: previous definition of 'uint32_t' was here
/usr/include/elf.h:53: error: syntax error before "Elf32_Off"
/usr/include/elf.h:54: error: storage class specified for parameter `uint64_t'
/usr/include/elf.h:54: error: redefinition of parameter 'uint64_t'
/usr/include/elf.h:50: error: previous definition of 'uint64_t' was here
/usr/include/elf.h:54: error: syntax error before "Elf64_Off"
/usr/include/elf.h:57: error: storage class specified for parameter `uint16_t'
/usr/include/elf.h:57: error: redefinition of parameter 'uint16_t'
/usr/include/elf.h:34: error: previous definition of 'uint16_t' was here
/usr/include/elf.h:57: error: syntax error before "Elf32_Section"
/usr/include/elf.h:58: error: storage class specified for parameter `uint16_t'
/usr/include/elf.h:58: error: redefinition of parameter 'uint16_t'
/usr/include/elf.h:57: error: previous definition of 'uint16_t' was here
/usr/include/elf.h:58: error: syntax error before "Elf64_Section"
/usr/include/elf.h:61: error: storage class specified for parameter `Elf32_Half'
/usr/include/elf.h:61: error: syntax error before "Elf32_Versym"
/usr/include/elf.h:62: error: storage class specified for parameter `Elf64_Half'
/usr/include/elf.h:62: error: syntax error before "Elf64_Versym"
/usr/include/elf.h:72: error: syntax error before "Elf32_Half"
/usr/include/elf.h:90: error: syntax error before "Elf64_Half"
/usr/include/elf.h:271: error: syntax error before "Elf32_Word"
/usr/include/elf.h:285: error: syntax error before "Elf64_Word"
/usr/include/elf.h:380: error: syntax error before "Elf32_Word"
/usr/include/elf.h:385: error: syntax error before "Elf32_Section"
/usr/include/elf.h:390: error: syntax error before "Elf64_Word"
/usr/include/elf.h:391: error: redefinition of parameter 'st_info'
/usr/include/elf.h:383: error: previous definition of 'st_info' was here
/usr/include/elf.h:392: error: redefinition of parameter 'st_other'
/usr/include/elf.h:384: error: previous definition of 'st_other' was here
/usr/include/elf.h:393: error: syntax error before "Elf64_Section"
/usr/include/elf.h:403: error: syntax error before "Elf32_Half"
/usr/include/elf.h:409: error: syntax error before "Elf64_Half"
/usr/include/elf.h:495: error: syntax error before "Elf32_Addr"
/usr/include/elf.h:506: error: syntax error before "Elf64_Addr"
/usr/include/elf.h:514: error: syntax error before "Elf32_Addr"
/usr/include/elf.h:521: error: syntax error before "Elf64_Addr"
/usr/include/elf.h:540: error: syntax error before "Elf32_Word"
/usr/include/elf.h:552: error: syntax error before "Elf64_Word"
/usr/include/elf.h:634: error: syntax error before "Elf32_Sword"
/usr/include/elf.h:637: error: syntax error before "Elf32_Word"
/usr/include/elf.h:644: error: syntax error before "Elf64_Sxword"
/usr/include/elf.h:647: error: syntax error before "Elf64_Xword"
/usr/include/elf.h:801: error: syntax error before "Elf32_Half"
/usr/include/elf.h:813: error: syntax error before "Elf64_Half"
/usr/include/elf.h:843: error: syntax error before "Elf32_Word"
/usr/include/elf.h:850: error: syntax error before "Elf64_Word"
/usr/include/elf.h:860: error: syntax error before "Elf32_Half"
/usr/include/elf.h:871: error: syntax error before "Elf64_Half"
/usr/include/elf.h:890: error: syntax error before "Elf32_Word"
/usr/include/elf.h:900: error: syntax error before "Elf64_Word"
/usr/include/elf.h:924: error: syntax error before "uint32_t"
/usr/include/elf.h:927: error: syntax error before "uint32_t"
/usr/include/elf.h:936: error: syntax error before "uint64_t"
/usr/include/elf.h:939: error: syntax error before "uint64_t"
/usr/include/elf.h:1008: error: syntax error before "Elf32_Word"
/usr/include/elf.h:1015: error: syntax error before "Elf64_Word"
/usr/include/elf.h:1072: error: syntax error before "Elf32_Xword"
/usr/include/elf.h:1081: error: syntax error before "Elf64_Xword"
/usr/include/elf.h:1467: error: syntax error before "Elf32_Word"
/usr/include/elf.h:1472: error: syntax error before "Elf32_Word"
/usr/include/elf.h:1481: error: syntax error before "Elf32_Word"
/usr/include/elf.h:1493: error: syntax error before "Elf32_Section"
/usr/include/elf.h:1541: error: syntax error before "Elf32_Word"
/usr/include/elf.h:1702: error: syntax error before "Elf32_Word"
/usr/include/elf.h:1711: error: syntax error before "Elf64_Word"
/usr/include/elf.h:1731: error: storage class specified for parameter `Elf32_Addr'
/usr/include/elf.h:1731: error: syntax error before "Elf32_Conflict"
In file included from /usr/include/link.h:26,
???????????????? from ./crtstuff.c:86:
/usr/include/dlfcn.h:28:24: bits/dlfcn.h: No such file or directory
In file included from /usr/include/link.h:26,
???????????????? from ./crtstuff.c:86:
/usr/include/dlfcn.h:61: error: storage class specified for parameter `dlclose'
/usr/include/dlfcn.h:61: error: syntax error before "__THROW"
/usr/include/dlfcn.h:66: error: storage class specified for parameter `dlsym'
/usr/include/dlfcn.h:66: error: syntax error before "__THROW"
/usr/include/dlfcn.h:70: error: syntax error before "__nsid"
/usr/include/dlfcn.h:70: error: storage class specified for parameter `dlmopen'
/usr/include/dlfcn.h:77: error: storage class specified for parameter `dlvsym'
/usr/include/dlfcn.h:77: error: syntax error before "__THROW"
/usr/include/dlfcn.h:83: error: storage class specified for parameter `dlerror'
/usr/include/dlfcn.h:83: error: syntax error before "__THROW"
/usr/include/dlfcn.h:95: error: storage class specified for parameter `Dl_info'
/usr/include/dlfcn.h:99: error: syntax error before "Dl_info"
/usr/include/dlfcn.h:100: error: storage class specified for parameter `dladdr'
/usr/include/dlfcn.h:103: error: syntax error before "Dl_info"
/usr/include/dlfcn.h:104: error: storage class specified for parameter `dladdr1'
/usr/include/dlfcn.h:126: error: storage class specified for parameter `dlinfo'
/usr/include/dlfcn.h:126: error: syntax error before "__THROW"
/usr/include/dlfcn.h:176: error: storage class specified for parameter `Dl_serpath'
/usr/include/dlfcn.h:184: error: syntax error before "Dl_serpath"
In file included from ./crtstuff.c:86:
/usr/include/link.h:35:63: bits/elfclass.h: No such file or directory
/usr/include/link.h:36:23: bits/link.h: No such file or directory
In file included from ./crtstuff.c:86:
/usr/include/link.h:54: error: syntax error before "Elf__ELF_NATIVE_CLASS_Addr"
/usr/include/link.h:64: error: syntax error before "Elf__ELF_NATIVE_CLASS_Addr"
/usr/include/link.h:68: error: storage class specified for parameter `_r_debug'
/usr/include/link.h:77: error: storage class specified for parameter `Elf__ELF_NATIVE_CLASS_Dyn'
/usr/include/link.h:77: error: syntax error before "_DYNAMIC"
/usr/include/link.h:90: error: syntax error before "Elf__ELF_NATIVE_CLASS_Addr"
/usr/include/link.h:92: error: syntax error before "Elf__ELF_NATIVE_CLASS_Dyn"
/usr/include/link.h:94: error: syntax error before '}' token
/usr/include/link.h:140: error: syntax error before "Elf__ELF_NATIVE_CLASS_Addr"
/usr/include/link.h:142: error: syntax error before '*' token
/usr/include/link.h:163: error: syntax error before '}' token
/usr/include/link.h:175: error: storage class specified for parameter `la_version'
/usr/include/link.h:176: error: syntax error before '*' token
/usr/include/link.h:176: error: storage class specified for parameter `la_activity'
/usr/include/link.h:177: error: syntax error before "uintptr_t"
/usr/include/link.h:178: error: storage class specified for parameter `la_objsearch'
/usr/include/link.h:179: error: syntax error before "Lmid_t"
/usr/include/link.h:180: error: storage class specified for parameter `la_objopen'
/usr/include/link.h:181: error: syntax error before '*' token
/usr/include/link.h:181: error: storage class specified for parameter `la_preinit'
/usr/include/link.h:182: error: storage class specified for parameter `uintptr_t'
/usr/include/link.h:182: error: conflicting types for 'uintptr_t'
/usr/include/stdint.h:129: error: previous definition of 'uintptr_t' was here
/usr/include/link.h:182: error: syntax error before "la_symbind32"
/usr/include/link.h:185: error: storage class specified for parameter `uintptr_t'
/usr/include/link.h:185: error: redefinition of parameter 'uintptr_t'
/usr/include/link.h:182: error: previous definition of 'uintptr_t' was here
/usr/include/link.h:185: error: syntax error before "la_symbind64"
/usr/include/link.h:188: error: syntax error before '*' token
/usr/include/link.h:188: error: storage class specified for parameter `la_objclose'
./crtstuff.c:127: error: storage class specified for parameter `__register_frame_info_bases'
./crtstuff.c:127: error: weak declaration of '__register_frame_info_bases' must be public
./crtstuff.c:127: error: redefinition of parameter '__register_frame_info_bases'
./unwind-dw2-fde.h:96: error: previous definition of '__register_frame_info_bases' was here
./crtstuff.c:129: error: storage class specified for parameter `__deregister_frame_info'
./crtstuff.c:129: error: weak declaration of '__deregister_frame_info' must be public
./crtstuff.c:129: error: redefinition of parameter '__deregister_frame_info'
./unwind-dw2-fde.h:103: error: previous definition of '__deregister_frame_info' was here
./crtstuff.c:131: error: storage class specified for parameter `__deregister_frame_info_bases'
./crtstuff.c:131: error: weak declaration of '__deregister_frame_info_bases' must be public
./crtstuff.c:131: error: redefinition of parameter '__deregister_frame_info_bases'
./unwind-dw2-fde.h:104: error: previous definition of '__deregister_frame_info_bases' was here
./crtstuff.c:132: error: storage class specified for parameter `__do_global_ctors_1'
./crtstuff.c:135: error: storage class specified for parameter `_Jv_RegisterClasses'
./crtstuff.c:135: error: weak declaration of '_Jv_RegisterClasses' must be public
./crtstuff.c:140: error: storage class specified for parameter `func_ptr'
./crtstuff.c:178: warning: type defaults to `int' in declaration of `func_ptr'
./crtstuff.c:178: error: storage class specified for parameter `func_ptr'
./crtstuff.c:178: error: conflicting types for 'func_ptr'
./crtstuff.c:140: error: previous definition of 'func_ptr' was here
./crtstuff.c:178: error: syntax error before "__CTOR_LIST__"
./crtstuff.c:191: warning: type defaults to `int' in declaration of `func_ptr'
./crtstuff.c:191: error: storage class specified for parameter `func_ptr'
./crtstuff.c:191: error: redefinition of parameter 'func_ptr'
./crtstuff.c:178: error: previous definition of 'func_ptr' was here
./crtstuff.c:191: error: syntax error before "__DTOR_LIST__"
./crtstuff.c:209: error: storage class specified for parameter `__JCR_LIST__'
./crtstuff.c:209: error: parameter `__JCR_LIST__' is initialized
./crtstuff.c:209: error: section attribute not allowed for '__JCR_LIST__'
./crtstuff.c:209: error: alignment may not be specified for '__JCR_LIST__'
./crtstuff.c:209: error: empty scalar initializer
./crtstuff.c:209: error: (near initialization for `__JCR_LIST__')
./crtstuff.c:223: error: storage class specified for parameter `__dso_handle'
./crtstuff.c:223: warning: `__visibility__' attribute ignored
./crtstuff.c:228: error: parameter `__dso_handle' is initialized
./crtstuff.c:228: error: redefinition of parameter '__dso_handle'
./crtstuff.c:223: error: previous definition of '__dso_handle' was here
./crtstuff.c:233: error: storage class specified for parameter `__cxa_finalize'
./crtstuff.c:233: error: weak declaration of '__cxa_finalize' must be public
./crtstuff.c:256: error: storage class specified for parameter `__do_global_dtors_aux'
./crtstuff.c:256: warning: `used' attribute ignored
./crtstuff.c:256: error: syntax error before '{' token
./crtstuff.c:258: error: storage class specified for parameter `completed'
./crtstuff.c:259: error: syntax error before "func_ptr"
./crtstuff.c:300: error: storage class specified for parameter `frame_dummy'
./crtstuff.c:300: warning: `used' attribute ignored
./crtstuff.c:300: error: syntax error before '{' token
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/opt/gcc-3.4.6/gcc'
make: *** [all-gcc] Error 2
 
Any idea what is the reason? How can I solve this?
 
Thanks
 
 		 	   		   		 	   		  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]