Drew Schatt
2010-Aug-25 18:08 UTC
[Dovecot] Problems compiling Dovecot 2.0.0 on Solaris 10 x86
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
Timo Sirainen
2010-Aug-25 18:29 UTC
[Dovecot] Problems compiling Dovecot 2.0.0 on Solaris 10 x86
On Wed, 2010-08-25 at 11:08 -0700, Drew Schatt wrote:> I'm having issues getting Dovecot 2.0.0 to compile - I get the following error:Compiles fine with me and with a few other Solaris users.> -D_XPG6This breaks it. Why did you add it?
Reasonably Related Threads
- Problem compiling dovecot 1.2.8 on Solaris 10?
- failed dovecot 1.2rc2 build Solaris 8, gcc 2.95.3
- OpenSSH 7.3p1 can't be build on Solaris 10
- [patch] ./configure problem on Solaris with Sun's CC
- [PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting