Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 2002 17:06:09 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Beech Rintoul <akbeech@anchoragerescue.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: mysql-server build errors
Message-ID:  <20020808220609.GH64413@dan.emsphone.com>
In-Reply-To: <20020808202313.60D572DD@nebula.anchoragerescue.org>
References:  <20020808190116.85FBF2DD@nebula.anchoragerescue.org> <20020808195041.GF64413@dan.emsphone.com> <20020808200545.47DA52DD@nebula.anchoragerescue.org> <20020808202313.60D572DD@nebula.anchoragerescue.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<Item>&)':
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020808220609.GH64413>