mysql.cc:2361: error: 'max' was not declared in this scope
eculp at encontacto.net
eculp at encontacto.net
Tue May 29 19:12:06 UTC 2007
Quoting Kris Kennaway <kris at obsecurity.org>:
> On Tue, May 29, 2007 at 12:06:20PM -0500, eculp at 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.
Thanks, Kris, I hadn't even thought of checking pointyhat. MySQL is
not usually broken for long, when I've needed it at least.
I'll look at this a bit closer and mail the maintainer.
Thanks again.
ed
More information about the freebsd-ports
mailing list