I've attached the output of configure and make. Did a little troubleshooting, but anything beyond basic compiling is over my head. Thanks for the help.
edit: I can't post an attachment, so here's the full output.
Code:
# ./configure
loading cache ./config.cache
checking for non-GNU ld... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets ${MAKE}... (cached) yes
checking for bison... (cached) bison -y
checking whether ln -s works... (cached) no
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc
checking how to run the C preprocessor... (cached) gcc -E
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for special development options... no
checking for AIX... no
checking for strerror in -lcposix... (cached) no
checking for minix/config.h... (cached) no
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) 64
checking for _LARGE_FILES value needed for large files... (cached) no
checking for AIX compilation hacks... (cached) no
checking for Linux/Alpha compilation hacks... (cached) no
checking for gcc option to accept ANSI C... (cached) none needed
checking for function prototypes... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for shared library run path origin... (cached) done
checking host system type... i686-pc-linux-gnu
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking whether we are using the GNU C Library 2.1 or newer... (cached) yes
checking for iconv... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... (cached) yes
checking for fgets_unlocked... (cached) yes
checking for getc_unlocked... (cached) yes
checking for getcwd... (cached) yes
checking for getegid... (cached) yes
checking for geteuid... (cached) yes
checking for getgid... (cached) yes
checking for getuid... (cached) yes
checking for mempcpy... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for iconv declaration... (cached)
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for bison... (cached) bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... (cached) yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for libintl.h... (cached) yes
checking for mcheck.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for signum.h... (cached) no
checking for stdarg.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking for memory.h... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... (cached) gid_t
checking for unistd.h... (cached) yes
checking for ssize_t... (cached) yes
checking for vprintf... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtod... (cached) yes
checking for strtod with C89 semantics... (cached) no
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... (cached) yes
checking for working mktime... (cached) yes
checking for fmod in -lm... (cached) yes
checking for getgroups... (cached) yes
checking for memset... (cached) yes
checking for memcpy... (cached) yes
checking for memcmp... (cached) yes
checking for fmod... (cached) yes
checking for setlocale... (cached) yes
checking for strchr... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for strncasecmp... (cached) yes
checking for strtod... (cached) yes
checking for system... (cached) yes
checking for tzset... (cached) yes
checking for mbrlen... (cached) yes
checking for mbrtowc... (cached) yes
checking for dlfcn.h... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking whether getpgrp takes no argument... (cached) yes
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking where to find the socket library calls... the standard library
checking for st_blksize in struct stat... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking whether char is unsigned... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for preprocessor stringizing operator... (cached) yes
creating ./config.status
creating Makefile
creating awklib/Makefile
creating doc/Makefile
creating intl/Makefile
creating po/Makefile.in
creating test/Makefile
creating config.h
config.h is unchanged
creating po/POTFILES
creating po/Makefile
Code:
# make CC="gcc -static"
make 'CFLAGS=-g -O2' 'LDFLAGS=-rdynamic' all-recursive
make[1]: Entering directory `/mnt/hgfs/russ shared vmware folder/awk/gawk-3.1.1'
Making all in intl
make[2]: Entering directory `/mnt/hgfs/russ shared vmware folder/awk/gawk-3.1.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/hgfs/russ shared vmware folder/awk/gawk-3.1.1/intl'
Making all in .
make[2]: Entering directory `/mnt/hgfs/russ shared vmware folder/awk/gawk-3.1.1'
source='array.c' object='array.o' libtool=no \
depfile='.deps/array.Po' tmpdepfile='.deps/array.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -static -DDEFPATH="\".:/usr/local/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I. -I./intl -g -O2 -c `test -f array.c || echo './'`array.c
In file included from awk.h:68,
from array.c:40:
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i386-redhat-linux/3.4.4/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
In file included from awk.h:152,
from array.c:40:
protos.h:125: error: syntax error before "sprintf"
protos.h:125: warning: data definition has no type or storage class
In file included from array.c:40:
awk.h:198: error: syntax error before "lose"
awk.h:209: error: syntax error before "extern"
In file included from array.c:40:
awk.h:946: error: syntax error before "catchsig"
awk.h:946: warning: data definition has no type or storage class
make[2]: *** [array.o] Error 1
make[2]: Leaving directory `/mnt/hgfs/russ shared vmware folder/awk/gawk-3.1.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/hgfs/russ shared vmware folder/awk/gawk-3.1.1'
make: *** [all] Error 2