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!