보안관련된 유틸리티들을 컴파일 할때
거의 대부분 참조하는 라이브러리가
libpcap 이라는게 있는데
아마 이 패키지가 설치 안된거 같네요
rpm 으로 찾아서 깔고 나서 컴파일 해보세요.
: 설정을 다 해주고 컴파일을 하려고 하면 아래와 같은 에러가
: 납니다. 얼핏 봐서는 파일이 없어서 그런것 같은데요..
:
: 혹시 아시는 분 계시면, 도움 주셨으면 좋겠습니다.
:
: [root@fat81 portsentry-2.0b1]# make linux
: SYSTYPE=linux
: Making
: cc -O -Wall -D_BSD_SOURCE -o ./portsentry ./portsentry.c
: ./portsentry_io.c ./portsentry_util.c -lpcap
: In file included from ./portsentry.c:28:
: portsentry.h:63:18: pcap.h: 그런 파일이나 디렉토리가 없음
: ./portsentry.c:595:8: warning: extra tokens at end of #endif directive
: ./portsentry.c:710:8: warning: extra tokens at end of #endif directive
: In file included from ./portsentry_io.c:28:
: portsentry.h:63:18: pcap.h: 그런 파일이나 디렉토리가 없음
: In file included from ./portsentry_util.c:28:
: portsentry.h:63:18: pcap.h: 그런 파일이나 디렉토리가 없음
: make: *** [linux] 오류1