[Dovecot] Compile failure on Dovecot 1.1-rc12
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
make[4]: *** [str-find.o] Error 1
This problem has occurred on two separate systems. Have you run into this issue, or are you aware of this issue?
Dovecot 1.0.14 builds just fine.
Thanks, -Erinn
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 make[4]: *** [str-find.o] Error 1This problem has occurred on two separate systems. Have you run into this issue, or are you aware of this issue?
Dovecot 1.0.14 builds just fine.
Thanks, -Erinn
What version of gcc? What configure options? I had no problems with gcc 3.3.2 (well, a still a few compiler warnings; see http://www.dovecot.org/list/dovecot/2008-June/031350.html)
Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
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 :).
participants (3)
-
Chris Wakelin
-
Erinn Looney-Triggs
-
Timo Sirainen