Build fails with Makefile on Ubuntu 11.10
wiibaa opened this issue · 1 comments
Hello,
I tried to report this issue on the google groups already,
but in the meantime I made some more googling and found out why + solution.
But as I'm not a gcc/make expert, it is best for you to review it than for me to make a pull request.
So as I understood, the issue comes from gcc4.6 being more restrictive on the LDFLAGS position,
I found a similar bug report on another project, applied the same change (moving LDFLAGS to end of line) in your Makefile and it worked for me.
bumptech/stud#62 (commits)
So in the grok and dicogrok directive, I changed
to
and in the libgrok.$(LIBSUFFIX):, I changed
to
I found the explanation here:
http://ubuntuforums.org/showthread.php?t=1859400
Nice catch! This fix worked for me as well.