Date: Tue, 29 May 2007 14:47:34 -0400 From: Kris Kennaway <kris@obsecurity.org> To: eculp@encontacto.net Cc: freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: mysql.cc:2361: error: 'max' was not declared in this scope Message-ID: <20070529184734.GB48575@rot13.obsecurity.org> In-Reply-To: <20070529120620.vo6qkgego44o0kkk@intranet.encontacto.net> References: <20070529120620.vo6qkgego44o0kkk@intranet.encontacto.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 29, 2007 at 12:06:20PM -0500, eculp@encontacto.net wrote: > Finishing my portupgrade marathon, I'm down to mysql update and with > mysql-client I get the following that I have no idea where to start. > This is on today's current. > > if c++ -DUNDEF_THREADS_HACK -DDEFAULT_MYSQL_HOME="\"/usr/local\"" > -DDATADIR="\"/var/db/mysql\"" -I. -I. -I.. -I../include -I../include > -I../regex -O2 -fno-strict-aliasing -pipe -O2 > -fno-strict-aliasing -pipe -felide-constructors -fno-rtti > -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti > -DMYSQLD_NET_RETRY_COUNT=1000000 -MT mysql.o -MD -MP -MF > ".deps/mysql.Tpo" -c -o mysql.o mysql.cc; then mv -f > ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit > 1; fi > mysql.cc: In function 'void print_table_data(MYSQL_RES*)': > mysql.cc:2361: error: 'max' was not declared in this scope > mysql.cc:2363: error: 'max' was not declared in this scope > mysql.cc:2384: error: 'min' was not declared in this scope > *** Error code 1 > > Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta/client. > *** Error code 1 > > Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta/client. > *** Error code 1 > > Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta. > *** Error code 1 > > Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta. > *** Error code 1 > > Any help, suggestions, even flames, appreciated ;) Yes, it's broken (see http://pointyhat.freebsd.org). Talk to the maintainer about his plans to fix all of the mysql ports. Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070529184734.GB48575>