[Snort-users] flexresp

Claudiu Ionescu jones at ...3634...
Wed Jan 30 00:50:06 EST 2002


Hi all,
I still cannot compile flexresp support on my Linux machine. I have looked up
snort users archive and did not find anything similar. I would appreciate any
help. This is the output after make command to the first error:
-------------------------
main:~/snort-1.8.3 #
make                                                              
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/root/snort-1.8.3'
Making all in win32
make[2]: Entering directory `/root/snort-1.8.3/win32'
Making all in WIN32-Code
make[3]: Entering directory `/root/snort-1.8.3/win32/WIN32-Code'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/snort-1.8.3/win32/WIN32-Code'
Making all in WIN32-Includes
make[3]: Entering directory `/root/snort-1.8.3/win32/WIN32-Includes'
Making all in libnet
make[4]: Entering directory `/root/snort-1.8.3/win32/WIN32-Includes/libnet'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/snort-1.8.3/win32/WIN32-Includes/libnet'
Making all in mysql
make[4]: Entering directory `/root/snort-1.8.3/win32/WIN32-Includes/mysql'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/snort-1.8.3/win32/WIN32-Includes/mysql'
Making all in rpc
make[4]: Entering directory `/root/snort-1.8.3/win32/WIN32-Includes/rpc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/snort-1.8.3/win32/WIN32-Includes/rpc'
make[4]: Entering directory `/root/snort-1.8.3/win32/WIN32-Includes'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/root/snort-1.8.3/win32/WIN32-Includes'
make[3]: Leaving directory `/root/snort-1.8.3/win32/WIN32-Includes'
Making all in WIN32-Libraries
make[3]: Entering directory `/root/snort-1.8.3/win32/WIN32-Libraries'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/snort-1.8.3/win32/WIN32-Libraries'
make[3]: Entering directory `/root/snort-1.8.3/win32'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/snort-1.8.3/win32'
make[2]: Leaving directory `/root/snort-1.8.3/win32'
make[2]: Entering directory `/root/snort-1.8.3'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f snort.c || echo
'./'`snort.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f log.c || echo
'./'`log.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f decode.c || echo
'./'`decode
.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f mstring.c || echo
'./'`mstri
ng.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f rules.c || echo
'./'`rules.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f plugbase.c || echo
'./'`plug
base.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_pattern_match.c ||
echo '
./'`sp_pattern_match.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_tcp_flag_check.c
|| echo 
'./'`sp_tcp_flag_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_icmp_type_check.c
|| echo
 './'`sp_icmp_type_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_icmp_code_check.c
|| echo
 './'`sp_icmp_code_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_ttl_check.c ||
echo './'`
sp_ttl_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_ip_id_check.c ||
echo './
'`sp_ip_id_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_tcp_ack_check.c ||
echo '
./'`sp_tcp_ack_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_tcp_seq_check.c ||
echo '
./'`sp_tcp_seq_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_dsize_check.c ||
echo './
'`sp_dsize_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f spp_http_decode.c ||
echo '.
/'`spp_http_decode.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f spp_portscan.c ||
echo './'`
spp_portscan.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_ipoption_check.c
|| echo 
'./'`sp_ipoption_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_rpc_check.c ||
echo './'`
sp_rpc_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_icmp_id_check.c ||
echo '
./'`sp_icmp_id_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_icmp_seq_check.c
|| echo 
'./'`sp_icmp_seq_check.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql
-DENABLE_MYSQ
L -I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR
_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c `test -f sp_respond.c || echo
'./'`sp
_respond.c
In file included from snort.h:54,
                 from sp_respond.h:23,
                 from sp_respond.c:35:
/usr/include/rpc/auth.h:74: parse error before `uint32_t'
/usr/include/rpc/auth.h:74: warning: no semicolon at end of struct or union
/usr/include/rpc/auth.h:74: warning: no semicolon at end of struct or union
/usr/include/rpc/auth.h:75: warning: data definition has no type or storage
class
/usr/include/rpc/auth.h:76: warning: data definition has no type or storage
class
/usr/include/rpc/auth.h:78: parse error before `}'
/usr/include/rpc/auth.h:98: field `ah_key' has incomplete type
In file included from snort.h:189,
                 from sp_respond.h:23,
                 from sp_respond.c:35:
event.h:26: parse error before `uint32_t'
event.h:26: warning: no semicolon at end of struct or union
event.h:27: warning: type defaults to `int' in declaration of `sig_id'
event.h:27: warning: data definition has no type or storage class
event.h:28: parse error before `sig_rev'
event.h:28: warning: type defaults to `int' in declaration of `sig_rev'
event.h:28: warning: data definition has no type or storage class
event.h:29: parse error before `classification'
...........
----------------------------

Thanks.




More information about the Snort-users mailing list