Hi, I'm trying to build Dovecot 2.1.5 on AIX 6.1 and got the following build error: $ ./configure ... $ make ... In file included from stats-connection.c:9: stats-plugin.h:14: error: field 'user_cpu' has incomplete type stats-plugin.h:14: error: field 'sys_cpu' has incomplete type ... The attached patch fixes this problem. -- -- Name: SATOH Fumiyasu (fumiyas @ osstech co jp) -- Business Home: http://www.OSSTech.co.jp/ -- Personal Home: https://github.com/fumiyas/ -------------- next part -------------- A non-text attachment was scrubbed... Name: dovecot-2.1-stats-plugin-build-on-AIX.patch Type: application/octet-stream Size: 821 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20120427/57e36cad/attachment-0004.obj>
Revised patch. Sorry. At Fri, 27 Apr 2012 16:20:28 +0900, SATOH Fumiyasu wrote:> I'm trying to build Dovecot 2.1.5 on AIX 6.1 and got the following > build error: > > $ ./configure > ... > $ make > ... > In file included from stats-connection.c:9: > stats-plugin.h:14: error: field 'user_cpu' has incomplete type > stats-plugin.h:14: error: field 'sys_cpu' has incomplete type > ... > > The attached patch fixes this problem.-- -- Name: SATOH Fumiyasu (fumiyas @ osstech co jp) -- Business Home: http://www.OSSTech.co.jp/ -- Personal Home: https://github.com/fumiyas/ -------------- next part -------------- A non-text attachment was scrubbed... Name: dovecot-2.1-include-sys-time.h-to-build-on-AIX.patch Type: application/octet-stream Size: 1230 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20120427/23a18e88/attachment-0004.obj>
Committed: http://dovecot.org/pipermail/dovecot/2011-June/059987.html On Fri, 2012-04-27 at 16:49 +0900, SATOH Fumiyasu wrote:> Revised patch. Sorry. > > At Fri, 27 Apr 2012 16:20:28 +0900, > SATOH Fumiyasu wrote: > > I'm trying to build Dovecot 2.1.5 on AIX 6.1 and got the following > > build error: > > > > $ ./configure > > ... > > $ make > > ... > > In file included from stats-connection.c:9: > > stats-plugin.h:14: error: field 'user_cpu' has incomplete type > > stats-plugin.h:14: error: field 'sys_cpu' has incomplete type > > ... > > > > The attached patch fixes this problem. >
Seemingly Similar Threads
- [PATCH] net_connect_*(): Wait for fd to complete connect(2) when fd is non-blocking
- doveadm-server does NOT know fts commands
- allow_nets=local in passdb gets "auth: Panic"
- DO NOT REPLY [Bug 6590] New: [sender] could not find xattr #1 for home/jdoe/TheFresh
- Dovecot auth process delays exiting if LDAPS passdb used