On Solaris 10 with Sun Studio 12 I get the following error:
/bin/bash ../libtool --tag=CC --mode=compile /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../lib -I../lib -DLOCALEDIR=\"/opt/csw/share/locale\" -DSYSCONFFILE=\"/etc/opt/csw/a2ps.cfg\" -DHAVE_CONFIG_H -I/opt/csw/include -D_REENTRANT -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -c -o output.lo output.c libtool: compile: /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../lib -I../lib -DLOCALEDIR=\"/opt/csw/share/locale\" -DSYSCONFFILE=\"/etc/opt/csw/a2ps.cfg\" -DHAVE_CONFIG_H -I/opt/csw/include -D_REENTRANT -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -c output.c -o output.o
"output.c", line 169: warning: no explicit type given for parameter: va_alist
"output.c", line 169: syntax error before or at: va_dcl "output.c", line 171: warning: old-style declaration or incorrect type for: va_dcl
"output.c", line 201: cannot recover from previous errors cc: acomp failed for output.c
gmake[3]: *** [Makefile:1676: output.lo] Error 1
Thanks very much. This is old code that is trying to allow for pre-ANSI compilers; rather than work out what's going wrong here, I'll assume ISO C99 as we do elsewhere in the next alpha.