On 01/29/2015 07:43 AM, Rudra Siva wrote:
Hi,
Have been able to get Gluster running on Intel's MIC platform. The
only code change to Gluster source was an unresolved yylex (I am not
really sure why that was coming up - may be someone more familiar with
it's use in Gluster can answer).
At the step for compiling the binaries (glusterd, glusterfsd,
glusterfs, glfsheal) build breaks with an unresolved yylex error.
Hi,
Maybe your version of bison doesn't support the -p option?
In libglusterfs the
bison -y -p graphyy ./graph.y
should have produced a y.tab.c file with
...
#define yylex graphyylex
...
int graphyylex ();
...
yychar = yylex ();
...
Which is what we get on Linux, MacOS, and *BSD.
For now have a routine yylex that simply calls graphyylex - I don't
know if this is even correct however mount functions.
That's a reasonable work-around/hack. At least your flex seems to
support the -P option correctly.
GCC - 4.7 (it's an oddity, latest GCC is missing the Phi patches)
flex --version
flex 2.5.39
bison --version
bison (GNU Bison) 3.0
Those seem reasonable. Fedora21 has flex 2.5.37 and boson-3.0.2
I'm still working on testing the RDMA and Infiniband support and can
make notes, numbers available when that is complete.
That would be great. Thanks.
--
Kaleb
_______________________________________________
Gluster-devel mailing list
[email protected]
http://www.gluster.org/mailman/listinfo/gluster-devel