This turned out not to be a problem with snort_inline and the code in
inline.c but rather Scott's libnet installation. It is working now,
It compiled fine with RHES3.
Regards,
Will
On Fri, 10 Sep 2004 22:47:04 -0400, Gould, Scott <sg...@go...> wrote:
>
>
>
> 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
>
>
|