[Dovecot] Problems compiling Dovecot 2.0.0 on Solaris 10 x86

Drew Schatt schatt at schatt.com
Wed Aug 25 21:08:40 EEST 2010


I'm having issues getting Dovecot 2.0.0 to compile - I get the following error:

cc -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib -I../../src/lib-settings -I../../src/lib-master -DPKG_RUNDIR=\""/usr/local/var/run/dovecot"\" -DPKG_LIBEXECDIR=\""/usr/local/libexec/dovecot"\" -DEXAMPLE_CONFIG_DIR=\""/usr/local/share/doc/dovecot/example-config"\" -DMODULEDIR=\""/usr/local/lib/dovecot"\" -DSSLDIR=\""/etc/ssl\"" -I/usr/local/include -I/usr/local/ssl/include -D_XPG6 -L/usr/local/lib -L/usr/local/ssl/lib -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -xc99 -I/usr/local/include -I/usr/local/ssl/include -L/usr/local/lib -L/usr/local/ssl/lib -D_XPG6 -xstrconst -KPIC -lm -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -c doveconf.c
"config-request.h", line 6: warning: useless declaration
"doveconf.c", line 554: undefined symbol: optarg
"doveconf.c", line 554: warning: improper pointer/integer combination: arg #2
"doveconf.c", line 560: warning: improper pointer/integer combination: op "="
"doveconf.c", line 581: undefined symbol: optind
"doveconf.c", line 583: undefined symbol: optind
"doveconf.c", line 584: undefined symbol: optind
cc: acomp failed for doveconf.c
gmake[3]: *** [doveconf.o] Error 2
gmake[3]: Leaving directory `/home/schatt/code/evaluation_src/dovecot-2.0.0/src/config'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/schatt/code/evaluation_src/dovecot-2.0.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/schatt/code/evaluation_src/dovecot-2.0.0'
gmake: *** [all] Error 2

Anyone have any idea on how to resolve this one?
	-Drew


More information about the dovecot mailing list