Compile time error on 5.1.3

Asked by Mark Cianfaglione

I'm attempting to compile 5.1.3 on a MinGW platform and I get the following:

In file included from ./libdrizzle/common.h:55:0,
                 from libdrizzle/command.cc:46:
./libdrizzle/windows.hpp: In function 'int translate_windows_error()':
./libdrizzle/windows.hpp:85:18: error: 'EINPROGRESS' was not declared in this scope
./libdrizzle/windows.hpp:93:18: error: 'ECONNREFUSED' was not declared in this scope
./libdrizzle/windows.hpp:97:18: error: 'ENETUNREACH' was not declared in this scope
./libdrizzle/windows.hpp:101:18: error: 'ETIMEDOUT' was not declared in this scope
./libdrizzle/windows.hpp:105:18: error: 'ECONNRESET' was not declared in this scope
./libdrizzle/windows.hpp:109:18: error: 'EADDRINUSE' was not declared in this scope
./libdrizzle/windows.hpp:113:18: error: 'EOPNOTSUPP' was not declared in this scope
./libdrizzle/windows.hpp:117:18: error: 'ENOPROTOOPT' was not declared in this scope
make[1]: *** [libdrizzle/libdrizzle_libdrizzle_la-command.lo] Error 1
make[1]: Leaving directory `/home/backuppc/schematic/libdrizzle-5.1.3'
make: *** [all] Error 2

I read that a patch to solve this was supposed to have been merged. Do the patches still need to be merged? I honestly haven't been able to dig any further as I've been tied up in other fires but it would be nice to get a fix for this one.

In addition to 5.1.3 I've also retrieved the latest code from the codestore in the chance that patches have been applied and not released as a tar.gz file. It too exhibits the above output.

Mark

Question information

Language:
English Edit question
Status:
Answered
For:
Drizzle Client & Protocol Library Edit question
Assignee:
Andrew Hutchings Edit question
Last query:
Last reply:
Revision history for this message
Andrew Hutchings (linuxjedi) said :
#1

Sorry, for some reason I am not getting notifications for questions. Closing this as we are discussing it in the bug report.

Can you help with this problem?

Provide an answer of your own, or ask Mark Cianfaglione for more information if necessary.

To post a message you must log in.