[Snort-devel] Bug report on make failing on AIX 4.3.3

Fyodor fygrave at ...1...
Tue Jan 29 07:09:24 EST 2002


On Tue, Jan 29, 2002 at 09:34:45AM -0500, Michael Goodman wrote:
>  
> gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/linux/include  -g -O2 -Wall
> -DDEBUG -ggdb -c snort.c
> make[2]: Leaving directory `/usr/local/snort-1.8.3'
> make[1]: Leaving directory `/usr/local/snort-1.8.3'
> f.h: A file or directory in the path name does not exist.
> In file included from snort.c:45:
> snort.h:32: net/bpf.h: A file or directory in the path name does not
> exist.

hmm.. where's your net/bpf.h file then? ;-) (*hint* find /usr/include
-name bpf.h -print) ;-)

> In file included from /usr/include/netinet/in.h:285,
> In file included from snort.h:193,
>                  from snort.c:45:
> log.h:31: warning: `LOG_AUTHPRIV' redefined
> /usr/include/sys/syslog.h:141: warning: this is the location of the
> previous definition

Index: log.h
===================================================================
RCS file: /cvsroot/snort/snort/Attic/log.h,v
retrieving revision 1.15
diff -u -r1.15 log.h
--- log.h	2001/09/20 01:46:07	1.15
+++ log.h	2002/01/29 15:04:05
@@ -26,11 +26,6 @@
 #ifndef __LOG_H__
 #define __LOG_H__
 
-#if defined (SUNOS) || defined (SOLARIS) || defined (HPUX) || defined (IRIX) \
-|| defined (AIX) || defined (OSF1)
-    #define LOG_AUTHPRIV LOG_AUTH
-#endif
-
 #ifndef LOG_AUTHPRIV
     #define LOG_AUTHPRIV LOG_AUTH
 #endif




More information about the Snort-devel mailing list