Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#14 2.1.4 compile error: if.cc:119: error: 'memcpy' was not decl

open
nobody
None
5
2009-07-24
2009-07-24
Noël Köthe
No

Hello,

I'm trying to build 2.1.4 on Debian with gcc (Debian 4.3.3-13) 4.3.3 and get the following error:

make all
make[3]: Entering directory `/tmp/buildd/hammerhead-2.1.4/src'
g++ -O2 -fomit-frame-pointer -DHAMMER_VSN=\"2.1.4\" -c -D_REENTRANT -DLinux -g -Wall -I/usr/include/openssl -I/usr/include config.cc -o obj/Linux/config.o
config.cc:68: warning: deprecated conversion from string constant to 'char*'
config.cc:68: warning: deprecated conversion from string constant to 'char*'
config.cc:68: warning: deprecated conversion from string constant to 'char*'
g++ -O2 -fomit-frame-pointer -DHAMMER_VSN=\"2.1.4\" -c -D_REENTRANT -DLinux -g -Wall -I/usr/include/openssl -I/usr/include hammerhead.cc -o obj/Linux/hammerhead.o
g++ -O2 -fomit-frame-pointer -DHAMMER_VSN=\"2.1.4\" -c -D_REENTRANT -DLinux -g -Wall -I/usr/include/openssl -I/usr/include if.cc -o obj/Linux/if.o
if.cc: In member function 'void If::Ifget(long int)':
if.cc:119: error: 'memcpy' was not declared in this scope
make[3]: *** [obj/Linux/if.o] Error 1
make[3]: Leaving directory `/tmp/buildd/hammerhead-2.1.4/src'
make[2]: *** [first] Error 2
make[2]: Leaving directory `/tmp/buildd/hammerhead-2.1.4/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/tmp/buildd/hammerhead-2.1.4'
make: *** [build-stamp] Error 2

Discussion