[Snort-devel] Thanks & a new problem

W.Zhou thinklong at ...128...
Tue Nov 6 19:07:02 EST 2001


I have updated o 1.8.2 and it is OK now. Thank you very much.

However a new problem emerge now.

I wish to have the FLEX_RESPONSE feature enabled. And I do as follow on my RH Linux 7.1/686 Box:

./configure --enable-debug --enable-flexresp --with-mysql=/usr 

it's OK presently

But when I do the make, It popup a error message:

****************************The Error message begin here *****************
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap  -I/usr/include/mysql -DENABLE_MYSQL -I/usr/include  -g -O2 -Wall -DDEBUG -ggdb -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c snort.c
In file included from /usr/include/netinet/in.h:23,
                 from snort.h:43,
                 from snort.c:45:
/usr/include/stdint.h:51: redefinition of `uint8_t'
/usr/include/sys/types.h:190: `uint8_t' previously declared here
/usr/include/stdint.h:52: redefinition of `uint16_t'
/usr/include/sys/types.h:191: `uint16_t' previously declared here
/usr/include/stdint.h:54: redefinition of `uint32_t'
/usr/include/sys/types.h:192: `uint32_t' previously declared here
make: *** [snort.o] Error 1
****************************The Error message end here *****************

When I disable the FLEX_RESPONSE feature, there is no error again.

What's the problem? I have libnet already installed.

I include the config.log for your kind reference

Thx


----- Original Message ----- 
From: "Chris Green" <cmg at ...81...>
To: "W.Zhou" <thinklong at ...131...>
Cc: <snort-devel at lists.sourceforge.net>
Sent: Tuesday, November 06, 2001 11:42 PM
Subject: Re: [Snort-devel] snort: rules.c:3426: Preprocess: Assertion failed,Aborted(dump)


> "W.Zhou" <thinklong at ...131...> writes:
> 
> > I installed snort-1.8-RELEASE with debug support under RH Linux 7.1.
> 
> Try upgrading to snort 1.8.2/
> 
> > I started snort as follow:
> >     
> >     snort -d -c snort.conf
> >
> > After a few minutes it dumped with a message like :
> >
> > snort: rules.c:3426: Preprocess: Assertion `idx->func !
> > = ((void *)0)' failed.
> > Aborted(core dumped)
> >
> > Who can tell me what is the problem?
> > Your kind help will be greatly appreciated.
> 
> 
> Please perform the steps in BUGS so that we can help if this problem
> is not already fixed.
> -- 
> Chris Green <cmg at ...81...>
> A watched process never cores.
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 26065 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20011106/4f6c49dc/attachment.obj>


More information about the Snort-devel mailing list