tags 477505 patch thanks Hi,
It looks like the problem on sparc is happening because the cstdlib header is missing in src/mempager.cpp. Adding it (trivial patch attached) fixes the issue and the package successfully builds on sparc with it. I did not bother figuring out why it does not fail on other architectures, but it might be that the sparc is the only arch in which the code path using posix_memalign() is enabled. Cheers. -- Jurij Smakov [EMAIL PROTECTED] Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
--- libcommoncpp2-1.6.2.orig/src/mempager.cpp 2008-03-24 00:19:07.000000000 +0000 +++ libcommoncpp2-1.6.2/src/mempager.cpp 2008-08-15 18:28:23.000000000 +0000 @@ -42,6 +42,8 @@ #include <cc++/misc.h> #include "private.h" +#include <cstdlib> + #ifdef CCXX_NAMESPACES namespace ost { using std::endl;