First of all, please notice that i'm not a professional programmer, so maybe i'm asking stupid questions. :-)
I'm trying to compile lftp on Irix, using both gcc and Irix's native compiler (MIPSPro). No matter which compiler i use, i get the same error (see at the end of message). What am i doing wrong? Anyway, lftp is cool! ;-) This is what i get when i run ./configure (this was with MIPSPro, but i get the same thing with gcc): Script started on Mon Oct 1 15:44:40 2001 diaspar 1# ./configure checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... no checking for nawk... nawk checking whether make sets ${MAKE}... yes checking for gcc... /usr/bin/cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... no checking whether /usr/bin/cc accepts -g... yes checking for style of include used by make... GNU checking dependency style of /usr/bin/cc... sgi checking whether we are using the GNU C++ compiler... no checking whether /usr/bin/cc accepts -g... yes checking dependency style of /usr/bin/cc... sgi checking for strerror in -lcposix... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for bison... bison -y checking build system type... mips-sgi-irix6.5 checking host system type... mips-sgi-irix6.5 checking for ranlib... : checking how to run the C preprocessor... /usr/bin/cc -E checking for ANSI C header files... yes checking for /usr/bin/cc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for inline... __inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... no checking for argz.h... no checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... no checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... no checking for setlocale... yes checking for stpcpy... no checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... no checking for msgfmt... msgfmt checking for gmsgfmt... msgfmt checking for xgettext... : checking for bison... bison checking version of bison... 1.25, bad checking for catalogs to be installed... de es fr it ja ko pl pt_BR ru zh_CN zh_TW checking if c++ compiler can handle dynamic initializers... no configure: error: C++ compiler cannot handle dynamic initializers of static objects diaspar 2# exit exit script done on Mon Oct 1 15:46:33 2001 -- Florin Andrei "This is a Klingon." "Where did it came from?" "Oklahoma." (from Star Trek Enterprise series premiere)