vague note

Carter Bullard carter at qosient.com
Tue May 7 14:29:22 EDT 2002


Hey Guys,
   Very interesting.  On my Solaris machine with gcc added,
-I/usr/include doesn't come up as a compile option.  David,
what's the configure saying?

Carter

Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 18K
New York, New York  10022

carter at qosient.com
Phone +1 212 588-9133
Fax   +1 212 588-9134
http://qosient.com

> -----Original Message-----
> From: owner-argus-info at lists.andrew.cmu.edu 
> [mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of 
> Winfred Harrelson
> Sent: Tuesday, May 07, 2002 2:18 PM
> To: David J Brumley
> Cc: argus-info at lists.andrew.cmu.edu
> Subject: Re: vague note
> 
> 
> 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