[Dovecot] b13 Compile error on Solaris 10 (Sparc)
mikkel at euro123.dk
mikkel at euro123.dk
Mon Dec 31 11:41:54 EET 2007
All betas so far have compiled without problems on my setup, but something
breaks in b13.
This problem occurs with both make and gmake.
Below are outputs from make and gmake.
Regards, Mikkel
make all-recursive
Making all in src
Making all in lib
make all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/pkgsrc/pkg/include/mysql
-std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT
queue.o -MD -MP -MF ".deps/queue.Tpo" -c -o queue.o queue.c; \
then mv -f ".deps/queue.Tpo" ".deps/queue.Po"; else rm -f
".deps/queue.Tpo"; exit 1; fi
In file included from queue.c:5:
queue.h:13: error: redefinition of `struct queue'
queue.h: In function `queue_idx':
queue.h:37: error: structure has no member named `tail'
queue.h:37: error: structure has no member named `area_size'
queue.c: In function `queue_init':
queue.c:12: error: structure has no member named `arr'
queue.c:13: error: structure has no member named `area_size'
queue.c:14: error: structure has no member named `arr'
queue.c:14: error: structure has no member named `arr'
queue.c:15: error: structure has no member named `area_size'
queue.c: In function `queue_grow':
queue.c:31: error: structure has no member named `full'
queue.c:31: error: structure has no member named `head'
queue.c:31: error: structure has no member named `tail'
queue.c:33: error: structure has no member named `area_size'
queue.c:34: error: structure has no member named `arr'
queue.c:35: error: structure has no member named `area_size'
queue.c:36: error: structure has no member named `arr'
queue.c:36: error: structure has no member named `arr'
queue.c:37: error: structure has no member named `area_size'
queue.c:39: error: structure has no member named `area_size'
queue.c:39: error: structure has no member named `head'
queue.c:39: error: structure has no member named `area_size'
queue.c:39: error: structure has no member named `head'
queue.c:40: error: structure has no member named `arr'
queue.c:40: error: structure has no member named `arr'
queue.c:41: error: structure has no member named `area_size'
queue.c:42: error: structure has no member named `head'
queue.c:44: error: structure has no member named `arr'
queue.c:44: error: structure has no member named `arr'
queue.c:45: error: structure has no member named `head'
queue.c:46: error: structure has no member named `head'
queue.c:49: error: structure has no member named `head'
queue.c:49: error: structure has no member named `tail'
queue.c:50: error: structure has no member named `full'
queue.c: In function `queue_append':
queue.c:55: error: structure has no member named `full'
queue.c:57: error: structure has no member named `full'
queue.c:60: error: structure has no member named `arr'
queue.c:60: error: structure has no member named `head'
queue.c:61: error: structure has no member named `head'
queue.c:61: error: structure has no member named `head'
queue.c:61: error: structure has no member named `area_size'
queue.c:62: error: structure has no member named `full'
queue.c:62: error: structure has no member named `head'
queue.c:62: error: structure has no member named `tail'
queue.c: In function `queue_delete':
queue.c:71: error: structure has no member named `full'
queue.c:74: error: structure has no member named `tail'
queue.c:74: error: structure has no member named `tail'
queue.c:74: error: structure has no member named `area_size'
queue.c:79: error: structure has no member named `head'
queue.c:79: error: structure has no member named `head'
queue.c:79: error: structure has no member named `area_size'
queue.c:80: error: structure has no member named `area_size'
queue.c:85: error: structure has no member named `head'
queue.c:85: error: structure has no member named `tail'
queue.c:88: error: structure has no member named `arr'
queue.c:88: error: structure has no member named `tail'
queue.c:89: error: structure has no member named `arr'
queue.c:89: error: structure has no member named `tail'
queue.c:90: error: structure has no member named `tail'
queue.c:91: error: structure has no member named `tail'
queue.c:92: error: structure has no member named `tail'
queue.c:92: error: structure has no member named `area_size'
queue.c:96: error: structure has no member named `head'
queue.c:97: error: structure has no member named `arr'
queue.c:98: error: structure has no member named `arr'
queue.c:99: error: structure has no member named `head'
queue.c:100: error: structure has no member named `head'
queue.c:100: error: structure has no member named `head'
queue.c:100: error: structure has no member named `area_size'
queue.c:101: error: structure has no member named `area_size'
queue.c:103: error: structure has no member named `head'
queue.c:103: error: structure has no member named `area_size'
queue.c:103: error: structure has no member named `head'
queue.c:103: error: structure has no member named `tail'
queue.c: In function `queue_clear':
queue.c:113: error: structure has no member named `head'
queue.c:113: error: structure has no member named `tail'
queue.c:114: error: structure has no member named `full'
queue.c: In function `queue_count':
queue.c:119: error: structure has no member named `area_size'
queue.c:121: error: structure has no member named `full'
queue.c:122: error: structure has no member named `tail'
queue.c:122: error: structure has no member named `head'
*** Error code 1
make: Fatal error: Command failed for target `queue.o'
Current working directory /tmp/dovecot-1.1.beta13/src/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp/dovecot-1.1.beta13/src/lib
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='lib lib-dict lib-sql lib-ntlm lib-otp lib-settings lib-charset
lib-mail lib-imap lib-index lib-storage lib-auth auth dict master
login-common imap-login imap pop3-login pop3 deliver tests util
plugins'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tmp/dovecot-1.1.beta13/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src doc'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tmp/dovecot-1.1.beta13
*** Error code 1
make: Fatal error: Command failed for target `all'
gmake all-recursive
gmake[1]: Entering directory `/tmp/dovecot-1.1.beta13'
Making all in src
gmake[2]: Entering directory `/tmp/dovecot-1.1.beta13/src'
Making all in lib
gmake[3]: Entering directory `/tmp/dovecot-1.1.beta13/src/lib'
gmake all-am
gmake[4]: Entering directory `/tmp/dovecot-1.1.beta13/src/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/pkgsrc/pkg/include/mysql
-std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT
queue.o -MD -MP -MF ".deps/queue.Tpo" -c -o queue.o queue.c; \
then mv -f ".deps/queue.Tpo" ".deps/queue.Po"; else rm -f
".deps/queue.Tpo"; exit 1; fi
In file included from queue.c:5:
queue.h:13: error: redefinition of `struct queue'
queue.h: In function `queue_idx':
queue.h:37: error: structure has no member named `tail'
queue.h:37: error: structure has no member named `area_size'
queue.c: In function `queue_init':
queue.c:12: error: structure has no member named `arr'
queue.c:13: error: structure has no member named `area_size'
queue.c:14: error: structure has no member named `arr'
queue.c:14: error: structure has no member named `arr'
queue.c:15: error: structure has no member named `area_size'
queue.c: In function `queue_grow':
queue.c:31: error: structure has no member named `full'
queue.c:31: error: structure has no member named `head'
queue.c:31: error: structure has no member named `tail'
queue.c:33: error: structure has no member named `area_size'
queue.c:34: error: structure has no member named `arr'
queue.c:35: error: structure has no member named `area_size'
queue.c:36: error: structure has no member named `arr'
queue.c:36: error: structure has no member named `arr'
queue.c:37: error: structure has no member named `area_size'
queue.c:39: error: structure has no member named `area_size'
queue.c:39: error: structure has no member named `head'
queue.c:39: error: structure has no member named `area_size'
queue.c:39: error: structure has no member named `head'
queue.c:40: error: structure has no member named `arr'
queue.c:40: error: structure has no member named `arr'
queue.c:41: error: structure has no member named `area_size'
queue.c:42: error: structure has no member named `head'
queue.c:44: error: structure has no member named `arr'
queue.c:44: error: structure has no member named `arr'
queue.c:45: error: structure has no member named `head'
queue.c:46: error: structure has no member named `head'
queue.c:49: error: structure has no member named `head'
queue.c:49: error: structure has no member named `tail'
queue.c:50: error: structure has no member named `full'
queue.c: In function `queue_append':
queue.c:55: error: structure has no member named `full'
queue.c:57: error: structure has no member named `full'
queue.c:60: error: structure has no member named `arr'
queue.c:60: error: structure has no member named `head'
queue.c:61: error: structure has no member named `head'
queue.c:61: error: structure has no member named `head'
queue.c:61: error: structure has no member named `area_size'
queue.c:62: error: structure has no member named `full'
queue.c:62: error: structure has no member named `head'
queue.c:62: error: structure has no member named `tail'
queue.c: In function `queue_delete':
queue.c:71: error: structure has no member named `full'
queue.c:74: error: structure has no member named `tail'
queue.c:74: error: structure has no member named `tail'
queue.c:74: error: structure has no member named `area_size'
queue.c:79: error: structure has no member named `head'
queue.c:79: error: structure has no member named `head'
queue.c:79: error: structure has no member named `area_size'
queue.c:80: error: structure has no member named `area_size'
queue.c:85: error: structure has no member named `head'
queue.c:85: error: structure has no member named `tail'
queue.c:88: error: structure has no member named `arr'
queue.c:88: error: structure has no member named `tail'
queue.c:89: error: structure has no member named `arr'
queue.c:89: error: structure has no member named `tail'
queue.c:90: error: structure has no member named `tail'
queue.c:91: error: structure has no member named `tail'
queue.c:92: error: structure has no member named `tail'
queue.c:92: error: structure has no member named `area_size'
queue.c:96: error: structure has no member named `head'
queue.c:97: error: structure has no member named `arr'
queue.c:98: error: structure has no member named `arr'
queue.c:99: error: structure has no member named `head'
queue.c:100: error: structure has no member named `head'
queue.c:100: error: structure has no member named `head'
queue.c:100: error: structure has no member named `area_size'
queue.c:101: error: structure has no member named `area_size'
queue.c:103: error: structure has no member named `head'
queue.c:103: error: structure has no member named `area_size'
queue.c:103: error: structure has no member named `head'
queue.c:103: error: structure has no member named `tail'
queue.c: In function `queue_clear':
queue.c:113: error: structure has no member named `head'
queue.c:113: error: structure has no member named `tail'
queue.c:114: error: structure has no member named `full'
queue.c: In function `queue_count':
queue.c:119: error: structure has no member named `area_size'
queue.c:121: error: structure has no member named `full'
queue.c:122: error: structure has no member named `tail'
queue.c:122: error: structure has no member named `head'
gmake[4]: *** [queue.o] Error 1
gmake[4]: Leaving directory `/tmp/dovecot-1.1.beta13/src/lib'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/tmp/dovecot-1.1.beta13/src/lib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/dovecot-1.1.beta13/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/dovecot-1.1.beta13'
gmake: *** [all] Error 2
More information about the dovecot
mailing list