Thread (1 message) 1 message, 1 author, 2012-07-19

Re: [DTC] Compilation issue on Red-hat host systems

From: David Gibson <hidden>
Date: 2012-07-19 03:26:33

Possibly related (same subject, not in this thread)

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help