Hi Jingle, on Linux stdarg.h should be somewhere like: /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/stdarg.h and not in /usr/include. Any idea who did put /usr/include/stdarg.h on your system? Do locate stdarg.h to see if there are other stdarg.h's on your system. -- Fons On Sat, Jan 27, 2001 at 06:38:08PM +0800, Jingle Magallanes wrote: > guys, > > please help me on this one: > > ============================================================ > g++ -O2 -pipe -Wall -fPIC -DR__GLIBC -Iinclude -D_REENTRANT > -I/usr/include -o x11ttf/src/TGX11TTF.o -c x11ttf/src/TGX11TTF.cxx > /usr/include/stdarg.h: In function `void va_start(double *, int)': > In file included from /usr/include/stdio.h:38, > from include/Rtypes.h:28, > from include/TObject.h:31, > from include/TNamed.h:26, > from include/TVirtualX.h:28, > from include/TGX11.h:26, > from include/TGX11TTF.h:29, > oot@node13 root]# > /usr/include/stdarg.h:11: `stderr' undeclared (first use this function) > /usr/include/stdarg.h:11: (Each undeclared identifier is reported only > once > /usr/include/stdarg.h:11: for each function it appears in.) > /usr/include/stdarg.h:11: warning: implicit declaration of function `int > sprintf(...)' > /usr/include/libio.h: At top level: > In file included from /usr/include/stdio.h:57, > from include/Rtypes.h:28, > from include/TObject.h:31, > from include/TNamed.h:26, > from include/TVirtualX.h:28, > from include/TGX11.h:26, > from include/TGX11TTF.h:29, > from x11ttf/src/TGX11TTF.cxx:28: > /usr/include/libio.h:364: type specifier omitted for parameter > /usr/include/libio.h:366: type specifier omitted for parameter > In file included from include/Rtypes.h:28, > from include/TObject.h:31, > from include/TNamed.h:26, > from include/TVirtualX.h:28, > from include/TGX11.h:26, > from include/TGX11TTF.h:29, > from x11ttf/src/TGX11TTF.cxx:28: > /usr/include/stdio.h:116: `struct FILE * stderr' used prior to declaration > /usr/include/stdio.h:262: type specifier omitted for parameter > /usr/include/stdio.h:262: parse error before `)' > /usr/include/stdio.h:265: type specifier omitted for parameter > /usr/include/stdio.h:265: parse error before `)' > /usr/include/stdio.h:269: type specifier omitted for parameter > /usr/include/stdio.h:269: parse error before `)' > /usr/include/stdio.h:279: type specifier omitted for parameter > /usr/include/stdio.h:279: parse error before `)' > /usr/include/stdio.h:283: type specifier omitted for parameter > /usr/include/stdio.h:283: parse error before `)' > In file included from /usr/include/stdio.h:635, > from include/Rtypes.h:28, > from include/TObject.h:31, > from include/TNamed.h:26, > from include/TVirtualX.h:28, > from include/TGX11.h:26, > from include/TGX11TTF.h:29, > from x11ttf/src/TGX11TTF.cxx:28: > /usr/include/bits/stdio.h:33: type specifier omitted for parameter > /usr/include/bits/stdio.h:33: parse error before `)' > /usr/include/bits/stdio.h: In function `int vprintf(...)': > /usr/include/bits/stdio.h:35: `__fmt' undeclared (first use this function) > /usr/include/bits/stdio.h:35: `__arg' undeclared (first use this function) > /usr/include/bits/stdio.h:36: warning: control reaches end of non-void > function `vprintf(...)' > gmake: *** [x11ttf/src/TGX11TTF.o] Error 1 > =========================================================================== > > this is root version 3.00/02 in linux 6.1 > > > thanks, > jaybee > -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 11:50:57 MEST