vague note
David J Brumley
dbrumley at rtfm.stanford.edu
Tue May 7 13:33:20 EDT 2002
sorry for the vague note. here's the error:
gcc -O2 -I. -I../include -I/usr/local/include -I/usr/include
-DLBL_ALIGN=1 -DHAVE_LIBNSL=1 -DHAVE_LIBSOCKET=1 -DHAVE_TCP_WRAPPER=1
-DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1
-DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1
-DHAVE_STRERROR=1 -DHAVE_SOLARIS=1 -DSTDC_HEADERS=1 -DARGUS_SYSLOG=1
-c ./argus_filter.c
./argus_filter.c: In function `error':
./argus_filter.c:3439: `__builtin_va_alist' undeclared (first use in
this function)
./argus_filter.c:3439: (Each undeclared identifier is reported only
once
./argus_filter.c:3439: for each function it appears in.)
./argus_filter.c: In function `ArgusLog':
./argus_filter.c:5494: `__builtin_va_alist' undeclared (first use in
this function)
make: *** [argus_filter.o] Error 1
If you take out the -I/usr/include it compiles fine, e,g:
gcc -O2 -I. -I../include -I/usr/local/include -c ./argus_filter.c
-DHAVE_SOLARIS=1 -DSTDC_HEADERS=1 -DLBL_ALIGN=1 -DHAVE_LIBNSL=1
-DHAVE_LIBSOCKET=1 -DHAVE_TCP_WRAPPER=1 -DHAVE_SYS_SOCKIO_H=1
-DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1
-DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1
-DHAVE_SOLARIS=1 -DSTDC_HEADERS=1 -DARGUS_SYSLOG=1
V_INCL is set in configure to incluce /usr/include:
s%@V_INCLS@%-I/usr/local/include -I/usr/include %g
This is very mysterious...why would-I/usr/include screw up things?
-david
--
David Brumley
650.723.2445
More information about the argus
mailing list