<div dir="ltr">Hi all<div><br></div><div>When compiling Gluster, make fails with:</div><div><span style="line-height:1.5">...</span><br></div><div><div>Making all in src</div><div>  CC       glusterfsd-mgmt.o</div><div>  CC       glusterfsd.o</div><div>  CCLD     glusterfsd</div><div>/foo/bar/lib/libfl.so: undefined reference to `yylex&#39;</div><div>collect2: error: ld returned 1 exit status</div><div>Makefile:509: recipe for target &#39;glusterfsd&#39; failed</div><div>make[3]: *** [glusterfsd] Error 1</div><div>Makefile:456: recipe for target &#39;all-recursive&#39; failed</div><div>make[2]: *** [all-recursive] Error 1</div><div>Makefile:588: recipe for target &#39;all-recursive&#39; failed</div><div>make[1]: *** [all-recursive] Error 1</div><div>Makefile:487: recipe for target &#39;all&#39; failed</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Even though the error is coming from flex, It seems that gluster should supply the yylex function by auto-generated code that is the result of calling lex on a &#39;.l&#39; file (<a href="https://www.mail-archive.com/tools-linking@mail.opensolaris.org/msg00601.html">https://www.mail-archive.com/tools-linking@mail.opensolaris.org/msg00601.html</a>)</div><div><br></div><div>I&#39;m using: <span style="line-height:1.5">flex v2.6.0, </span><span style="line-height:1.5">bison v3.0.4, </span><span style="line-height:1.5">pkg-config v0.29, </span><span style="line-height:1.5">liburcu v</span><span style="line-height:1.5">0.9.2, python v2.7.0, </span><span style="line-height:1.5">gcc v4.9.3 on linux (full dependency graph here: </span><a href="http://i.imgur.com/xdn8trW.png">http://i.imgur.com/xdn8trW.png</a><span style="line-height:1.5">). Any pointers are appreciated.</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">-r</span></div></div>