Problems compiling wget 1.6!!!
Hi, I have problems in compiling the recent version wget-1.6. Attached the log files for "./configure" and "make". If you have further questions, feel free to ask me. Hope this helps. Pedro Note: I'd like to be cc'd in replies to my post because I am not subscribed. Thanks. ./configure creating cache ./config.cache configuring for GNU Wget 1.6 checking host system type... sparc-sun-solaris2.6 checking whether make sets ${MAKE}... yes checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... checking for function prototypes... yes checking for working const... yes checking for size_t... yes checking for pid_t... yes checking whether byte ordering is bigendian... yes checking size of long... 4 checking size of long long... 8 checking for string.h... yes checking for stdarg.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for utime.h... yes checking for sys/utime.h... yes checking for sys/select.h... yes checking for sys/utsname.h... yes checking for pwd.h... yes checking for signal.h... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for struct utimbuf... yes checking for working alloca.h... yes checking for alloca... yes checking for strdup... yes checking for strstr... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for gettimeofday... yes checking for mktime... yes checking for strptime... yes checking for strerror... yes checking for snprintf... yes checking for vsnprintf... yes checking for select... yes checking for signal... yes checking for symlink... yes checking for access... yes checking for isatty... yes checking for uname... yes checking for gethostname... yes checking for gethostbyname... no checking for gethostbyname in -lnsl... yes checking for socket in -lsocket... yes checking whether NLS is requested... yes language catalogs: cs da de el et fr gl hr it ja nl no pl pt_BR ru sk sl sv zh checking for msgfmt... /bin/msgfmt checking for xgettext... /bin/xgettext checking for gmsgfmt... /bin/msgfmt found xgettext programs is not GNU xgettext; ignore it checking for locale.h... yes checking for libintl.h... yes checking for gettext... yes checking for makeinfo... no checking for emacs... no checking for xemacs... xemacs updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating doc/Makefile creating util/Makefile creating po/Makefile.in creating src/config.h generating po/POTFILES from ./po/POTFILES.in creating po/Makefile make cd src make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR= \"/usr/local/share/locale\"' CFLAGS='-O2 -Wall -Wno-implicit' 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\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c cmpt.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c connect.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c fnmatch.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c ftp.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c ftp-basic.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c ftp-ls.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c ftp-opie.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c getopt.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c headers.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c host.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c html.c gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO
Re: Problems compiling wget 1.6!!!
"Pedro Montero" [EMAIL PROTECTED] writes: gcc -I. -I. -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLO CALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c log.c log.c: In function `logprintf': log.c:382: `__builtin_va_alist' undeclared (first use this function) log.c:382: (Each undeclared identifier is reported only once log.c:382: for each function it appears in.) log.c:375: warning: `args' might be used uninitialized in this function log.c: In function `debug_logprintf': log.c:412: `__builtin_va_alist' undeclared (first use this function) log.c:406: warning: `args' might be used uninitialized in this function *** Error code 1 wget is known to compile fine on Solaris 2.6 with gcc, so I suspect you have the same problem another recent poster did. The "fixed" headers gcc uses are out-of-sync with your OS (was this machine upgraded to 2.6, by any chance?). Please re-install a current version of gcc -- your compile problem will almost certainly go away. --- Dan Harkless| To help prevent SPAM contamination, GNU Wget co-maintainer | please do not mention this email http://sunsite.dk/wget/ | address in Usenet posts -- thank you.