thank to  david for the Clue ,problem is solved

the problem comes from gcc 4.3
see :
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include
http://gcc.gnu.org/PR28080


regard
agung aryo

On Thu, May 28, 2009 at 4:55 PM, Verbeiren, David <david.verbeiren@intel.com> wrote:

Did you try adding

#include <string.h>

to RmtParmBuffer.cpp (together with other #includes in that file) ?

 

-David

 


From: agung aryo [mailto:agung.aryo@gmail.com]
Sent: jeudi 28 mai 2009 4:44
To: sipp-users@lists.sourceforge.net
Subject: [Sipp-users] error compile SIPp in Ubuntu Jaunty

 

Hi All ,
when I try to compile rmtl

root@agung-laptop:/usr/src/ims_bench# make rmtl
make OSNAME=Linux MODELNAME=i686 -C rmt
make[1]: Entering directory `/usr/src/ims_bench/rmt'
make OSNAME=`uname|sed -e "s/CYGWIN.*/CYGWIN/"` MODELNAME=`uname -m|sed "s/Power Macintosh/ppc/"` rmt_tst
make[2]: Entering directory `/usr/src/ims_bench/rmt'
gcc   -D__LINUX -pthread -D__3PCC__       -I. -I/opt/openssl/include  -c -o RmtParmBuffer.o RmtParmBuffer.cpp
RmtParmBuffer.cpp: In member function ‘void Rmt::RmtParmBuffer::putParm(Rmt::UInt, const Rmt::UInt8*, int)’:
RmtParmBuffer.cpp:47: error: ‘memcpy’ was not declared in this scope
RmtParmBuffer.cpp: In member function ‘void Rmt::RmtParmBuffer::putStringParm(Rmt::UInt, const char*)’:
RmtParmBuffer.cpp:59: error: ‘strlen’ was not declared in this scope
RmtParmBuffer.cpp: In member function ‘void Rmt::RmtParmBuffer::realloc(int)’:
RmtParmBuffer.cpp:69: error: ‘memcpy’ was not declared in this scope
make[2]: *** [RmtParmBuffer.o] Error 1
make[2]: Leaving directory `/usr/src/ims_bench/rmt'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/ims_bench/rmt'
make: *** [rmtl] Error 2

any idea to solve this problem ?

thank you,
agung aryo

---------------------------------------------------------------------
Intel Corporation NV/SA
Rond point Schuman 6, B-1040 Brussels
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.