Bug #10450 mysql.cc fails to compile on Windows

Submitted: 8 May 2005 16:44 Modified: 8 May 2005 16:48
Reporter: Lenz Grimmer Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:4.1.12-pre OS:
Assigned to: Magnus BlÄudd CPU Architecture:Any

[8 May 2005 16:44] Lenz Grimmer
Description:
client/mysql.cc fails to compile on Windows with the following error message:

C:\cygwin\home\mysqldev\build\mysql-4.1.12-build\mysql-4.1.12\client\mysql.cpp(703) : error C2065: 'rl_library_version' : undeclared identifier

The code in question looks like this:

    701 #ifdef HAVE_READLINE
    702   printf("%s  Ver %s Distrib %s, for %s (%s) using %s %s\n",
    703    my_progname, VER, MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE,
    704          readline, rl_library_version);
    705 #else
    706   printf("%s  Ver %s Distrib %s, for %s (%s)", my_progname, VER,
    707   MYSQL_SERVER_VERSION, SYSTEM_TYPE, MACHINE_TYPE);
    708 #endif

How to repeat:
Compile 4.1.12 on Windows, observe the failure
[8 May 2005 16:48] Lenz Grimmer
Whoops, Reggie had already fixed that one in the latest tree - sorry about that. Closed!

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.