Hi Ritwik, I've posted a review request to fix issue and an explanation of what goes wrong with GCC-4.6. In short, the <tr1/functional> header that ships with GCC 4.6 has a bug. (It doesn't perfect-forward the arguments properly)
The review is available at https://reviews.apache.org/r/29180/ along with a comment that explain further what the underlying issue is. Thanks, MPark On 17 December 2014 at 22:38, Ritwik <[email protected]> wrote: > > Thanks Michael for your reply. > > *I was able to resolve the issue by upgrading from GCC 4.6 to GCC 4.8* > > It seems to work perfectly now, however, not knowing what caused the > problem might prove to be bad in the long run. > > Thanks again for all the help. > > On 18 December 2014 at 01:40, Michael Park <[email protected]> wrote: >> >> Hi Ritwik, >> >> I've seen this problem before but haven't had time to look into it. >> We made C++11 a requirement so the Makefile actually isn't the issue here. >> >> I can look into it though, >> >> Thanks for bringing it up! >> >> MPark >> >> On 17 December 2014 at 07:44, Ritwik <[email protected]> wrote: >> > >> > I dug around the error message a bit. I see the compilation being done >> > using: >> > -std=c++0x >> > The error message seems to be related to creating rvalue references >> which >> > is a new feature of C++11. Does the make file need an update? >> > >> > On 17 December 2014 at 15:42, Ritwik <[email protected]> wrote: >> > > >> > > Hi, >> > > >> > > I was trying to build Mesos using 'make'. Here is what I got: >> > > >> > > http://code.stypi.com/pw3146dx >> > > >> > > Is this a known issue? It would be great if someone could suggest a >> > > workaround. >> > > >> > > Thanks. >> > > >> > > Best Regards, >> > > >> > > -- >> > > *Ritwik Yadav* >> > > >> > > >> > >> > -- >> > *Ritwik Yadav* >> > >> > Department of Computer Science and Engineering, >> > Indian Institute of Technology, >> > Kharagpur. >> > >> > Cell: +91-9635-152346 >> > Twitter: @iRitwik <https://twitter.com/#%21/iRitwik> >> > >> > > > -- > *Ritwik Yadav* > > Department of Computer Science and Engineering, > Indian Institute of Technology, > Kharagpur. > > Cell: +91-9635-152346 > Twitter: @iRitwik <https://twitter.com/#%21/iRitwik> >
