This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Undefined symbols in reference to builtin va_list


Thanks Geoff, it worked!

> -----Original Message-----
> From: Geoff Keating [mailto:geoffk@cygnus.com]
> Sent: Friday, December 03, 1999 9:10 PM
> To: Cheney, Dan
> Cc: gcc-bugs@gcc.gnu.org
> Subject: Re: Undefined symbols in reference to builtin va_list
> 
> 
> 
> "Cheney, Dan" <dcheney@btg.com> writes:
> 
> > I'm reporting this because of this message in /usr/include/stdarg.h:
> ...
> > /usr/local/bin/gcc -v --save-temps -c -O -DWOPR -DSUN 
> -DSOLARIS -DSYSV
> > -DSVR4 
> > -DCRZ_VFORK -CRZ_DONT_INCLUDE_STRINGS -DNO_GETWD=1 
> -DHAVE_UNISTD_H=1 
> > -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_UNISTD_H=1 
> -DDIRENT=1 -DLIBDIR=0 
> > -DINCLUDEDIR=0 -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DREGEX_MALLOC=1 
> > -DUSE_SYS_GETCWD -DTK_FILE_COUNT=_cnt -DXTFUNCPROTO -D_XOPEN_SOURCE 
> > -D_XPG4_2 
> > -I/u01/apps/CZ/src/bin/scm 
> > -I/u01/apps/CZ/include 
> > -I/u01/apps/CZ/src/lib/sccs 
> > -I/usr/include 
> ^^^^^^^^^^^^^^^^
> 
> This is your problem.   You should not be using /usr/include/stdarg.h.
> Instead, look into the -idirafter GCC option.
> 
> > -I/usr/include/Xm
> > -I/usr/include/X11 
> 
> This is probably not wise either.
> 
> > -I/usr/include/Mrm 
> > /u01/apps/CZ/src/bin/scm/callErrBox.c   
> 
> 
> -- 
> - Geoffrey Keating <geoffk@cygnus.com>
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]