bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18200] New: Failure trying to compile gold with latest release


From: jjardon at gnome dot org
Subject: [Bug gold/18200] New: Failure trying to compile gold with latest released tarball (2.25)
Date: Sat, 04 Apr 2015 17:03:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18200

            Bug ID: 18200
           Summary: Failure trying to compile gold with latest released
                    tarball (2.25)
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: jjardon at gnome dot org
                CC: ian at airs dot com

Trying to compile 2.25 with the configuration options:

./configure --prefix=/usr --disable-nls --disable-werror --with-system-zlib
--enable-gold

The build fail with this error:

/bin/sh ./../ylwrap yyscript.y y.tab.c yyscript.c y.tab.h yyscript.h y.output
yyscript.output -- /binutils.build/missing bison -y  -d
WARNING: `bison' missing on your system.  You should only need it if
         you modified a `.y' file.  You may need the `Bison' package
         in order for those modifications to take effect.  You can get
         `Bison' from any GNU archive site.
updating yyscript.h
g++ -DHAVE_CONFIG_H -I.  -I. -I./../include -I./../elfcpp
-DLOCALEDIR="\"/usr/share/locale\"" -DBINDIR="\"/usr/bin\""
-DTOOLBINDIR="\"/usr/x86_64-unknown-linux-gnu/bin\""
-DTOOLLIBDIR="\"/usr/x86_64-unknown-linux-gnu/lib\""   -W -Wall   
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=expression.o -g -O2
-MT expression.o -MD -MP -MF .deps/expression.Tpo -c -o expression.o
expression.cc
In file included from expression.cc:33:0:
script-c.h:221:7: warning: 'yylex' initialized and declared 'extern'
 yylex(YYSTYPE*, void* closure);
       ^
script-c.h:221:7: error: 'YYSTYPE' was not declared in this scope
script-c.h:221:15: error: expected primary-expression before ',' token
 yylex(YYSTYPE*, void* closure);
               ^
script-c.h:221:17: error: expected primary-expression before 'void'
 yylex(YYSTYPE*, void* closure);
                 ^
script-c.h:221:30: error: expression list treated as compound expression in
initializer [-fpermissive]
 yylex(YYSTYPE*, void* closure);
                              ^
Makefile:842: recipe for target 'expression.o' failed
make[4]: *** [expression.o] Error 1

Seems I need bison/flex in my system, but this doesnt seem rigth as:

- Im building from a released tarball
- configure passes correctly

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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