Установка openSNMP

n
nнет декларации «memcpy» в этой области видимости
nзамечание: «memcpy» is defined in header «»; did you forget to «include »?
n
n

Спойлер!
[user1user1-systemproductname opensnmp-0.9]$ sudo ./configurenchecking for g++... g++nchecking for C++ compiler default output file name... a.outnchecking whether the C++ compiler works... yesnchecking whether we are cross compiling... nonchecking for suffix of executables... nchecking for suffix of object files... onchecking whether we are using the GNU C++ compiler... yesnchecking whether g++ accepts -g... yesnchecking return type of signal handlers... voidnchecking whether we are using the GNU C++ compiler... (cached) yesnchecking whether g++ accepts -g... (cached) yesnchecking for a BSD-compatible install... /usr/bin/install -cnchecking whether make sets $(MAKE)... yesnchecking for rm... /usr/bin/rmnchecking for ar... /usr/bin/arnchecking for smiInit in -lsmi... yesnchecking for EVP_md5 in -lcrypto... yesnchecking for pthread_create in -lpthread... yesnchecking for DbEnv::version in -ldb_cxx... yesnchecking for signal... yesnchecking for setsid... yesnchecking for sigset... yesnchecking for sigblock... yesnchecking for sighold... yesnchecking for sigaction... yesnchecking for gethostbyname... yesnchecking for getservbyname... yesnchecking for uname... yesnchecking for AES_cfb128_encrypt... yesnchecking how to run the C++ preprocessor... g++ -Enchecking for egrep... grep -Enchecking for ANSI C header files... yesnchecking for sys/types.h... yesnchecking for sys/stat.h... yesnchecking for stdlib.h... yesnchecking for string.h... yesnchecking for memory.h... yesnchecking for strings.h... yesnchecking for inttypes.h... yesnchecking for stdint.h... yesnchecking for unistd.h... yesnchecking sys/time.h usability... yesnchecking sys/time.h presence... yesnchecking for sys/time.h... yesnchecking sys/utsname.h usability... yesnchecking sys/utsname.h presence... yesnchecking for sys/utsname.h... yesnchecking pthread.h usability... yesnchecking pthread.h presence... yesnchecking for pthread.h... yesnchecking smi.h usability... yesnchecking smi.h presence... yesnchecking for smi.h... yesnchecking openssl/hmac.h usability... yesnchecking openssl/hmac.h presence... yesnchecking for openssl/hmac.h... yesnchecking openssl/evp.h usability... yesnchecking openssl/evp.h presence... yesnchecking for openssl/evp.h... yesnchecking db1/ndbm.h usability... nonchecking db1/ndbm.h presence... nonchecking for db1/ndbm.h... nonchecking db_cxx.h usability... yesnchecking db_cxx.h presence... yesnchecking for db_cxx.h... yesnchecking if sys/stream.h and queue can not be included together... nopenchecking for des_ks_struct.weak_key... nonchecking for sigaction.sa_sigaction... yesnchecking whether time.h and sys/time.h may both be included... yesnconfigure: creating ./config.statusnconfig.status: creating Makefilenconfig.status: creating acm/Makefilenconfig.status: creating app/cg/Makefilenconfig.status: creating app/cr/mibreg/Makefilenconfig.status: creating app/cr/Makefilenconfig.status: creating app/cr/mibs/Makefilenconfig.status: creating app/Makefilenconfig.status: creating asn/Makefilenconfig.status: creating base/Makefilenconfig.status: creating dispatcher/Makefilenconfig.status: creating msgproc/Makefilenconfig.status: creating secmod/Makefilenconfig.status: creating mib/Makefilenconfig.status: creating tools/Makefilenconfig.status: creating tools/snmp-db-add/Makefilenconfig.status: creating tools/snmp-db-dump/Makefilenconfig.status: creating config.hn[user1user1-systemproductname opensnmp-0.9]$ sudo makenmaking all in /home/user1/Загрузки/VDO/opensnmp-0.9/basenmake[1]: вход в каталог «/home/user1/Загрузки/VDO/opensnmp-0.9/base»ng++ -I.. -I././ -I./../asn -I./../mib -I/usr/local/include    -c -o BufferClass.o BufferClass.CnBufferClass.C: In copy constructor «BufferClass::BufferClass(const BufferClass&)»:nBufferClass.C:28:3: ошибка: нет декларации «memcpy» в этой области видимостиn   28 |   memcpy(this->msg, fromBuff.msg, this->msgLength);n      |   ^~~~~~nBufferClass.C:7:1: замечание: «memcpy» is defined in header «»; did you forget to «include »?n    6 | include "BufferClass.H"n  +++ |+include n    7 | nmake[1]: *** [<встроенное>: BufferClass.o] Ошибка 1nmake[1]: выход из каталога «/home/user1/Загрузки/VDO/opensnmp-0.9/base»nmake: *** [Makefile:168: subdirs] Ошибка 1
n
]]>

Комментарии: 0