[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linking error
From: |
Hans-Bernhard Broeker |
Subject: |
Re: linking error |
Date: |
Mon, 17 Mar 2003 11:53:52 +0100 (MET) |
On Fri, 14 Mar 2003, Gery wrote:
> Hi,
>
> There is for sure something I miss but also reading the
> documentation I can not found the solution to the
> following result when compiling and linking flex result lex.yy.c
*How* do you compile and link it? What were the flags you passed to
flex, and to gcc?
> undefined reference to `yylex' ...
yylex() is right inside lex.yy.c --- unless you used some flag to rename
it.
> undefined reference to `yywrap'
This happens if you didn't link the flex library, -lfl.
--
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.