Hi, I would like to ask whether there's any hope of compiling fish-1.20.1 on an older system (gcc-2.95.3, glibc-2.2.3, doxygen-1.2.18). I've included the console log of configure below, but this looks OK. The problem is that I get a bad error as soon as I start make:
$ make gcc -g -O2 -Wall -std=gnu99 -fno-strict-aliasing -c -o function.o function.c cc1: unknown C standard `gnu99' function.c: In function `function_add': function.c:96: parse error before `*' function.c:97: `d' undeclared (first use in this function) function.c:97: (Each undeclared identifier is reported only once function.c:97: for each function it appears in.) make: *** [function.o] Error 1 I would be grateful for any ideas about this. Clearly, it's not a doxygen problem, but perhaps fish has a higher gcc requirement? Christopher $ ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/ginstall -c checking for doxygen... true checking for seq... checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking target system type... i486-pc-linux-gnu checking for /proc/self/stat... yes checking for /usr/pkg/lib... no checking for /usr/pkg/include... no checking for RLIMIT_AS in sys/resource.h... yes checking for RLIMIT_MEMLOCK in sys/resource.h... yes checking for RLIMIT_RSS in sys/resource.h... yes checking for RLIMIT_NPROC in sys/resource.h... yes checking for connect in -lsocket... no checking for nanosleep in -lrt... yes checking for gettext in -lintl... no checking for egrep... grep -E checking for ANSI C header files... yes 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... yes checking for unistd.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncurses/term.h usability... yes checking ncurses/term.h presence... yes checking for ncurses/term.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for wcsdup... yes checking for wcsndup... no checking for wcslen... yes checking for wcscasecmp... yes checking for wcsncasecmp... yes checking for gettext... yes checking for fwprintf... yes checking for futimes... no checking for wcwidth... yes checking for wcswidth... yes checking for getopt_long... yes checking for wcstok... yes checking for fputwc... yes checking for fgetwc... yes checking for wcstol... yes checking for dcgettext... yes checking for gettext... (cached) yes checking for _nl_msg_cat_cntr symbol... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for /usr/pkg/include/ncurses.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating fish.spec config.status: creating doc_src/fish.1 config.status: creating doc_src/Doxyfile config.status: creating init/fish config.status: creating init/fish_interactive.fish config.status: creating init/fish_complete.fish config.status: creating seq config.status: creating config.h Now run 'make' and 'make install' to built and install fish. Good luck! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
