RE: Compile errors for 4.5.0 on CentOS 5
"Mohammed Rakhada (morakhad)" <[email protected]> Thu, 12 Jan 2012 18:40:06 +0100
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Dmitry, It seems that I must have had something left over from a previous compile failure. I rm'd everything and then untar the source again and now it compiles. So thanks again for your help. For others having a similar problem this patch should help them. --- polygraph-4.5.0/src/base/BStream.h.orig 2012-01-12 17:19:55.000000000 +0000 +++ polygraph-4.5.0/src/base/BStream.h 2012-01-12 17:13:55.000000000 +0000 @@ -10,6 +10,7 @@ #include "xstd/h/netinet.h" /* for ntoh and hton */ // perhaps operators for these should be moved into a separate file? +#include "xstd/Endian.h" #include "xstd/Time.h" #include "xstd/Size.h" #include "xstd/NetDouble.h" Regards, Mohammed Rakhada -----Original Message----- From: Dmitry Kurochkin [mailto:dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org] Sent: 12 January 2012 17:04 To: Mohammed Rakhada (morakhad); users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected] Subject: Re: Compile errors for 4.5.0 on CentOS 5 Hi Mohammed. This is a known issue with v4.5.0. You have correctly identified the problem - xstd/Endian.h include is missing in base/BStream.h. The second error seems to be the same as the first one except for the paths. At the very least, the line numbers should have changed because of the added include line. Can you please double check that you are building the correct sources which have xstd/Endian.h include added to base/BStream.h? Regards, Dmitry _______________________________________________ Users mailing list Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected] http://www.web-polygraph.org/mailman/listinfo/users