[Snort-devel] Small problem with snort.daily

Rob McMillen rvmcmil at ...1029...
Fri Jan 11 19:42:04 EST 2002


Anyone good with the auto* stuff that can give me a hand?  I have libpcap
installed and as you can see below, the configure script finds it, but when
I go to make, I get the error below.  This is with today's
snort-daily.tar.gz.

Thanks in advance,

Rob

[root at ...1058... src]# uname -a
Linux makeshift 2.4.9-13custom #1 Sun Dec 30 21:22:19 EST 2001 i686 unknown

[root at ...1058... snort]# ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for strings.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/sockio.h... no
checking for paths.h... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether snprintf must be declared... no
checking whether strtoul must be declared... no
checking for snprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strerror... yes
checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/detection-plugins/Makefile
config.status: creating src/output-plugins/Makefile
config.status: creating src/preprocessors/Makefile
config.status: creating doc/Makefile
config.status: creating etc/Makefile
config.status: creating rules/Makefile
config.status: creating templates/Makefile
config.status: creating config.h
[root at ...1058... snort]# make
cd . && aclocal
cd . && automake --foreign Makefile
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
cd . && autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure   --no-create --no-recursion
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for strings.h... yes
checking for string.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for sys/sockio.h... no
checking for paths.h... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether snprintf must be declared... no
checking whether strtoul must be declared... no
checking for snprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strerror... yes
checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
cd . && autoheader
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
make  all-recursive
make[1]: Entering directory `/usr/local/snort'
Making all in src
make[2]: Entering directory `/usr/local/snort/src'
cd .. \
  && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating src/Makefile
make[2]: Leaving directory `/usr/local/snort/src'
make[2]: Entering directory `/usr/local/snort/src'
Making all in output-plugins
make[3]: Entering directory `/usr/local/snort/src/output-plugins'
cd ../.. \
  && CONFIG_FILES=src/output-plugins/Makefile CONFIG_HEADERS= /bin/sh
./config.status
config.status: creating src/output-plugins/Makefile
make[3]: Leaving directory `/usr/local/snort/src/output-plugins'
make[3]: Entering directory `/usr/local/snort/src/output-plugins'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../src/detectio
n-plugins -I../../src/output-plugins -I../../src/preprocessors    -g -O2 -Wa
ll -c spo_SnmpTrap.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../src/detectio
n-plugins -I../../src/output-plugins -I../../src/preprocessors    -g -O2 -Wa
ll -c spo_alert_fast.c
In file included from spo_alert_fast.h:27,
                 from spo_alert_fast.c:37:
../../src/snort.h:31:18: pcap.h: No such file or directory
../../src/snort.h:32:21: net/bpf.h: No such file or directory
In file included from spo_alert_fast.h:27,
                 from spo_alert_fast.c:37:
../../src/snort.h:66:25: pcap-namedb.h: No such file or directory
In file included from ../../src/snort.h:192,
                 from spo_alert_fast.h:27,
                 from spo_alert_fast.c:37:
../../src/decode.h:30:18: pcap.h: No such file or directory
In file included from ../../src/snort.h:192,
                 from spo_alert_fast.h:27,
                 from spo_alert_fast.c:37:
../../src/decode.h:48:25: pcap-namedb.h: No such file or directory
make[3]: *** [spo_alert_fast.o] Error 1
make[3]: Leaving directory `/usr/local/snort/src/output-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/snort/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/snort'
make: *** [all-recursive-am] Error 2





More information about the Snort-devel mailing list