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]

BUG!! gcc-2.95.3 (`__builtin_va_alist' undeclared in snprintf()) on Solaris-2.5.1


I finally got gcc-2.95.3 compiled on Solaris-2.5.1 (fully-patched).
When trying to compile sendmail and BerkeleyDB I get errors from
snprintf().  Here's the errors:

sendmail-8.11.3:

gcc -O6 -I. -I../../sendmail   -I../../include -I/usr/local/include -DNEWDB
-DNIS -DNISPLUS -DMAP_REGEX -DAUTO_NIS_ALIASES -DTCPWRAPPERS -DSOLARIS=20501
-DNOT_SENDMAIL      -c -o snprintf.o snprintf.c
snprintf.c: In function `snprintf':
snprintf.c:70: `__builtin_va_alist' undeclared (first use in this function)
snprintf.c:70: (Each undeclared identifier is reported only once
snprintf.c:70: for each function it appears in.)
make[1]: *** [snprintf.o] Error 1
make[1]: Leaving directory
`/export/home0/wwinzer/mybuild/BUILD/sendmail-8.11.3/obj.SunOS.5.5.1.sun4/libsmutil'

make: *** [../libsmutil/libsmutil.a] Error 2

BerkeleyDB-3.3.4:

gcc -c -I. -I../dist/../include -I../dist/../include_auto -D_REENTRANT  -O6
../dist/../clib/snprintf.c
../dist/../clib/snprintf.c: In function `__db_Csnprintf':
../dist/../clib/snprintf.c:47: `__builtin_va_alist' undeclared (first use in
this function)
../dist/../clib/snprintf.c:47: (Each undeclared identifier is reported only once

../dist/../clib/snprintf.c:47: for each function it appears in.)
make: *** [snprintf.o] Error 1

This error never occured using gcc-2.95.2.  2.95.3 was compiled exactly
the same way as 2.95.2.

- Wally Winzer Jr.

S/MIME Cryptographic Signature


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