bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't compile


From: Peter Cheung
Subject: can't compile
Date: Sun, 3 May 2015 13:22:52 +0800

Hi All, Tried to compile in mac and ubuntu 14.04.2 LTS, same error

Attachment: config.log
Description: Binary data


make[3]: Leaving directory `/root/workspace/binutils/gdb'
gcc -g -O2   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I./../zlib -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib/import -Ibuild-gnulib/import   -DTUI=1  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wpointer-sign -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral  -c -o d-exp.o -MT d-exp.o -MMD -MP -MF .deps/d-exp.Tpo d-exp.c
d-exp.c:269:0: warning: "EQUAL" redefined [enabled by default]

 

 ^
d-exp.c:154:0: note: this is the location of the previous definition
 #define EQUAL 295
 ^
d-exp.c:270:0: warning: "NOTEQUAL" redefined [enabled by default]
 /* Enabling verbose error messages.  */
 ^
d-exp.c:153:0: note: this is the location of the previous definition
 #define NOTEQUAL 294
 ^
d-exp.c:271:0: warning: "LEQ" redefined [enabled by default]
 #ifdef YYERROR_VERBOSE
 ^
d-exp.c:152:0: note: this is the location of the previous definition
 #define LEQ 293
 ^
d-exp.c:272:0: warning: "GEQ" redefined [enabled by default]
 # undef YYERROR_VERBOSE
 ^
d-exp.c:151:0: note: this is the location of the previous definition
 #define GEQ 292
 ^
d-exp.c:273:0: warning: "LSH" redefined [enabled by default]
 # define YYERROR_VERBOSE 1
 ^
d-exp.c:156:0: note: this is the location of the previous definition
 #define LSH 297
 ^
d-exp.c:274:0: warning: "RSH" redefined [enabled by default]
 #else
 ^
d-exp.c:155:0: note: this is the location of the previous definition
 #define RSH 296
 ^
d-exp.c:276:0: warning: "IDENTITY" redefined [enabled by default]
 #endif
 ^
d-exp.c:159:0: note: this is the location of the previous definition
 #define IDENTITY 300
 ^
d-exp.c:277:0: warning: "NOTIDENTITY" redefined [enabled by default]

 

 ^
d-exp.c:158:0: note: this is the location of the previous definition
 #define NOTIDENTITY 299
 ^
d-exp.c:278:0: warning: "INCREMENT" redefined [enabled by default]

 

 ^
d-exp.c:161:0: note: this is the location of the previous definition
 #define INCREMENT 302
 ^
d-exp.c:279:0: warning: "DECREMENT" redefined [enabled by default]
 /* Debug traces.  */
 ^
d-exp.c:160:0: note: this is the location of the previous definition
 #define DECREMENT 301
 ^
d-exp.c: In function ‘d_parse_internal’:
d-exp.c:1384:7: error: redeclaration of ‘yyerrstatus’ with no linkage
       yysize1 = yysize + yystrlen (yyf);
       ^
d-exp.c:1360:9: note: previous declaration of ‘yyerrstatus’ was here
       int yycount = 1;
         ^
d-exp.c:1403:16: error: redeclaration of ‘yyssa’ with no linkage
     yyf += 2;
                ^
d-exp.c:1370:18: note: previous declaration of ‘yyssa’ was here
   yycount = 1;
                  ^
d-exp.y:105:14: error: redeclaration of ‘d_yyss’ with no linkage
 #define yyss d_yyss
              ^
d-exp.c:1404:17: note: in expansion of macro ‘yyss’
   }
                 ^
d-exp.y:105:14: note: previous declaration of ‘d_yyss’ was here
 #define yyss d_yyss
              ^
d-exp.c:1371:19: note: in expansion of macro ‘yyss’
   yysize = yysize0;
                   ^
d-exp.y:107:15: error: redeclaration of ‘d_yyssp’ with no linkage
 #define yyssp d_yyssp
               ^
d-exp.c:1405:17: note: in expansion of macro ‘yyssp’
        else
                 ^
d-exp.y:107:15: note: previous declaration of ‘d_yyssp’ was here
 #define yyssp d_yyssp
               ^
d-exp.c:1372:19: note: in expansion of macro ‘yyssp’
   yyformat[sizeof yyunexpected - 1] = '\0';
                   ^
d-exp.c:1408:11: error: redeclaration of ‘yyvsa’ with no linkage
     yyf++;
           ^
d-exp.c:1375:13: note: previous declaration of ‘yyvsa’ was here
      yyarg[yycount++] = yytname[yyx];
             ^
d-exp.y:109:14: error: redeclaration of ‘d_yyvs’ with no linkage
 #define yyvs d_yyvs
              ^
d-exp.c:1409:12: note: in expansion of macro ‘yyvs’
   }
            ^
d-exp.y:109:14: note: previous declaration of ‘d_yyvs’ was here
 #define yyvs d_yyvs
              ^
d-exp.c:1376:14: note: in expansion of macro ‘yyvs’
      yysize1 = yysize + yytnamerr (0, yytname[yyx]);
              ^
d-exp.y:110:15: error: redeclaration of ‘d_yyvsp’ with no linkage
 #define yyvsp d_yyvsp
               ^
d-exp.c:1410:12: note: in expansion of macro ‘yyvsp’
      }
            ^
d-exp.y:110:15: note: previous declaration of ‘d_yyvsp’ was here
 #define yyvsp d_yyvsp
               ^
d-exp.c:1377:14: note: in expansion of macro ‘yyvsp’
      yysize_overflow |= (yysize1 < yysize);
              ^
d-exp.y:108:21: error: redeclaration of ‘d_yystacksize’ with no linkage
 #define yystacksize d_yystacksize
                     ^
d-exp.c:1416:12: note: in expansion of macro ‘yystacksize’

 


            ^
d-exp.y:108:21: note: previous declaration of ‘d_yystacksize’ was here
 #define yystacksize d_yystacksize
                     ^
d-exp.c:1379:14: note: in expansion of macro ‘yystacksize’
      yyfmt = yystpcpy (yyfmt, yyprefix);
              ^
d-exp.c:548:23: error: ‘union yyalloc’ has no member named ‘yyss_alloc’
 #if ! defined yyoverflow || YYERROR_VERBOSE
                       ^
d-exp.c:526:25: note: in definition of macro ‘YYCOPY’
 #endif
                         ^
d-exp.c:1497:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
   int yyerrstatus;
         ^
d-exp.c:549:23: error: ‘union yyalloc’ has no member named ‘yyss_alloc’

 

                       ^
d-exp.c:1497:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
   int yyerrstatus;
         ^
d-exp.c:548:23: error: ‘union yyalloc’ has no member named ‘yyvs_alloc’
 #if ! defined yyoverflow || YYERROR_VERBOSE
                       ^
d-exp.c:526:25: note: in definition of macro ‘YYCOPY’
 #endif
                         ^
d-exp.c:1498:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
   /* Look-ahead token as an internal (translated) token number.  */
         ^
d-exp.c:549:23: error: ‘union yyalloc’ has no member named ‘yyvs_alloc’

 

                       ^
d-exp.c:1498:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
   /* Look-ahead token as an internal (translated) token number.  */
         ^
make[2]: *** [d-exp.o] Error 1
make[2]: Leaving directory `/root/workspace/binutils/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/root/workspace/binutils'
make: *** [all] Error 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]