[Clp] memset memcpy not declared in header files?

gollmer at math.uni-duisburg.de gollmer at math.uni-duisburg.de
Sat Sep 20 10:10:23 EDT 2008


Hi everyone,

I'm new to COIN-Cpl, just checked out the current version and tired to
compile it.
The make doesn't work on my system
OpenSuSE 11.0,
> g++ -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64
--libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3
--enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new
--disable-libstdcxx-pch --program-suffix=-4.3
--enable-version-specific-runtime-libs --enable-linux-futex
--without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
(SUSE Linux)

since compiling CoinBuild.cpp gives the error:
error: 'memcpy' was not declared in this scope

Introducing the line #include <string.h> resolved it, but the next file
complains about memset and memcpy not being declared.
So the solution can by no means be to change every single source file.
Is there a central include file included by every file, where there this
include is missing and should be added? Perhaps string.h is not the file
to be included and some other include is missing?

Best regrads
Ralf






More information about the Clp mailing list