Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
commoncpp2
commoncpp-stdlib.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File commoncpp-stdlib.diff of Package commoncpp2
Fix compile errors due to missing decls libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../inc -I../src -DCCXX_EXPORT_LIBRARY -D_GNU_SOURCE -I../inc -O2 -g -m32 -mtune=ultrasparc -MT mempager.lo -MD -MP -MF .deps/mempager.Tpo -c mempager.cpp -fPIC -DPIC -o .libs/mempager.o mempager.cpp: In constructor 'ost::MemPager::MemPager(size_t)': mempager.cpp:79: error: 'posix_memalign' was not declared in this scope mempager.cpp: In member function 'void ost::MemPager::clean()': mempager.cpp:103: error: '::free' has not been declared mempager.cpp: In member function 'void ost::MemPager::purge()': mempager.cpp:125: error: '::free' has not been declared mempager.cpp: In member function 'virtual void* ost::MemPager::alloc(size_t)': mempager.cpp:163: error: 'posix_memalign' was not declared in this scope --- src/mempager.cpp | 1 + 1 file changed, 1 insertion(+) Index: commoncpp2-1.6.1/src/mempager.cpp =================================================================== --- commoncpp2-1.6.1.orig/src/mempager.cpp +++ commoncpp2-1.6.1/src/mempager.cpp @@ -40,6 +40,7 @@ #include <cc++/slog.h> #include <cc++/thread.h> #include <cc++/misc.h> +#include <cstdlib> #include "private.h" #ifdef CCXX_NAMESPACES
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor