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 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 >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 at 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
Erinn Looney-Triggs wrote:> Chris Wakelin wrote: > >> 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 >> > > Hello, > > gcc --version 2.95.3 > > Had to set LDFLAGS and CPPFLAGS to include the openssl in > /usr/local/openssl. > > ./configure --prefix=/usr/local/dovecot --with-ssl=openssl > > I am guessing that it probably has something to do with the old version > of gcc. > > Thanks for your time, > -Erinn >No, *my* version is 'old' - yours is prehistoric :) I've just checked, and yes, gcc 2.95.2 breaks in exactly the same way for me! Best Wishes, Chris -- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin at 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 typeYou 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 :). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080620/87bc7a5a/attachment-0002.bin>