[Dovecot] problem compiling imaptest under solaris
Hallo,
today I tried to compile imaptest under solaris 10 with studio 11 compiler and got the following error:
gmake[2]: Entering directory
`/net/fileserv/export/sunsrc/src/imaptest-20111119/src'
source='client.c' object='client.o' libtool=no
DEPDIR=.deps depmode=none /bin/bash ../depcomp
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/dovecot
-I/usr/local/include -fast -xarch=v8plusa -I/usr/sfw/include -c
client.c
"/opt/local/include/dovecot/imap-util.h", line 6: warning: useless
declaration
"client-state.h", line 6: warning: useless declaration
"client.c", line 655: operand cannot have void type: op "=="
"client.c", line 655: operands have incompatible types:
const void "==" int
cc: acomp failed for client.c
what can I do? Thanks for any help, Jürgen
-- Jürgen Obermann Hochschulrechenzentrum der Justus-Liebig-Universität Gießen Heinrich-Buff-Ring 44 Tel. 0641-9913054
On 25.1.2012, at 16.43, Jürgen Obermann wrote:
today I tried to compile imaptest under solaris 10 with studio 11 compiler and got the following error:
gmake[2]: Entering directory `/net/fileserv/export/sunsrc/src/imaptest-20111119/src' source='client.c' object='client.o' libtool=no
DEPDIR=.deps depmode=none /bin/bash ../depcomp
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/dovecot -I/usr/local/include -fast -xarch=v8plusa -I/usr/sfw/include -c client.c "/opt/local/include/dovecot/imap-util.h", line 6: warning: useless declaration "client-state.h", line 6: warning: useless declaration "client.c", line 655: operand cannot have void type: op "==" "client.c", line 655: operands have incompatible types: const void "==" int cc: acomp failed for client.c
http://hg.dovecot.org/imaptest/rev/7e490e59f1ee should fix it?
Am 28.01.2012 18:55, schrieb Timo Sirainen:
On 25.1.2012, at 16.43, Jürgen Obermann wrote:
today I tried to compile imaptest under solaris 10 with studio 11 compiler and got the following error:
gmake[2]: Entering directory `/net/fileserv/export/sunsrc/src/imaptest-20111119/src' source='client.c' object='client.o' libtool=no
DEPDIR=.deps depmode=none /bin/bash ../depcomp
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/dovecot -I/usr/local/include -fast -xarch=v8plusa -I/usr/sfw/include -c client.c "/opt/local/include/dovecot/imap-util.h", line 6: warning: useless declaration "client-state.h", line 6: warning: useless declaration "client.c", line 655: operand cannot have void type: op "==" "client.c", line 655: operands have incompatible types: const void "==" int cc: acomp failed for client.chttp://hg.dovecot.org/imaptest/rev/7e490e59f1ee should fix it?
Yes it does. Thank you, Jürgen Obermann
participants (2)
-
Jürgen Obermann
-
Timo Sirainen