[Snort-users] snort-1.9.0beta5 fails to build on HP-UX 10.20

Ralf Hildebrandt Ralf.Hildebrandt at ...3909...
Thu Aug 15 04:48:03 EDT 2002


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 at ...3909...
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)





More information about the Snort-users mailing list