HELP!
I'm trying to build Wget on a Solaris 8 x86 system. The output of
'config.guess' is 'i386-pc-solaris2.8', which appears correct. When I do
the 'make', I get the following:
cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\"' CFLAGS='-g -O2' LDFLAGS=''
LIBS='-lsocket -lnsl' prefix='/usr/local' exec_prefix='/usr/local'
bindir='/usr/local/bin' infodir='/usr/local/info' mandir='/usr/local/man'
manext='1'
gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -c log.c
In file included from options.h:21,
from wget.h:68,
from log.c:41:
/usr/include/stdio.h:120: conflicting types for `va_list'
/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.2/include/stdarg.h:170:
previous declaration of `va_list'
*** Error code 1
make: Fatal error: Command failed for target `log.o'
Current working directory /usr/local/src/wget-1.7/src
*** Error code 1
make: Fatal error: Command failed for target `src'
It appears to me that there is some strange interaction between the
include files. I tried several changes in the include file area, and
wasn't able to get a good build.
I checked the archives site listed in the 'MAILING-LIST' file, and it
didn't seem to exist.
Any help or suggestions would be appreciated.
Peter Ashford