I am having compile problems with Dovecot v2.0.2 on a well patched Solaris 10u8 Sparc system using the included gcc compiler.
Version 2.0.0 compiled with out any issues using the same configure syntax. My ./configure syntax looks like this:
./configure --with-ssl=openssl --with-shadow
Yahoo and Google searches turned up nothing for me.
Reviewing the file mountpoint.c between version 2.0.0 and 2.0.2 shows the files to be identical, so I have a problem somewhere else, I am just not sure where.
TIA for any pointers,
Jerry
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -I/usr/sfw/include -MT module-dir.lo -MD -MP -MF
.deps/module-dir.Tpo -c -o module-dir.lo module-dir.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/sfw/include -MT
module-dir.lo -MD -MP -MF .deps/module-dir.Tpo -c module-dir.c -fPIC
-DPIC -o .libs/module-dir.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/sfw/include -MT
module-dir.lo -MD -MP -MF .deps/module-dir.Tpo -c module-dir.c -o
module-dir.o >/dev/null 2>&1
mv -f .deps/module-dir.Tpo .deps/module-dir.Plo
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -I/usr/sfw/include -MT mountpoint.lo -MD -MP -MF
.deps/mountpoint.Tpo -c -o mountpoint.lo mountpoint.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/sfw/include -MT
mountpoint.lo -MD -MP -MF .deps/mountpoint.Tpo -c mountpoint.c -fPIC
-DPIC -o .libs/mountpoint.o
mountpoint.c: In function mountpoint_get': mountpoint.c:88: error: field
ent' has incomplete type
mountpoint.c:89: error: field ext' has incomplete type mountpoint.c:172: warning: implicit declaration of function
resetmnttab'
mountpoint.c:173: warning: implicit declaration of function getextmntent' mountpoint.c:174: warning: implicit declaration of function
hasmntopt'
make[4]: *** [mountpoint.lo] Error 1
make[4]: Leaving directory /usr/local/src/d/dovecot-2.0.2/src/lib' make[3]: *** [all] Error 2 make[3]: Leaving directory
/usr/local/src/d/dovecot-2.0.2/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/local/src/d/dovecot-2.0.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/usr/local/src/d/dovecot-2.0.2'
make: *** [all] Error 2