[DTC] Compilation issue on Red-hat host systems

jagan 402jagan at gmail.com
Sat Jul 28 19:33:50 EST 2012


My flex version on system is flex version 2.5.4
I tried by  -Wstrict-prototypes  form Makefile, But still I got the same
error.

Do I need to upgrade my flex.

Regards,
Jagan.

On Thu, Jul 19, 2012 at 8:56 AM, David Gibson
<david at gibson.dropbear.id.au>wrote:

> On Mon, Jul 16, 2012 at 03:29:49PM +0530, jagan wrote:
> > Hi,
> >
> > I am building dtc as follows
> >         $ git clone git://jdl.com/software/dtc.git
> >         $ cd dtc
> >         $ make
> > I got the below error while doing make
> > convert-dtsv0-lexer.lex.c:684: warning: no previous prototype for 'yylex'
> > make: *** [convert-dtsv0-lexer.lex.o] Error 1
> >
> > Can anyone help me, I am I missing any PATH setup
>
> It's almost certainly an issue with the particular version of flex
> generating code which triggers warnings we have enabled.  What does
> "flex --version" say.  As a workaround you can remove
> -Wstrict-prototypes from 'WARNINGS' in the Makefile.
>
> --
> David Gibson                    | I'll have my music baroque, and my code
> david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_
> _other_
>                                 | _way_ _around_!
> http://www.ozlabs.org/~dgibson
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120728/158ed50b/attachment.html>


More information about the devicetree-discuss mailing list