From owner-freebsd-ports@FreeBSD.ORG Tue May 29 18:47:41 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AC9416A475 for ; Tue, 29 May 2007 18:47:41 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2D22B13C4B7 for ; Tue, 29 May 2007 18:47:35 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 9A3DE1A4D81; Tue, 29 May 2007 11:48:43 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 65244512AB; Tue, 29 May 2007 14:47:34 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id 5EA50C1DD; Tue, 29 May 2007 14:47:34 -0400 (EDT) Date: Tue, 29 May 2007 14:47:34 -0400 From: Kris Kennaway To: eculp@encontacto.net Message-ID: <20070529184734.GB48575@rot13.obsecurity.org> References: <20070529120620.vo6qkgego44o0kkk@intranet.encontacto.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070529120620.vo6qkgego44o0kkk@intranet.encontacto.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-ports Subject: Re: mysql.cc:2361: error: 'max' was not declared in this scope X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 18:47:41 -0000 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