From owner-freebsd-current Thu Aug 8 15: 6:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FF1E37B400 for ; Thu, 8 Aug 2002 15:06:12 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE6C143E3B for ; Thu, 8 Aug 2002 15:06:11 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g78M69iK093659; Thu, 8 Aug 2002 17:06:09 -0500 (CDT) (envelope-from dan) Date: Thu, 8 Aug 2002 17:06:09 -0500 From: Dan Nelson To: Beech Rintoul Cc: freebsd-current@FreeBSD.ORG Subject: Re: mysql-server build errors Message-ID: <20020808220609.GH64413@dan.emsphone.com> References: <20020808190116.85FBF2DD@nebula.anchoragerescue.org> <20020808195041.GF64413@dan.emsphone.com> <20020808200545.47DA52DD@nebula.anchoragerescue.org> <20020808202313.60D572DD@nebula.anchoragerescue.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020808202313.60D572DD@nebula.anchoragerescue.org> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Aug 08), Beech Rintoul said: > On Thursday 08 August 2002 12:05 pm, Beech Rintoul wrote: > I spoke too soon :-( > > Now it errors at: > > sql_analyse.o: In function `proc_analyse_init(THD*, st_order*, select_result*, List&)': > sql_analyse.o(.text+0x1f): undefined reference to `operator new(unsigned)' > sql_analyse.o(.gnu.linkonce.d._ZTV10field_info+0x10): undefined reference to `__cxa_pure_virtual' Ok, that's a bug in the port Makefile :) Remove line 67 ( CXX="${CC}" ). That tells mysql to compile and link as though the sources were C, not C++. I'm amazed it ever built with that flag. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message