vague note
Winfred Harrelson
wharrels at kettering.edu
Tue May 7 14:18:02 EDT 2002
On Tue, 7 May 2002, David J Brumley wrote:
> 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?
This is a gcc issue (sort of), see:
http://www.unixguide.net/sun/faq/5.09.shtml
Winfred
More information about the argus
mailing list