Have you run ./autogen.sh && ./configure prior to make?
-Atin
Sent from one plus one
On 29-Apr-2016 9:38 PM, "Rob Syme" <rob.syme@xxxxxxxxx> wrote:
Hi allWhen compiling Gluster, make fails with:...Making all in srcCC glusterfsd-mgmt.oCC glusterfsd.oCCLD glusterfsd/foo/bar/lib/libfl.so: undefined reference to `yylex'collect2: error: ld returned 1 exit statusMakefile:509: recipe for target 'glusterfsd' failedmake[3]: *** [glusterfsd] Error 1Makefile:456: recipe for target 'all-recursive' failedmake[2]: *** [all-recursive] Error 1Makefile:588: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1Makefile:487: recipe for target 'all' failedmake: *** [all] Error 2Even 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 '.l' file (https://www.mail-archive.com/tools-linking@xxxxxxxxxxxxxxxxxxxx/msg00601.html)I'm using: flex v2.6.0, bison v3.0.4, pkg-config v0.29, liburcu v0.9.2, python v2.7.0, gcc v4.9.3 on linux (full dependency graph here: http://i.imgur.com/xdn8trW.png). Any pointers are appreciated.-r
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users