On Thu, Nov 29 2007 at 21:00, Markus Lude wrote:
> Hello,
> here is an update to snort 2.8.0. Please test/comment/commit/...

Does not compile on i386 with FLAVOR="flexresp" on 4.2-stable

> Based on changes for 2.7.0.1 by Jason Dixon.
> Some added patches fix bus errors on sparc64 noticed by [EMAIL PROTECTED]
> 
> If noone other wants, I would take maintainership (not included in
> diff).
> 
> Regards,
> Markus
> 

Here is the compile error

cc -DHAVE_CONFIG_H -I. -I../.. 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins
 -I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/sfutil  
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/output-plugins
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/dynamic-plugins
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/flow
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/portscan
  
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/flow/int-snort
  
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/HttpInspect/include
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/preprocessors/Stream5
 
-I/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/target-based 
  -I/usr/local/include -DENABLE_RESPONSE2 -I/usr/local/include  -O2 -pipe -Wall 
-DDYNAMIC_PLUGIN -c 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c
In file included from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/decode.h:49,
                 from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:99:
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/ipv6_port.h:71:
 error: conflicting types for `ip_t'
/usr/local/include/dnet/ip.h:411: error: previous declaration of `ip_t'
In file included from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:99:
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/decode.h:948:1:
 warning: "IP_PROTO_HOPOPTS" redefined
In file included from /usr/local/include/dnet.h:15,
                 from 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:97:
/usr/local/include/dnet/ip.h:97:1: warning: this is the location of the 
previous definition
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `Respond2Init':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:260:
 warning: assignment from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `Respond2Restart':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:299:
 warning: passing arg 1 of `ip_close' from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:299:
 warning: assignment from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `SendReset':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:682:
 warning: passing arg 1 of `ip_send' from incompatible pointer type
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:
 In function `SendUnreach':
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/snort-2.8.0/src/detection-plugins/sp_respond2.c:806:
 warning: passing arg 1 of `ip_send' from incompatible pointer type
*** Error code 1

Stop in 
/usr/ports/dynetcom/snort/w-snort-2.8.0-flexresp/build-i386-flexresp/src/detection-plugins.
*** Error code 1


Claer

Reply via email to