Snort mailing list archives

RE: [Snort-inline-users] Trouble compiling snort_inline-2.2.0-RC1


From: "Gould, Scott" <sgould () gogstats org>
Date: Sat, 11 Sep 2004 23:28:17 -0400

 

Will,

 

Sorry for the delay in getting back to you.

 

gcc-3.2.3-42  (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42 as per
gcc-v)

Libnet-1.0.2a

 

Configure -enable-perfmonitor -enable-flexresp -enable-linux-smp-stats

 

Thanks again for  looking at this for me.  Appreciate any help you can
offer.

 

 

Scott Gould

Gynecologic Oncology Group 

Statistical & Data Center

716-845-5702

________________________________

From: William Metcalf [mailto:William_Metcalf () kcmo org] 
Sent: Saturday, September 11, 2004 9:55 AM
To: Gould, Scott
Subject: Re: [Snort-inline-users] Trouble compiling
snort_inline-2.2.0-RC1

 

what version of libnet are you running?

Regards,

Will
 "Gould, Scott" <sgould () gogstats org>

"Gould, Scott" <sgould () gogstats org> 
Sent by: snort-inline-users-admin () lists sourceforge net 

09/10/2004 09:47 PM

 

To

 
<snort-inline-users () lists sourceforge net>



cc





Subject


***BULK*** ***BULK*** [Snort-inline-users] Trouble compiling
snort_inline-2.2.0-RC1

 






Trouble with compiling on a OS RHEL Update 1. Kernel 2.4.21 smp
w/ebtables brnf patch

Anyone else seeing this:


gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../src/sfutil
-I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins
-I../src/preprocessors -I../src/preprocessors/flow
-I../src/preprocessors/portscan -I../src/preprocessors/flow/int-snort
-I../src/preprocessors/HttpInspect/include -I/usr/local/include
-DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DLIBNET_LIL_ENDIAN -I/usr/local/include -I/sw/include -g -O2 -Wall
-DUSE_SF_STATS -DLINUX_SMP -DGIDS -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DLIBNET_LIL_ENDIAN -c `test -f 'inline.c' || echo
'./'`inline.c
inline.c: In function `RejectLayer2':
inline.c:554: dereferencing pointer to incomplete type
make[3]: *** [inline.o] Error 1
make[3]: Leaving directory `/downloads/snort_inline-2.2.0-RC1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/downloads/snort_inline-2.2.0-RC1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/snort_inline-2.2.0-RC1'
make: *** [all] Error 2


Not be much of a coder, so I wouldn't really know what to be looking for
in inline.c, I think I remember getting the same error when compiling
from a source of snort_2.2.0 with the inline patches, if I included the
latest patch that added the reset functionality

Any help is much appreciated

Scott Gould
Gynecologic Oncology Group 
Statistical & Data Center
716-845-5702


Current thread: