This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Gold linker - error in build: script-c.h:221:7: error: 'yylex' initialized and declared 'extern' [-Werror]
- From: Andreas Schwab <schwab at suse dot de>
- To: Kim <soldoutseashell at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 27 Jun 2013 12:58:43 +0200
- Subject: Re: Gold linker - error in build: script-c.h:221:7: error: 'yylex' initialized and declared 'extern' [-Werror]
- References: <51CC150E dot 4090606 at gmail dot com>
Kim <soldoutseashell@gmail.com> writes:
> In file included from expression.cc:33:0:
> script-c.h:221:7: error: 'yylex' initialized and declared 'extern' [-Werror]
> yylex(YYSTYPE*, void* closure);
> ^
Install the flex and bison packages and restart from scratch.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."