Snort mailing list archives
Snort on HPUX
From: "Taylor Lewick" <Taylor.Lewick () us fortis com>
Date: Thu, 18 Apr 2002 09:57:14 -0500
Okay, I am trying to compile sonrt on hp-ux 11. First with gcc, but was told it couldnt handle bit streams, so I swithced to cc, HP's complier, and I am getting an error in spp_anomsensor.c. The problem I was told is it is declaring variables (array) in a non-ansi fashion. So I either need a fix for the variable declaration, or I need a way of removing spp_anomsensor.c .h and .o from the makefile. I tried this, but when I run make it errors with a formatting error. I cant vi the file because of a line too long error. The code that is erring out is the last line of the following code segment.. double calc_anom(valtype val[]) { double prob; if (!parts) { features fl[]= {DIP,DPORT,SIP,SPORT}; features vl[]= {val[DIP],val[DPORT],val[SIP],val[SPORT]}; How can I rewrite that so it works with the ansi c compiler? Thanks, **************************************************************** Please Note The information in this E-mail message is legally privileged and confidential information intended only for the use of the individual(s) named above. If you, the reader of this message, are not the intended recipient, you are hereby notified that you should not further disseminate, distribute, or forward this E-mail message. If you have received this E-mail in error, please notify the sender. Thank you ***************************************************************** _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Snort on HPUX Taylor Lewick (Apr 18)
- Re: Snort on HPUX James Hoagland (Apr 18)