질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

netflow 질문

작성자 정보

  • FC 작성
  • 작성일

컨텐츠 정보

본문

리눅스 서버 보안관리 실무 12장을 보고있습니다.

arts++ 설치 후 cflowd 를 설치하는 과정에서 에러가 나는군요

패치도 끝내고 ./configure 후 make 명령을 내린 결과입니다.

[root@Office cflowd-2-1-b1]# make
cd snmp++; make
make[1]: Entering directory `/root/netflow/cflowd-2-1-b1/snmp++'
cd classes; make
make[2]: Entering directory `/root/netflow/cflowd-2-1-b1/snmp++/classes'
cd src; make
make[3]: Entering directory `/root/netflow/cflowd-2-1-b1/snmp++/classes/src'
g++ -D__unix__ -I../include/snmp++ -I./ -g -O2 -c oid.cpp -o oid.o
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/iostream.h:31,
                 from ../include/snmp++/smival.h:49,
                 from ../include/snmp++/oid.h:62,
                 from oid.cpp:59:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
../include/snmp++/oid.h:181: error: 'vector' has not been declared
../include/snmp++/oid.h:181: error: expected ',' or '...' before '<' token
oid.cpp:503: error: variable or field 'get_oid' declared void
oid.cpp:503: error: 'int Oid::get_oid' is not a static member of 'class Oid'
oid.cpp:503: error: 'vector' was not declared in this scope
oid.cpp:503: error: expected primary-expression before '>' token
oid.cpp:503: error: 'outVect' was not declared in this scope
oid.cpp:503: error: expected ',' or ';' before 'const'
make[3]: *** [oid.lo] ?ㅻ쪟 1
make[3]: Leaving directory `/root/netflow/cflowd-2-1-b1/snmp++/classes/src'
make[2]: *** [all] ?ㅻ쪟 2
make[2]: Leaving directory `/root/netflow/cflowd-2-1-b1/snmp++/classes'
make[1]: *** [classes/lib/libsnmp++.a] ?ㅻ쪟 2
make[1]: Leaving directory `/root/netflow/cflowd-2-1-b1/snmp++'
make: *** [all] ?ㅻ쪟 2

 

에러 때문인지는 모르겠으나 다음 단계인 심볼릭 링크 과정에서도 cflowd.conf 파일이 존재하지 않는군요 ㅠㅠ

관련자료

댓글 1

suki님의 댓글

  • suki
  • 작성일
g++ 하고 libstd++을 업데이트해보세요.

공지사항


뉴스광장


  • 현재 회원수 :  60,081 명
  • 현재 강좌수 :  36,019 개
  • 현재 접속자 :  117 명