On Thu, 2008-06-19 at 16:04 -0600, Erinn Looney-Triggs wrote:
I am getting this failure when trying to compile dovecot on Sparc Solaris 8:
make[4]: Entering directory
/home/systems/looneytr/dovecot-1.1.rc12/src/lib' source='str-find.c' object='str-find.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \ gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/openssl/include -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c str-find.c str-find.c:17: field
goodtab' has incomplete type
You can change goodtab[] to goodtab[1]. There's also another place in the code with the same problem. I don't really want to change this just to fix some ancient compilers (unless more people keep complaining :).