From owner-freebsd-questions@FreeBSD.ORG Tue Sep 26 04:44:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6277C16A407 for ; Tue, 26 Sep 2006 04:44:29 +0000 (UTC) (envelope-from corwin@aeternal.net) Received: from amber.aeternal.net (amber.aeternal.net [212.232.17.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3A5A43D58 for ; Tue, 26 Sep 2006 04:44:28 +0000 (GMT) (envelope-from corwin@aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id 59779B995 for ; Tue, 26 Sep 2006 06:44:59 +0200 (CEST) X-Virus-Scanned: by amavisd-new at aeternal.net Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AX-TQ5nqM0fy for ; Tue, 26 Sep 2006 06:44:59 +0200 (CEST) Received: from [155.208.254.37] (brurel5.hp.com [155.208.254.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by amber.aeternal.net (Postfix) with ESMTP id 987EDB984 for ; Tue, 26 Sep 2006 06:44:58 +0200 (CEST) Message-ID: <4518B028.6000104@aeternal.net> Date: Tue, 26 Sep 2006 06:44:24 +0200 From: Martin Hudec User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: 'FreeBSD Questions' Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: dovecot port not compiling with mysql support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: corwin@aeternal.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 04:44:29 -0000 Hello all, as I am experiencing serious performance degradation while using dovecot (extremely high cpu usage), I've tried to recompile it without kqueue support as it seems to be the root cause (this issue is being solved in dovecot maillist), but I am getting error while wanting to compile with MySQL support in driver-mysql.c (please see below for more information). Is there someone experiencing the same issue? Or should I file pr? thanks, Martin Hudec RELEVANT INFORMATION ==================== 1.) config options MySQL support enabled, kqueue support disabled. 2.) output from make all ... Making all in lib-sql if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib -I/usr/local/include/mysql -I/usr/local/include -std=gnu99 -O2 -fno-strict-aliasing -pipe -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -MT driver-mysql.o -MD -MP -MF ".deps/driver-mysql.Tpo" -c -o driver-mysql.o driver-mysql.c; then mv -f ".deps/driver-mysql.Tpo" ".deps/driver-mysql.Po"; else rm -f ".deps/driver-mysql.Tpo"; exit 1; fi driver-mysql.c: In function `driver_mysql_parse_connect_string': driver-mysql.c:234: error: `ulong' undeclared (first use in this function) driver-mysql.c:234: error: (Each undeclared identifier is reported only once driver-mysql.c:234: error: for each function it appears in.) driver-mysql.c:234: error: syntax error before numeric constant *** Error code 1 Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src/lib-sql. *** Error code 1 Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7/src. *** Error code 1 Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7. *** Error code 1 Stop in /usr/ports/mail/dovecot/work/dovecot-1.0.rc7. *** Error code 1 ...