This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bisonc++ ??
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Bruce Korb <bkorb at gnu dot org>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Sun, 8 Dec 2013 15:21:38 +0000
- Subject: Re: bisonc++ ??
- Authentication-results: sourceware.org; auth=none
- References: <52A38C1A dot 6020806 at gnu dot org> <52A38C75 dot 8010100 at gnu dot org>
On Dec 7, 2013 9:58 PM, "Bruce Korb" wrote:
>
> On 12/07/13 12:59, Bruce Korb wrote:
>>
>> Googling:
>>
>>> gcc undefined reference to `lexer_line'
>>
>>
>> yields:
>>
>> http://stackoverflow.com/questions/4262531/trouble-building-gcc-4-6
>>
>> Please check for it in configure and mention it in the dependency message. :)
>> Thank you!
>
>
> Oops -- I was too optimistic:
>
>> build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
>> build/gengtype.o: In function `create_optional_field_':
>> /u/gnu/proj/gcc-svn-bld/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1002: undefined reference to `lexer_line'
>
>
> What is this message really telling me?
It usually means you don't have bison and/or flex installed.
They are documented as prerequisites for building from svn.
I don't think bisonc++ is needed, that answer is wrong (or at best
misleading, maybe for that person installing bisonc++ caused flex to
be installed).