Snort mailing list archives

Re: snort-1.9.0beta5 fails to build on HP-UX 10.20


From: Ralf Hildebrandt <Ralf.Hildebrandt () charite de>
Date: Thu, 15 Aug 2002 13:47:21 +0200

On Thu, Aug 15, 2002 at 07:24:48AM -0400, Chris Green wrote:

/usr/include/sys/rw_lock.h:118: parse error before "is"


As far as I can tell, thats in the header files of HP UX.  I don't
know what I can do about that but I'll be glad to accept patches.

You're right, because in /usr/include/sys/rw_lock.h there is:

...
113 #ifndef TRUE
114 #define TRUE    1
115 #define FALSE   0
116 #else
117 #if ((TRUE != 1) || (FALSE != 0))
118 This is probably not a good thing....
119 #endif
120 #endif /* TRUE */
121
122 #endif /* _RW_LOCK_INCLUDED */

so I made this:
#if ((TRUE != 1) || (FALSE != 0))
#define TRUE    1
#define FALSE   0
/* This is probably not a good thing.... */
#endif
 
There are other problems in HP such as bus errors in stream4.  It's  a
platform I highly recommend against using as an IDS platform.

It's only for fun :)

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   Ralf.Hildebrandt () charite de
Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
"Usenet isn't a right. It's a right, a left, and a swift uppercut to the
jaw."-Computer Museum (Boston)



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
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: