[Snort-users] [off-topic] compilation problem

Ronneil Camara ronneilc at ...4042...
Wed Jan 23 07:51:09 EST 2002


Hi Skadhi,

What version of linux does snortsam like? What about distro? If redhat, what version does it like?
What kernel? What about gcc version?

FYI, I used cvs to download the sources.

Here are the errors.

[root at ...4650... snortsam]# gcc -o snortsam snortsam.c
In file included from snortsam.c:84:
plugins.h:117:26: warning: no newline at end of file
In file included from snortsam.c:84:
snortsam.h:125: warning: redefinition of `time_t'
/usr/include/time.h:71: warning: `time_t' previously declared here
In file included from plugins.h:40,
                 from snortsam.c:85:
ssp_opsec.h:65: parse error before `opsec_table'
snortsam.c: In function `myisspace':
snortsam.c:216: warning: comparison is always false due to limited range of data type
snortsam.c: In function `getip':
snortsam.c:374: warning: assignment makes pointer from integer without a cast
snortsam.c:378: dereferencing pointer to incomplete type
snortsam.c:378: dereferencing pointer to incomplete type
snortsam.c: In function `sendpacket':
snortsam.c:862: warning: passing arg 2 of `TwoFishEncrypt' from incompatible pointer type
snortsam.c: In function `FWSamParse':
snortsam.c:898: structure has no member named `S_un'
snortsam.c:898: structure has no member named `S_un'
snortsam.c:898: structure has no member named `S_un'
snortsam.c:898: structure has no member named `S_un'
snortsam.c: In function `main':
snortsam.c:1453: warning: passing arg 2 of `TwoFishDecrypt' from incompatible pointer type
snortsam.c:1458: warning: passing arg 2 of `TwoFishDecrypt' from incompatible pointer type

Thanks.

Neil
> -----Original Message-----
> From: skadhi [mailto:skadhi at ...4497...]
> Sent: Wednesday, January 23, 2002 9:45 AM
> To: Ronneil Camara
> Cc: Snort Users
> Subject: Re: [Snort-users] [off-topic] compilation problem
> 
> 
> On Wed, 2002-01-23 at 16:01, Ronneil Camara wrote:
> > Hi guys,
> > 
> > This is a bit off topic. I've got a question on snortsam. I 
> am trying to compile
> > it on my redhat. Has anyone had a successful compilation in redhat?
> > Btw, I've got OPSEC SDK installed. I've got snortsam's 
> header files refer to
> > OPSEC also.
> > 
> > I'll try to regenerate the errors again.
> yes please do this. Also have you validated that snortsam supports the
> brain-damaged gcc 2.96 shipped w/ Redhat ?
> 
> -- 
> /Saad Kadhi --  [skadhi at ...4497...] 
> [pgp keyid: 35592A6D http://pgp.mit.edu]
> # buy a geek-in-a-can, point nozzle at technical problem and spray
> # if desesperate degauss your screen. it might solve your pb as well
> 
> 




More information about the Snort-users mailing list