All pastes #874 Raw Edit

Ettercap compile error

public text v1 · immutable
#874 ·published 2004-09-05 14:25 UTC
rendered paste body
make[2]: Entering directory `/home/kjetil/ettercap-NG-0.7.0/src'
gcc -DHAVE_CONFIG_H -I. -I. -I../include    -O2 -funroll-loops -fomit-frame-pointer -Wall -I/usr/include/pcap     -g -O2 -c -o ettercap-ec_capture.o `test -f 'ec_capture.c' || echo './'`ec_capture.c
ec_capture.c: In function `capture_init':
ec_capture.c:192: warning: implicit declaration of function `pcap_datalink_val_to_description'
ec_capture.c: In function `capture_getifs':
ec_capture.c:286: `pcap_if_t' undeclared (first use in this function)
ec_capture.c:286: (Each undeclared identifier is reported only once
ec_capture.c:286: for each function it appears in.)
ec_capture.c:286: `dev' undeclared (first use in this function)
ec_capture.c:286: `pdev' undeclared (first use in this function)
ec_capture.c:286: `ndev' undeclared (first use in this function)
ec_capture.c:286: warning: left-hand operand of comma expression has no effect
ec_capture.c:286: warning: left-hand operand of comma expression has no effect
ec_capture.c:287: parse error before `char'
ec_capture.c:292: warning: implicit declaration of function `pcap_findalldevs'
ec_capture.c:292: parse error before `)'
ec_capture.c:292: `pcap_errbuf' undeclared (first use in this function)
ec_capture.c:296: parse error before `)'
ec_capture.c:302: `PCAP_IF_LOOPBACK' undeclared (first use in this function)
make[2]: *** [ettercap-ec_capture.o] Error 1
make[2]: Leaving directory `/home/kjetil/ettercap-NG-0.7.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kjetil/ettercap-NG-0.7.0/src'
make: *** [all-recursive] Error 1