//pcap library (libpcap)
$ CC=arm-none-linux-gnueabi-gcc ac_cv_linux_vers=2 ./configure --host=arm-none-linux-gnueabi --prefix=/home/no1no1no1/temp/tcpdump --with-pcap=linux
$ make
$ make install
// tcpdump
$ CC=arm-none-linux-gnueabi-gcc ac_cv_linux_vers=2 ./configure --host=arm-none-linux-gnueabi --prefix=/home/no1no1no1/temp/tcpdump --with-pcap=linux
$ make
$ make install
/* --prefix 항목이 설치 되는 위치 인데.. 이게 지정이 않되어 있으면 아래와 같은 에러가 발생.*/
no1no1no1@ipphone-dev-ubuntu:~/MoIP_Capture_Agent/src/tcpdump/tcpdump-4.3.0$ CC=arm-none-linux-gnueabi-gcc LD=arm-none-linux-gnueabi-ld ac_cv_linux_vers=2 ./configure --host=arm-none-linux-gnueabi --with-pcap=linux
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-none-linux-gnueabi
checking for arm-none-linux-gnueabi-gcc... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name... a.out
:
:
checking for local pcap library... not found
checking for arm-none-linux-gnueabi-pcap-config... no
checking for pcap-config... no
checking for main in -lpcap... nno
configure: error: see the INSTALL doc for more info
/* --width-pcap=null 로 입력 했을 때 문제점.*/
tcpdump를 실행 하면 "live packet capture not supported on this system" 로 실행이 안됨.
'Programming & Tools > TMS320DM368' 카테고리의 다른 글
[DM368] Memory_contigFree> Error (0) | 2012.08.18 |
---|---|
[DM368] Busybox tftpd 실행법 (0) | 2012.07.03 |
[DM368] OM - Memory_contigFree> Error: buffer (addr=1258430464, size=48) not found in translation cache (0) | 2012.06.23 |
[DM368] U-Boot 의 bootargs Parameter 항목을 Kernel에서 사용하기 (0) | 2012.06.12 |
[DM368] RGB888 to RGB565 (0) | 2012.05.31 |