You are not logged in.

#1 2022-04-03 18:11:38

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

[REQUEST] myodbc

Hi,
I need to build myodbc connector version 8.0.16 or 8.0.17 for ESET PROTECT installation. Everytime I try to do it I see this error:

 Building CXX object util/CMakeFiles/myodbc-util.dir/stringutil.cc.o
In file included from /home/max/myodbc/src/mysql-connector-odbc-8.0.16-src/util/../include/mysql-8.0/my_sys.h:61,
                 from /home/max/myodbc/src/mysql-connector-odbc-8.0.16-src/util/../MYODBC_MYSQL.h:55,
                 from /home/max/myodbc/src/mysql-connector-odbc-8.0.16-src/util/stringutil.h:37,
                 from /home/max/myodbc/src/mysql-connector-odbc-8.0.16-src/util/stringutil.cc:36:
/home/max/myodbc/src/mysql-connector-odbc-8.0.16-src/util/../include/mysql-8.0/mysql/components/services/mysql_cond_bits.h:31:10: fatal error: mysql/components/services/thr_cond_bits.h: There is no such file or directory 
   31 | #include "mysql/components/services/thr_cond_bits.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [util/CMakeFiles/myodbc-util.dir/build.make:76: util/CMakeFiles/myodbc-util.dir/stringutil.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:284: util/CMakeFiles/myodbc-util.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Same error with 8.0.17 version.

Could someone help me, please?

Offline

#2 2022-04-04 19:28:27

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [REQUEST] myodbc

It's either 1) thr_cond_bits.h exists, but it's in a different location, and/or your include path isn't including it, or 2) it doesn't exist and it's provided by another dependency.

Also see:

https://stackoverflow.com/questions/209 … ompilation

Offline

#3 2022-04-04 20:04:10

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [REQUEST] myodbc

Is myodbc being built using a custom version of the PKGBUILD from AUR?  What version of mysql is installed on the system and how is it installed?  Have you tried installing newer versions of myodbc than 8.0.17 to see if ESET PROTECT will use them?

Offline

#4 2022-04-04 20:29:41

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

twelveeighty wrote:

It's either 1) thr_cond_bits.h exists, but it's in a different location, and/or your include path isn't including it, or 2) it doesn't exist and it's provided by another dependency.

Also see:

https://stackoverflow.com/questions/209 … ompilation

Well thr_cond_bits.h exists in the /home/max/myodbc/src/mysql-connector-odbc-8.0.16-src/include/mysql-8.0/mysql/components/services/mysql_cond_bits.h location but not in /home/max/myodbc/src/mysql-connector-odbc-8.0.16-src/util/.. location.

So I think I have to manually change Makefile - but I don't know which one - there are plenty of them.

Last edited by matt_max (2022-04-04 20:39:35)

Offline

#5 2022-04-04 20:38:29

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

loqs wrote:

Is myodbc being built using a custom version of the PKGBUILD from AUR?  What version of mysql is installed on the system and how is it installed?  Have you tried installing newer versions of myodbc than 8.0.17 to see if ESET PROTECT will use them?

I try to build myodbc 8.0.16 or 8.0.17 from https://aur.archlinux.org/packages/myodbc by editing PKGBUILD file. First I build mysql57 from AUR (5.7.37-1) with libmysqlclient57 and mysql-clients57.
It is pointless to build myodbc newer then 8.0.17 because it is not supported by ESET PROTECT as you can check here.

Offline

#6 2022-04-04 21:52:15

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [REQUEST] myodbc

matt_max wrote:

It is pointless to build myodbc newer then 8.0.17 because it is not supported by ESET PROTECT as you can check here.

I asked because numerous projects can be made to work outside their stated requirements.

libmysqlclient-8.0.28-1 built for me with myodbc-8.0.19 and newer.  I would try that combination and see if ESET actually rejects it.

Sample of the errors from the failed myodbc-8.0.17 build:

/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc: In function ‘int cs_enter(MY_XML_PARSER*, const char*, size_t)’:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc:430:42: error: invalid conversion from ‘const char*’ to ‘uint’ {aka ‘unsigned int’} [-fpermissive]
  430 |       i->loader->reporter(WARNING_LEVEL, "Unknown LDML tag: '%.*s'", (int)len,
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                          |
      |                                          const char*
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc: In function ‘bool my_parse_charset_xml(MY_CHARSET_LOADER*, const char*, size_t)’:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc:751:24: error: ‘MY_CHARSET_LOADER’ {aka ‘struct MY_CHARSET_LOADER’} has no member named ‘error’; did you mean ‘errarg’?
  751 |     if (sizeof(loader->error) > 32 + strlen(errstr)) {
      |                        ^~~~~
      |                        errarg
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc:752:23: error: ‘MY_CHARSET_LOADER’ {aka ‘struct MY_CHARSET_LOADER’} has no member named ‘error’; did you mean ‘errarg’?
  752 |       sprintf(loader->error, "at line %d pos %d: %s",
      |                       ^~~~~
      |                       errarg
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc: In function ‘size_t my_convert(char*, size_t, const CHARSET_INFO*, const char*, size_t, const CHARSET_INFO*, uint*)’:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc:951:9: error: ‘uint4korr’ was not declared in this scope
  951 |     if (uint4korr(from) & 0x80808080) break;
      |         ^~~~~~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc:952:19: error: ‘uint4korr’ was not declared in this scope
  952 |     int4store(to, uint4korr(from));
      |                   ^~~~~~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype.cc:952:5: error: ‘int4store’ was not declared in this scope
  952 |     int4store(to, uint4korr(from));
      |     ^~~~~~~~~
make[2]: *** [mysql_strings/CMakeFiles/mysql_strings.dir/build.make:104: mysql_strings/CMakeFiles/mysql_strings.dir/ctype.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 19%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_once.cc.o
[ 19%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_mess.cc.o
[ 19%] Built target dltest
[ 19%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_open.cc.o
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10432:44: error: ‘MB2’ was not declared in this scope
10432 |     0x0000,      0x0000,      0x0000,      MB2(0x8198), MB2(0x814E),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10432:57: error: ‘MB2’ was not declared in this scope
10432 |     0x0000,      0x0000,      0x0000,      MB2(0x8198), MB2(0x814E),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10434:31: error: ‘MB2’ was not declared in this scope
10434 |     0x0000,      0x0000,      MB2(0x818B), MB2(0x817D), 0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10434:44: error: ‘MB2’ was not declared in this scope
10434 |     0x0000,      0x0000,      MB2(0x818B), MB2(0x817D), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10435:18: error: ‘MB2’ was not declared in this scope
10435 |     0x0000,      MB2(0x814C), 0x0000,      MB2(0x81F7), 0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10435:44: error: ‘MB2’ was not declared in this scope
10435 |     0x0000,      MB2(0x814C), 0x0000,      MB2(0x81F7), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10442:57: error: ‘MB2’ was not declared in this scope
10442 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0x817E),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10449:57: error: ‘MB2’ was not declared in this scope
10449 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0x8180),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10595:44: error: ‘MB2’ was not declared in this scope
10595 |     0x0000,      0x0000,      0x0000,      MB2(0x839F), MB2(0x83A0),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10595:57: error: ‘MB2’ was not declared in this scope
10595 |     0x0000,      0x0000,      0x0000,      MB2(0x839F), MB2(0x83A0),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_div.cc:46:7: error: ambiguating new declaration of ‘char* my_filename(File)’
   46 | char *my_filename(File fd) {
      |       ^~~~~~~~~~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_div.cc:36:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/include/mysql-8.0/my_sys.h:697:20: note: old declaration ‘const char* my_filename(File)’
  697 | extern const char *my_filename(File fd);
      |                    ^~~~~~~~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10596:5: error: ‘MB2’ was not declared in this scope
10596 |     MB2(0x83A1), MB2(0x83A2), MB2(0x83A3), MB2(0x83A4), MB2(0x83A5),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10596:18: error: ‘MB2’ was not declared in this scope
10596 |     MB2(0x83A1), MB2(0x83A2), MB2(0x83A3), MB2(0x83A4), MB2(0x83A5),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10596:31: error: ‘MB2’ was not declared in this scope
10596 |     MB2(0x83A1), MB2(0x83A2), MB2(0x83A3), MB2(0x83A4), MB2(0x83A5),
      |                               ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/errors.cc:42:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/errors.cc: In function ‘void wait_for_free_space(const char*, int)’:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/include/mysql-8.0/mysys_err.h:33:43: error: invalid conversion from ‘const char*’ to ‘uint’ {aka ‘unsigned int’} [-fpermissive]
   33 | #define EE(X) (globerrs[(X)-EE_ERROR_FIRST])
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                           |
      |                                           const char*
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/errors.cc:96:35: note: in expansion of macro ‘EE’
   96 |     my_message_local(ERROR_LEVEL, EE(EE_DISK_FULL), filename, my_errno(),
      |                                   ^~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/errors.cc:40:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/include/mysql-8.0/my_sys.h:694:53: note:   initializing argument 2 of ‘void my_message_local(loglevel, uint, ...)’
  694 | extern void my_message_local(enum loglevel ll, uint ecode, ...);
      |                                                ~~~~~^~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/errors.cc:99:22: error: invalid conversion from ‘const char*’ to ‘uint’ {aka ‘unsigned int’} [-fpermissive]
   99 |         ERROR_LEVEL, "Retry in %d secs. Message reprinted in %d secs",
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      |
      |                      const char*
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10596:44: error: ‘MB2’ was not declared in this scope
10596 |     MB2(0x83A1), MB2(0x83A2), MB2(0x83A3), MB2(0x83A4), MB2(0x83A5),
      |                                            ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/errors.cc:40:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/include/mysql-8.0/my_sys.h:694:53: note:   initializing argument 2 of ‘void my_message_local(loglevel, uint, ...)’
  694 | extern void my_message_local(enum loglevel ll, uint ecode, ...);
      |                                                ~~~~~^~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10596:57: error: ‘MB2’ was not declared in this scope
10596 |     MB2(0x83A1), MB2(0x83A2), MB2(0x83A3), MB2(0x83A4), MB2(0x83A5),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10597:5: error: ‘MB2’ was not declared in this scope
10597 |     MB2(0x83A6), MB2(0x83A7), MB2(0x83A8), MB2(0x83A9), MB2(0x83AA),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10597:18: error: ‘MB2’ was not declared in this scope
10597 |     MB2(0x83A6), MB2(0x83A7), MB2(0x83A8), MB2(0x83A9), MB2(0x83AA),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10597:31: error: ‘MB2’ was not declared in this scope
10597 |     MB2(0x83A6), MB2(0x83A7), MB2(0x83A8), MB2(0x83A9), MB2(0x83AA),
      |                               ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:56,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/unicode_transcode.cc:35:
/usr/include/mysql/mysql.h:53:18: error: conflicting declaration ‘typedef uint64_t my_ulonglong’
   53 | typedef uint64_t my_ulonglong;
      |                  ^~~~~~~~~~~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/m_string.h:41,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_sys.h:54,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:55,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/unicode_transcode.cc:35:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_inttypes.h:78:28: note: previous declaration as ‘typedef long long unsigned int my_ulonglong’
   78 | typedef unsigned long long my_ulonglong;
      |                            ^~~~~~~~~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10597:44: error: ‘MB2’ was not declared in this scope
10597 |     MB2(0x83A6), MB2(0x83A7), MB2(0x83A8), MB2(0x83A9), MB2(0x83AA),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10597:57: error: ‘MB2’ was not declared in this scope
10597 |     MB2(0x83A6), MB2(0x83A7), MB2(0x83A8), MB2(0x83A9), MB2(0x83AA),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10598:5: error: ‘MB2’ was not declared in this scope
10598 |     MB2(0x83AB), MB2(0x83AC), MB2(0x83AD), MB2(0x83AE), MB2(0x83AF),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10598:18: error: ‘MB2’ was not declared in this scope
10598 |     MB2(0x83AB), MB2(0x83AC), MB2(0x83AD), MB2(0x83AE), MB2(0x83AF),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10598:31: error: ‘MB2’ was not declared in this scope
10598 |     MB2(0x83AB), MB2(0x83AC), MB2(0x83AD), MB2(0x83AE), MB2(0x83AF),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10598:44: error: ‘MB2’ was not declared in this scope
10598 |     MB2(0x83AB), MB2(0x83AC), MB2(0x83AD), MB2(0x83AE), MB2(0x83AF),
      |                                            ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/list.cc:40:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/mysys_priv.h:37:8: error: ‘PSI_mutex_key’ does not name a type; did you mean ‘PSI_mutex’?
   37 | extern PSI_mutex_key key_BITMAP_mutex, key_IO_CACHE_append_buffer_lock,
      |        ^~~~~~~~~~~~~
      |        PSI_mutex
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10598:57: error: ‘MB2’ was not declared in this scope
10598 |     MB2(0x83AB), MB2(0x83AC), MB2(0x83AD), MB2(0x83AE), MB2(0x83AF),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10599:18: error: ‘MB2’ was not declared in this scope
10599 |     0x0000,      MB2(0x83B0), /* 03A0 */
      |                  ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:56,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/odbcinstw.cc:41:
/usr/include/mysql/mysql.h:53:18: error: conflicting declaration ‘typedef uint64_t my_ulonglong’
   53 | typedef uint64_t my_ulonglong;
      |                  ^~~~~~~~~~~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:56,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.cc:36:
/usr/include/mysql/mysql.h:53:18: error: conflicting declaration ‘typedef uint64_t my_ulonglong’
   53 | typedef uint64_t my_ulonglong;
      |                  ^~~~~~~~~~~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/m_string.h:41,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_sys.h:54,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:55,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.cc:36:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_inttypes.h:78:28: note: previous declaration as ‘typedef long long unsigned int my_ulonglong’
   78 | typedef unsigned long long my_ulonglong;
      |                            ^~~~~~~~~~~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/m_string.h:41,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_sys.h:54,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:55,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/odbcinstw.cc:41:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_inttypes.h:78:28: note: previous declaration as ‘typedef long long unsigned int my_ulonglong’
   78 | typedef unsigned long long my_ulonglong;
      |                            ^~~~~~~~~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10600:5: error: ‘MB2’ was not declared in this scope
10600 |     MB2(0x83B1), MB2(0x83B2), MB2(0x83B3), MB2(0x83B4), MB2(0x83B5),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-bin.cc:454:5: error: invalid conversion from ‘void (*)(const CHARSET_INFO*, const uchar*, size_t, ulong*, ulong*)’ {aka ‘void (*)(const CHARSET_INFO*, const unsigned char*, long unsigned int, long unsigned int*, long unsigned int*)’} to ‘void (*)(const CHARSET_INFO*, const uchar*, size_t, uint64*, uint64*)’ {aka ‘void (*)(const CHARSET_INFO*, const unsigned char*, long unsigned int, long long unsigned int*, long long unsigned int*)’} [-fpermissive]
  454 |     my_hash_sort_8bit_bin,
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     |
      |     void (*)(const CHARSET_INFO*, const uchar*, size_t, ulong*, ulong*) {aka void (*)(const CHARSET_INFO*, const unsigned char*, long unsigned int, long unsigned int*, long unsigned int*)}
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10600:18: error: ‘MB2’ was not declared in this scope
10600 |     MB2(0x83B1), MB2(0x83B2), MB2(0x83B3), MB2(0x83B4), MB2(0x83B5),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-bin.cc:468:5: error: invalid conversion from ‘void (*)(const CHARSET_INFO*, const uchar*, size_t, ulong*, ulong*)’ {aka ‘void (*)(const CHARSET_INFO*, const unsigned char*, long unsigned int, long unsigned int*, long unsigned int*)’} to ‘void (*)(const CHARSET_INFO*, const uchar*, size_t, uint64*, uint64*)’ {aka ‘void (*)(const CHARSET_INFO*, const unsigned char*, long unsigned int, long long unsigned int*, long long unsigned int*)’} [-fpermissive]
  468 |     my_hash_sort_bin,
      |     ^~~~~~~~~~~~~~~~
      |     |
      |     void (*)(const CHARSET_INFO*, const uchar*, size_t, ulong*, ulong*) {aka void (*)(const CHARSET_INFO*, const unsigned char*, long unsigned int, long unsigned int*, long unsigned int*)}
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/mysys_priv.h:46:8: error: ‘PSI_cond_key’ does not name a type; did you mean ‘PSI_file_key’?
   46 | extern PSI_cond_key key_IO_CACHE_SHARE_cond, key_IO_CACHE_SHARE_cond_writer,
      |        ^~~~~~~~~~~~
      |        PSI_file_key
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10600:31: error: ‘MB2’ was not declared in this scope
10600 |     MB2(0x83B1), MB2(0x83B2), MB2(0x83B3), MB2(0x83B4), MB2(0x83B5),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10600:44: error: ‘MB2’ was not declared in this scope
10600 |     MB2(0x83B1), MB2(0x83B2), MB2(0x83B3), MB2(0x83B4), MB2(0x83B5),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10600:57: error: ‘MB2’ was not declared in this scope
10600 |     MB2(0x83B1), MB2(0x83B2), MB2(0x83B3), MB2(0x83B4), MB2(0x83B5),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10601:5: error: ‘MB2’ was not declared in this scope
10601 |     MB2(0x83B6), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10602:44: error: ‘MB2’ was not declared in this scope
10602 |     0x0000,      0x0000,      0x0000,      MB2(0x83BF), MB2(0x83C0),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10602:57: error: ‘MB2’ was not declared in this scope
10602 |     0x0000,      0x0000,      0x0000,      MB2(0x83BF), MB2(0x83C0),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10603:5: error: ‘MB2’ was not declared in this scope
10603 |     MB2(0x83C1), MB2(0x83C2), MB2(0x83C3), MB2(0x83C4), MB2(0x83C5),
      |     ^~~
[ 20%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_read.cc.o
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10603:18: error: ‘MB2’ was not declared in this scope
10603 |     MB2(0x83C1), MB2(0x83C2), MB2(0x83C3), MB2(0x83C4), MB2(0x83C5),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10603:31: error: ‘MB2’ was not declared in this scope
10603 |     MB2(0x83C1), MB2(0x83C2), MB2(0x83C3), MB2(0x83C4), MB2(0x83C5),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10603:44: error: ‘MB2’ was not declared in this scope
10603 |     MB2(0x83C1), MB2(0x83C2), MB2(0x83C3), MB2(0x83C4), MB2(0x83C5),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10603:57: error: ‘MB2’ was not declared in this scope
10603 |     MB2(0x83C1), MB2(0x83C2), MB2(0x83C3), MB2(0x83C4), MB2(0x83C5),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10604:5: error: ‘MB2’ was not declared in this scope
10604 |     MB2(0x83C6), MB2(0x83C7), MB2(0x83C8), MB2(0x83C9), MB2(0x83CA),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10604:18: error: ‘MB2’ was not declared in this scope
10604 |     MB2(0x83C6), MB2(0x83C7), MB2(0x83C8), MB2(0x83C9), MB2(0x83CA),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10604:31: error: ‘MB2’ was not declared in this scope
10604 |     MB2(0x83C6), MB2(0x83C7), MB2(0x83C8), MB2(0x83C9), MB2(0x83CA),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10604:44: error: ‘MB2’ was not declared in this scope
10604 |     MB2(0x83C6), MB2(0x83C7), MB2(0x83C8), MB2(0x83C9), MB2(0x83CA),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10604:57: error: ‘MB2’ was not declared in this scope
10604 |     MB2(0x83C6), MB2(0x83C7), MB2(0x83C8), MB2(0x83C9), MB2(0x83CA),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10605:5: error: ‘MB2’ was not declared in this scope
10605 |     MB2(0x83CB), MB2(0x83CC), MB2(0x83CD), MB2(0x83CE), MB2(0x83CF),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10605:18: error: ‘MB2’ was not declared in this scope
10605 |     MB2(0x83CB), MB2(0x83CC), MB2(0x83CD), MB2(0x83CE), MB2(0x83CF),
      |                  ^~~
[ 21%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_static.cc.o
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10605:31: error: ‘MB2’ was not declared in this scope
10605 |     MB2(0x83CB), MB2(0x83CC), MB2(0x83CD), MB2(0x83CE), MB2(0x83CF),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10605:44: error: ‘MB2’ was not declared in this scope
10605 |     MB2(0x83CB), MB2(0x83CC), MB2(0x83CD), MB2(0x83CE), MB2(0x83CF),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10605:57: error: ‘MB2’ was not declared in this scope
10605 |     MB2(0x83CB), MB2(0x83CC), MB2(0x83CD), MB2(0x83CE), MB2(0x83CF),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10606:18: error: ‘MB2’ was not declared in this scope
10606 |     0x0000,      MB2(0x83D0), /* 03C0 */
      |                  ^~~
make[2]: *** [mysql_sys/CMakeFiles/mysql_sys.dir/build.make:202: mysql_sys/CMakeFiles/mysql_sys.dir/my_div.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10607:5: error: ‘MB2’ was not declared in this scope
10607 |     MB2(0x83D1), MB2(0x83D2), MB2(0x83D3), MB2(0x83D4), MB2(0x83D5),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10607:18: error: ‘MB2’ was not declared in this scope
10607 |     MB2(0x83D1), MB2(0x83D2), MB2(0x83D3), MB2(0x83D4), MB2(0x83D5),
      |                  ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:56,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/installer.cc:41:
/usr/include/mysql/mysql.h:53:18: error: conflicting declaration ‘typedef uint64_t my_ulonglong’
   53 | typedef uint64_t my_ulonglong;
      |                  ^~~~~~~~~~~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/m_string.h:41,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_sys.h:54,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../MYODBC_MYSQL.h:55,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/stringutil.h:37,
                 from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/installer.cc:41:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/util/../include/mysql-8.0/my_inttypes.h:78:28: note: previous declaration as ‘typedef long long unsigned int my_ulonglong’
   78 | typedef unsigned long long my_ulonglong;
      |                            ^~~~~~~~~~~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10607:31: error: ‘MB2’ was not declared in this scope
10607 |     MB2(0x83D1), MB2(0x83D2), MB2(0x83D3), MB2(0x83D4), MB2(0x83D5),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10607:44: error: ‘MB2’ was not declared in this scope
10607 |     MB2(0x83D1), MB2(0x83D2), MB2(0x83D3), MB2(0x83D4), MB2(0x83D5),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10607:57: error: ‘MB2’ was not declared in this scope
10607 |     MB2(0x83D1), MB2(0x83D2), MB2(0x83D3), MB2(0x83D4), MB2(0x83D5),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10608:5: error: ‘MB2’ was not declared in this scope
10608 |     MB2(0x83D6), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
make[2]: *** [mysql_sys/CMakeFiles/mysql_sys.dir/build.make:118: mysql_sys/CMakeFiles/mysql_sys.dir/errors.cc.o] Error 1
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10619:57: error: ‘MB2’ was not declared in this scope
10619 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0x8446),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10623:31: error: ‘MB2’ was not declared in this scope
10623 |     0x0000,      0x0000,      MB2(0x8440), MB2(0x8441), MB2(0x8442),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10623:44: error: ‘MB2’ was not declared in this scope
10623 |     0x0000,      0x0000,      MB2(0x8440), MB2(0x8441), MB2(0x8442),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10623:57: error: ‘MB2’ was not declared in this scope
10623 |     0x0000,      0x0000,      MB2(0x8440), MB2(0x8441), MB2(0x8442),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10624:5: error: ‘MB2’ was not declared in this scope
10624 |     MB2(0x8443), MB2(0x8444), MB2(0x8445), MB2(0x8447), MB2(0x8448),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10624:18: error: ‘MB2’ was not declared in this scope
10624 |     MB2(0x8443), MB2(0x8444), MB2(0x8445), MB2(0x8447), MB2(0x8448),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10624:31: error: ‘MB2’ was not declared in this scope
10624 |     MB2(0x8443), MB2(0x8444), MB2(0x8445), MB2(0x8447), MB2(0x8448),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10624:44: error: ‘MB2’ was not declared in this scope
10624 |     MB2(0x8443), MB2(0x8444), MB2(0x8445), MB2(0x8447), MB2(0x8448),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10624:57: error: ‘MB2’ was not declared in this scope
10624 |     MB2(0x8443), MB2(0x8444), MB2(0x8445), MB2(0x8447), MB2(0x8448),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10625:5: error: ‘MB2’ was not declared in this scope
10625 |     MB2(0x8449), MB2(0x844A), MB2(0x844B), MB2(0x844C), MB2(0x844D),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10625:18: error: ‘MB2’ was not declared in this scope
10625 |     MB2(0x8449), MB2(0x844A), MB2(0x844B), MB2(0x844C), MB2(0x844D),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10625:31: error: ‘MB2’ was not declared in this scope
10625 |     MB2(0x8449), MB2(0x844A), MB2(0x844B), MB2(0x844C), MB2(0x844D),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10625:44: error: ‘MB2’ was not declared in this scope
10625 |     MB2(0x8449), MB2(0x844A), MB2(0x844B), MB2(0x844C), MB2(0x844D),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10625:57: error: ‘MB2’ was not declared in this scope
10625 |     MB2(0x8449), MB2(0x844A), MB2(0x844B), MB2(0x844C), MB2(0x844D),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10626:5: error: ‘MB2’ was not declared in this scope
10626 |     MB2(0x844E), MB2(0x844F), MB2(0x8450), MB2(0x8451), MB2(0x8452),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10626:18: error: ‘MB2’ was not declared in this scope
10626 |     MB2(0x844E), MB2(0x844F), MB2(0x8450), MB2(0x8451), MB2(0x8452),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10626:31: error: ‘MB2’ was not declared in this scope
10626 |     MB2(0x844E), MB2(0x844F), MB2(0x8450), MB2(0x8451), MB2(0x8452),
      |                               ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_error.cc:50:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/mysys_priv.h:37:8: error: ‘PSI_mutex_key’ does not name a type; did you mean ‘PSI_mutex’?
   37 | extern PSI_mutex_key key_BITMAP_mutex, key_IO_CACHE_append_buffer_lock,
      |        ^~~~~~~~~~~~~
      |        PSI_mutex
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10626:44: error: ‘MB2’ was not declared in this scope
10626 |     MB2(0x844E), MB2(0x844F), MB2(0x8450), MB2(0x8451), MB2(0x8452),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10626:57: error: ‘MB2’ was not declared in this scope
10626 |     MB2(0x844E), MB2(0x844F), MB2(0x8450), MB2(0x8451), MB2(0x8452),
      |                                                         ^~~
make[2]: *** [mysql_strings/CMakeFiles/mysql_strings.dir/build.make:90: mysql_strings/CMakeFiles/mysql_strings.dir/ctype-bin.cc.o] Error 1
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10627:5: error: ‘MB2’ was not declared in this scope
10627 |     MB2(0x8453), MB2(0x8454), /* 0420 */
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10627:18: error: ‘MB2’ was not declared in this scope
10627 |     MB2(0x8453), MB2(0x8454), /* 0420 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/mysys_priv.h:46:8: error: ‘PSI_cond_key’ does not name a type; did you mean ‘PSI_file_key’?
   46 | extern PSI_cond_key key_IO_CACHE_SHARE_cond, key_IO_CACHE_SHARE_cond_writer,
      |        ^~~~~~~~~~~~
      |        PSI_file_key
make[2]: *** [mysql_sys/CMakeFiles/mysql_sys.dir/build.make:132: mysql_sys/CMakeFiles/mysql_sys.dir/list.cc.o] Error 1
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10628:5: error: ‘MB2’ was not declared in this scope
10628 |     MB2(0x8455), MB2(0x8456), MB2(0x8457), MB2(0x8458), MB2(0x8459),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10628:18: error: ‘MB2’ was not declared in this scope
10628 |     MB2(0x8455), MB2(0x8456), MB2(0x8457), MB2(0x8458), MB2(0x8459),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10628:31: error: ‘MB2’ was not declared in this scope
10628 |     MB2(0x8455), MB2(0x8456), MB2(0x8457), MB2(0x8458), MB2(0x8459),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_error.cc: In function ‘void my_message_local(loglevel, const char*, ...)’:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_error.cc:483:29: error: invalid conversion from ‘const char*’ to ‘uint’ {aka ‘unsigned int’} [-fpermissive]
  483 |   (*local_message_hook)(ll, format, args);
      |                             ^~~~~~
      |                             |
      |                             const char*
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10628:44: error: ‘MB2’ was not declared in this scope
10628 |     MB2(0x8455), MB2(0x8456), MB2(0x8457), MB2(0x8458), MB2(0x8459),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10628:57: error: ‘MB2’ was not declared in this scope
10628 |     MB2(0x8455), MB2(0x8456), MB2(0x8457), MB2(0x8458), MB2(0x8459),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10629:5: error: ‘MB2’ was not declared in this scope
10629 |     MB2(0x845A), MB2(0x845B), MB2(0x845C), MB2(0x845D), MB2(0x845E),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10629:18: error: ‘MB2’ was not declared in this scope
10629 |     MB2(0x845A), MB2(0x845B), MB2(0x845C), MB2(0x845D), MB2(0x845E),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10629:31: error: ‘MB2’ was not declared in this scope
10629 |     MB2(0x845A), MB2(0x845B), MB2(0x845C), MB2(0x845D), MB2(0x845E),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10629:44: error: ‘MB2’ was not declared in this scope
10629 |     MB2(0x845A), MB2(0x845B), MB2(0x845C), MB2(0x845D), MB2(0x845E),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10629:57: error: ‘MB2’ was not declared in this scope
10629 |     MB2(0x845A), MB2(0x845B), MB2(0x845C), MB2(0x845D), MB2(0x845E),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10630:5: error: ‘MB2’ was not declared in this scope
10630 |     MB2(0x845F), MB2(0x8460), MB2(0x8470), MB2(0x8471), MB2(0x8472),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10630:18: error: ‘MB2’ was not declared in this scope
10630 |     MB2(0x845F), MB2(0x8460), MB2(0x8470), MB2(0x8471), MB2(0x8472),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10630:31: error: ‘MB2’ was not declared in this scope
10630 |     MB2(0x845F), MB2(0x8460), MB2(0x8470), MB2(0x8471), MB2(0x8472),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10630:44: error: ‘MB2’ was not declared in this scope
10630 |     MB2(0x845F), MB2(0x8460), MB2(0x8470), MB2(0x8471), MB2(0x8472),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10630:57: error: ‘MB2’ was not declared in this scope
10630 |     MB2(0x845F), MB2(0x8460), MB2(0x8470), MB2(0x8471), MB2(0x8472),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10631:5: error: ‘MB2’ was not declared in this scope
10631 |     MB2(0x8473), MB2(0x8474), MB2(0x8475), MB2(0x8477), MB2(0x8478),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10631:18: error: ‘MB2’ was not declared in this scope
10631 |     MB2(0x8473), MB2(0x8474), MB2(0x8475), MB2(0x8477), MB2(0x8478),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10631:31: error: ‘MB2’ was not declared in this scope
10631 |     MB2(0x8473), MB2(0x8474), MB2(0x8475), MB2(0x8477), MB2(0x8478),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10631:44: error: ‘MB2’ was not declared in this scope
10631 |     MB2(0x8473), MB2(0x8474), MB2(0x8475), MB2(0x8477), MB2(0x8478),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10631:57: error: ‘MB2’ was not declared in this scope
10631 |     MB2(0x8473), MB2(0x8474), MB2(0x8475), MB2(0x8477), MB2(0x8478),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10632:5: error: ‘MB2’ was not declared in this scope
10632 |     MB2(0x8479), MB2(0x847A), MB2(0x847B), MB2(0x847C), MB2(0x847D),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10632:18: error: ‘MB2’ was not declared in this scope
10632 |     MB2(0x8479), MB2(0x847A), MB2(0x847B), MB2(0x847C), MB2(0x847D),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10632:31: error: ‘MB2’ was not declared in this scope
10632 |     MB2(0x8479), MB2(0x847A), MB2(0x847B), MB2(0x847C), MB2(0x847D),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10632:44: error: ‘MB2’ was not declared in this scope
10632 |     MB2(0x8479), MB2(0x847A), MB2(0x847B), MB2(0x847C), MB2(0x847D),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11719:44: error: ‘MB2’ was not declared in this scope
11719 |     0x0000,      0x0000,      0x0000,      MB2(0xA1F8), MB2(0xA1AF),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10632:57: error: ‘MB2’ was not declared in this scope
10632 |     MB2(0x8479), MB2(0x847A), MB2(0x847B), MB2(0x847C), MB2(0x847D),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11719:57: error: ‘MB2’ was not declared in this scope
11719 |     0x0000,      0x0000,      0x0000,      MB2(0xA1F8), MB2(0xA1AF),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10633:5: error: ‘MB2’ was not declared in this scope
10633 |     MB2(0x847E), MB2(0x8480), MB2(0x8481), MB2(0x8482), MB2(0x8483),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10633:18: error: ‘MB2’ was not declared in this scope
10633 |     MB2(0x847E), MB2(0x8480), MB2(0x8481), MB2(0x8482), MB2(0x8483),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11721:31: error: ‘MB2’ was not declared in this scope
11721 |     0x0000,      0x0000,      MB2(0xA1EB), MB2(0xA1DE), 0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10633:31: error: ‘MB2’ was not declared in this scope
10633 |     MB2(0x847E), MB2(0x8480), MB2(0x8481), MB2(0x8482), MB2(0x8483),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11721:44: error: ‘MB2’ was not declared in this scope
11721 |     0x0000,      0x0000,      MB2(0xA1EB), MB2(0xA1DE), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10633:44: error: ‘MB2’ was not declared in this scope
10633 |     MB2(0x847E), MB2(0x8480), MB2(0x8481), MB2(0x8482), MB2(0x8483),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11722:18: error: ‘MB2’ was not declared in this scope
11722 |     0x0000,      MB2(0xA1AD), 0x0000,      MB2(0xA2F9), 0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10633:57: error: ‘MB2’ was not declared in this scope
10633 |     MB2(0x847E), MB2(0x8480), MB2(0x8481), MB2(0x8482), MB2(0x8483),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10634:5: error: ‘MB2’ was not declared in this scope
10634 |     MB2(0x8484), MB2(0x8485), /* 0440 */
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11722:44: error: ‘MB2’ was not declared in this scope
11722 |     0x0000,      MB2(0xA1AD), 0x0000,      MB2(0xA2F9), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10634:18: error: ‘MB2’ was not declared in this scope
10634 |     MB2(0x8484), MB2(0x8485), /* 0440 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11729:57: error: ‘MB2’ was not declared in this scope
11729 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0xA1DF),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10635:5: error: ‘MB2’ was not declared in this scope
10635 |     MB2(0x8486), MB2(0x8487), MB2(0x8488), MB2(0x8489), MB2(0x848A),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11736:57: error: ‘MB2’ was not declared in this scope
11736 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0xA1E0),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10635:18: error: ‘MB2’ was not declared in this scope
10635 |     MB2(0x8486), MB2(0x8487), MB2(0x8488), MB2(0x8489), MB2(0x848A),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11882:44: error: ‘MB2’ was not declared in this scope
11882 |     0x0000,      0x0000,      0x0000,      MB2(0xA6A1), MB2(0xA6A2),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10635:31: error: ‘MB2’ was not declared in this scope
10635 |     MB2(0x8486), MB2(0x8487), MB2(0x8488), MB2(0x8489), MB2(0x848A),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10635:44: error: ‘MB2’ was not declared in this scope
10635 |     MB2(0x8486), MB2(0x8487), MB2(0x8488), MB2(0x8489), MB2(0x848A),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11882:57: error: ‘MB2’ was not declared in this scope
11882 |     0x0000,      0x0000,      0x0000,      MB2(0xA6A1), MB2(0xA6A2),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10635:57: error: ‘MB2’ was not declared in this scope
10635 |     MB2(0x8486), MB2(0x8487), MB2(0x8488), MB2(0x8489), MB2(0x848A),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11883:5: error: ‘MB2’ was not declared in this scope
11883 |     MB2(0xA6A3), MB2(0xA6A4), MB2(0xA6A5), MB2(0xA6A6), MB2(0xA6A7),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10636:5: error: ‘MB2’ was not declared in this scope
10636 |     MB2(0x848B), MB2(0x848C), MB2(0x848D), MB2(0x848E), MB2(0x848F),
      |     ^~~
make[2]: *** [mysql_sys/CMakeFiles/mysql_sys.dir/build.make:216: mysql_sys/CMakeFiles/mysql_sys.dir/my_error.cc.o] Error 1
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11883:18: error: ‘MB2’ was not declared in this scope
11883 |     MB2(0xA6A3), MB2(0xA6A4), MB2(0xA6A5), MB2(0xA6A6), MB2(0xA6A7),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10636:18: error: ‘MB2’ was not declared in this scope
10636 |     MB2(0x848B), MB2(0x848C), MB2(0x848D), MB2(0x848E), MB2(0x848F),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11883:31: error: ‘MB2’ was not declared in this scope
11883 |     MB2(0xA6A3), MB2(0xA6A4), MB2(0xA6A5), MB2(0xA6A6), MB2(0xA6A7),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10636:31: error: ‘MB2’ was not declared in this scope
10636 |     MB2(0x848B), MB2(0x848C), MB2(0x848D), MB2(0x848E), MB2(0x848F),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11883:44: error: ‘MB2’ was not declared in this scope
11883 |     MB2(0xA6A3), MB2(0xA6A4), MB2(0xA6A5), MB2(0xA6A6), MB2(0xA6A7),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10636:44: error: ‘MB2’ was not declared in this scope
10636 |     MB2(0x848B), MB2(0x848C), MB2(0x848D), MB2(0x848E), MB2(0x848F),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10636:57: error: ‘MB2’ was not declared in this scope
10636 |     MB2(0x848B), MB2(0x848C), MB2(0x848D), MB2(0x848E), MB2(0x848F),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11883:57: error: ‘MB2’ was not declared in this scope
11883 |     MB2(0xA6A3), MB2(0xA6A4), MB2(0xA6A5), MB2(0xA6A6), MB2(0xA6A7),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10637:5: error: ‘MB2’ was not declared in this scope
10637 |     MB2(0x8490), MB2(0x8491), 0x0000,      MB2(0x8476), 0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11884:5: error: ‘MB2’ was not declared in this scope
11884 |     MB2(0xA6A8), MB2(0xA6A9), MB2(0xA6AA), MB2(0xA6AB), MB2(0xA6AC),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10637:18: error: ‘MB2’ was not declared in this scope
10637 |     MB2(0x8490), MB2(0x8491), 0x0000,      MB2(0x8476), 0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11884:18: error: ‘MB2’ was not declared in this scope
11884 |     MB2(0xA6A8), MB2(0xA6A9), MB2(0xA6AA), MB2(0xA6AB), MB2(0xA6AC),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:10637:44: error: ‘MB2’ was not declared in this scope
10637 |     MB2(0x8490), MB2(0x8491), 0x0000,      MB2(0x8476), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11884:31: error: ‘MB2’ was not declared in this scope
11884 |     MB2(0xA6A8), MB2(0xA6A9), MB2(0xA6AA), MB2(0xA6AB), MB2(0xA6AC),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11884:44: error: ‘MB2’ was not declared in this scope
11884 |     MB2(0xA6A8), MB2(0xA6A9), MB2(0xA6AA), MB2(0xA6AB), MB2(0xA6AC),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11884:57: error: ‘MB2’ was not declared in this scope
11884 |     MB2(0xA6A8), MB2(0xA6A9), MB2(0xA6AA), MB2(0xA6AB), MB2(0xA6AC),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12191:31: error: ‘MB2’ was not declared in this scope
12191 |     0x0000,      0x0000,      MB2(0x815D), 0x0000,      0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11885:5: error: ‘MB2’ was not declared in this scope
11885 |     MB2(0xA6AD), MB2(0xA6AE), MB2(0xA6AF), MB2(0xA6B0), MB2(0xA6B1),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12192:31: error: ‘MB2’ was not declared in this scope
12192 |     0x0000,      0x0000,      MB2(0x815C), 0x0000,      0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11885:18: error: ‘MB2’ was not declared in this scope
11885 |     MB2(0xA6AD), MB2(0xA6AE), MB2(0xA6AF), MB2(0xA6B0), MB2(0xA6B1),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12193:5: error: ‘MB2’ was not declared in this scope
12193 |     MB2(0x8165), MB2(0x8166), 0x0000,      0x0000,      MB2(0x8167),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11885:31: error: ‘MB2’ was not declared in this scope
11885 |     MB2(0xA6AD), MB2(0xA6AE), MB2(0xA6AF), MB2(0xA6B0), MB2(0xA6B1),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12193:18: error: ‘MB2’ was not declared in this scope
12193 |     MB2(0x8165), MB2(0x8166), 0x0000,      0x0000,      MB2(0x8167),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11885:44: error: ‘MB2’ was not declared in this scope
11885 |     MB2(0xA6AD), MB2(0xA6AE), MB2(0xA6AF), MB2(0xA6B0), MB2(0xA6B1),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12193:57: error: ‘MB2’ was not declared in this scope
12193 |     MB2(0x8165), MB2(0x8166), 0x0000,      0x0000,      MB2(0x8167),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12194:5: error: ‘MB2’ was not declared in this scope
12194 |     MB2(0x8168), 0x0000,      0x0000,      MB2(0x81F5), MB2(0x81F6),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11885:57: error: ‘MB2’ was not declared in this scope
11885 |     MB2(0xA6AD), MB2(0xA6AE), MB2(0xA6AF), MB2(0xA6B0), MB2(0xA6B1),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12194:44: error: ‘MB2’ was not declared in this scope
12194 |     MB2(0x8168), 0x0000,      0x0000,      MB2(0x81F5), MB2(0x81F6),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11886:18: error: ‘MB2’ was not declared in this scope
11886 |     0x0000,      MB2(0xA6B2), /* 03A0 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12194:57: error: ‘MB2’ was not declared in this scope
12194 |     MB2(0x8168), 0x0000,      0x0000,      MB2(0x81F5), MB2(0x81F6),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11887:5: error: ‘MB2’ was not declared in this scope
11887 |     MB2(0xA6B3), MB2(0xA6B4), MB2(0xA6B5), MB2(0xA6B6), MB2(0xA6B7),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12196:18: error: ‘MB2’ was not declared in this scope
12196 |     0x0000,      MB2(0x8164), MB2(0x8163), 0x0000,      0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11887:18: error: ‘MB2’ was not declared in this scope
11887 |     MB2(0xA6B3), MB2(0xA6B4), MB2(0xA6B5), MB2(0xA6B6), MB2(0xA6B7),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12196:31: error: ‘MB2’ was not declared in this scope
12196 |     0x0000,      MB2(0x8164), MB2(0x8163), 0x0000,      0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11887:31: error: ‘MB2’ was not declared in this scope
11887 |     MB2(0xA6B3), MB2(0xA6B4), MB2(0xA6B5), MB2(0xA6B6), MB2(0xA6B7),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12198:31: error: ‘MB2’ was not declared in this scope
12198 |     0x0000,      0x0000,      MB2(0x81F1), 0x0000,      MB2(0x818C),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11887:44: error: ‘MB2’ was not declared in this scope
11887 |     MB2(0xA6B3), MB2(0xA6B4), MB2(0xA6B5), MB2(0xA6B6), MB2(0xA6B7),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12198:57: error: ‘MB2’ was not declared in this scope
12198 |     0x0000,      0x0000,      MB2(0x81F1), 0x0000,      MB2(0x818C),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11887:57: error: ‘MB2’ was not declared in this scope
11887 |     MB2(0xA6B3), MB2(0xA6B4), MB2(0xA6B5), MB2(0xA6B6), MB2(0xA6B7),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12199:5: error: ‘MB2’ was not declared in this scope
12199 |     MB2(0x818D), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11888:5: error: ‘MB2’ was not declared in this scope
11888 |     MB2(0xA6B8), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12200:44: error: ‘MB2’ was not declared in this scope
12200 |     0x0000,      0x0000,      0x0000,      MB2(0x81A6), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11889:44: error: ‘MB2’ was not declared in this scope
11889 |     0x0000,      0x0000,      0x0000,      MB2(0xA6C1), MB2(0xA6C2),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12244:18: error: ‘MB2’ was not declared in this scope
12244 |     0x0000,      MB2(0x818E), /* 2100 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12248:44: error: ‘MB2’ was not declared in this scope
12248 |     0x0000,      0x0000,      0x0000,      MB2(0x8782), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11889:57: error: ‘MB2’ was not declared in this scope
11889 |     0x0000,      0x0000,      0x0000,      MB2(0xA6C1), MB2(0xA6C2),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12250:57: error: ‘MB2’ was not declared in this scope
12250 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0x8784),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11890:5: error: ‘MB2’ was not declared in this scope
11890 |     MB2(0xA6C3), MB2(0xA6C4), MB2(0xA6C5), MB2(0xA6C6), MB2(0xA6C7),
      |     ^~~
In file included from /build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_lib.cc:51:
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/mysys_priv.h:37:8: error: ‘PSI_mutex_key’ does not name a type; did you mean ‘PSI_mutex’?
   37 | extern PSI_mutex_key key_BITMAP_mutex, key_IO_CACHE_append_buffer_lock,
      |        ^~~~~~~~~~~~~
      |        PSI_mutex
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12253:31: error: ‘MB2’ was not declared in this scope
12253 |     0x0000,      0x0000,      MB2(0x81F0), 0x0000,      0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11890:18: error: ‘MB2’ was not declared in this scope
11890 |     MB2(0xA6C3), MB2(0xA6C4), MB2(0xA6C5), MB2(0xA6C6), MB2(0xA6C7),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12264:44: error: ‘MB2’ was not declared in this scope
12264 |     0x0000,      0x0000,      0x0000,      MB2(0x8754), MB2(0x8755),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11890:31: error: ‘MB2’ was not declared in this scope
11890 |     MB2(0xA6C3), MB2(0xA6C4), MB2(0xA6C5), MB2(0xA6C6), MB2(0xA6C7),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12264:57: error: ‘MB2’ was not declared in this scope
12264 |     0x0000,      0x0000,      0x0000,      MB2(0x8754), MB2(0x8755),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/mysys_priv.h:46:8: error: ‘PSI_cond_key’ does not name a type; did you mean ‘PSI_file_key’?
   46 | extern PSI_cond_key key_IO_CACHE_SHARE_cond, key_IO_CACHE_SHARE_cond_writer,
      |        ^~~~~~~~~~~~
      |        PSI_file_key
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11890:44: error: ‘MB2’ was not declared in this scope
11890 |     MB2(0xA6C3), MB2(0xA6C4), MB2(0xA6C5), MB2(0xA6C6), MB2(0xA6C7),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12265:5: error: ‘MB2’ was not declared in this scope
12265 |     MB2(0x8756), MB2(0x8757), /* 2160 */
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11890:57: error: ‘MB2’ was not declared in this scope
11890 |     MB2(0xA6C3), MB2(0xA6C4), MB2(0xA6C5), MB2(0xA6C6), MB2(0xA6C7),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12265:18: error: ‘MB2’ was not declared in this scope
12265 |     MB2(0x8756), MB2(0x8757), /* 2160 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12266:5: error: ‘MB2’ was not declared in this scope
12266 |     MB2(0x8758), MB2(0x8759), MB2(0x875A), MB2(0x875B), MB2(0x875C),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11891:5: error: ‘MB2’ was not declared in this scope
11891 |     MB2(0xA6C8), MB2(0xA6C9), MB2(0xA6CA), MB2(0xA6CB), MB2(0xA6CC),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12266:18: error: ‘MB2’ was not declared in this scope
12266 |     MB2(0x8758), MB2(0x8759), MB2(0x875A), MB2(0x875B), MB2(0x875C),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11891:18: error: ‘MB2’ was not declared in this scope
11891 |     MB2(0xA6C8), MB2(0xA6C9), MB2(0xA6CA), MB2(0xA6CB), MB2(0xA6CC),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12266:31: error: ‘MB2’ was not declared in this scope
12266 |     MB2(0x8758), MB2(0x8759), MB2(0x875A), MB2(0x875B), MB2(0x875C),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11891:31: error: ‘MB2’ was not declared in this scope
11891 |     MB2(0xA6C8), MB2(0xA6C9), MB2(0xA6CA), MB2(0xA6CB), MB2(0xA6CC),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12266:44: error: ‘MB2’ was not declared in this scope
12266 |     MB2(0x8758), MB2(0x8759), MB2(0x875A), MB2(0x875B), MB2(0x875C),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11891:44: error: ‘MB2’ was not declared in this scope
11891 |     MB2(0xA6C8), MB2(0xA6C9), MB2(0xA6CA), MB2(0xA6CB), MB2(0xA6CC),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12266:57: error: ‘MB2’ was not declared in this scope
12266 |     MB2(0x8758), MB2(0x8759), MB2(0x875A), MB2(0x875B), MB2(0x875C),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11891:57: error: ‘MB2’ was not declared in this scope
11891 |     MB2(0xA6C8), MB2(0xA6C9), MB2(0xA6CA), MB2(0xA6CB), MB2(0xA6CC),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12267:5: error: ‘MB2’ was not declared in this scope
12267 |     MB2(0x875D), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11892:5: error: ‘MB2’ was not declared in this scope
11892 |     MB2(0xA6CD), MB2(0xA6CE), MB2(0xA6CF), MB2(0xA6D0), MB2(0xA6D1),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12268:31: error: ‘MB2’ was not declared in this scope
12268 |     0x0000,      0x0000,      MB2(0xFA40), MB2(0xFA41), MB2(0xFA42),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11892:18: error: ‘MB2’ was not declared in this scope
11892 |     MB2(0xA6CD), MB2(0xA6CE), MB2(0xA6CF), MB2(0xA6D0), MB2(0xA6D1),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12268:44: error: ‘MB2’ was not declared in this scope
12268 |     0x0000,      0x0000,      MB2(0xFA40), MB2(0xFA41), MB2(0xFA42),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12268:57: error: ‘MB2’ was not declared in this scope
12268 |     0x0000,      0x0000,      MB2(0xFA40), MB2(0xFA41), MB2(0xFA42),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11892:31: error: ‘MB2’ was not declared in this scope
11892 |     MB2(0xA6CD), MB2(0xA6CE), MB2(0xA6CF), MB2(0xA6D0), MB2(0xA6D1),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12269:5: error: ‘MB2’ was not declared in this scope
12269 |     MB2(0xFA43), MB2(0xFA44), MB2(0xFA45), MB2(0xFA46), MB2(0xFA47),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11892:44: error: ‘MB2’ was not declared in this scope
11892 |     MB2(0xA6CD), MB2(0xA6CE), MB2(0xA6CF), MB2(0xA6D0), MB2(0xA6D1),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12269:18: error: ‘MB2’ was not declared in this scope
12269 |     MB2(0xFA43), MB2(0xFA44), MB2(0xFA45), MB2(0xFA46), MB2(0xFA47),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11892:57: error: ‘MB2’ was not declared in this scope
11892 |     MB2(0xA6CD), MB2(0xA6CE), MB2(0xA6CF), MB2(0xA6D0), MB2(0xA6D1),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12269:31: error: ‘MB2’ was not declared in this scope
12269 |     MB2(0xFA43), MB2(0xFA44), MB2(0xFA45), MB2(0xFA46), MB2(0xFA47),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11893:18: error: ‘MB2’ was not declared in this scope
11893 |     0x0000,      MB2(0xA6D2), /* 03C0 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12269:44: error: ‘MB2’ was not declared in this scope
12269 |     MB2(0xFA43), MB2(0xFA44), MB2(0xFA45), MB2(0xFA46), MB2(0xFA47),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12269:57: error: ‘MB2’ was not declared in this scope
12269 |     MB2(0xFA43), MB2(0xFA44), MB2(0xFA45), MB2(0xFA46), MB2(0xFA47),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11894:5: error: ‘MB2’ was not declared in this scope
11894 |     MB2(0xA6D3), MB2(0xA6D4), MB2(0xA6D5), MB2(0xA6D6), MB2(0xA6D7),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12270:5: error: ‘MB2’ was not declared in this scope
12270 |     MB2(0xFA48), MB2(0xFA49), 0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11894:18: error: ‘MB2’ was not declared in this scope
11894 |     MB2(0xA6D3), MB2(0xA6D4), MB2(0xA6D5), MB2(0xA6D6), MB2(0xA6D7),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12270:18: error: ‘MB2’ was not declared in this scope
12270 |     MB2(0xFA48), MB2(0xFA49), 0x0000,      0x0000,      0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11894:31: error: ‘MB2’ was not declared in this scope
11894 |     MB2(0xA6D3), MB2(0xA6D4), MB2(0xA6D5), MB2(0xA6D6), MB2(0xA6D7),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12275:31: error: ‘MB2’ was not declared in this scope
12275 |     0x0000,      0x0000,      MB2(0x81A9), MB2(0x81AA), MB2(0x81A8),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11894:44: error: ‘MB2’ was not declared in this scope
11894 |     MB2(0xA6D3), MB2(0xA6D4), MB2(0xA6D5), MB2(0xA6D6), MB2(0xA6D7),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12275:44: error: ‘MB2’ was not declared in this scope
12275 |     0x0000,      0x0000,      MB2(0x81A9), MB2(0x81AA), MB2(0x81A8),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11894:57: error: ‘MB2’ was not declared in this scope
11894 |     MB2(0xA6D3), MB2(0xA6D4), MB2(0xA6D5), MB2(0xA6D6), MB2(0xA6D7),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12275:57: error: ‘MB2’ was not declared in this scope
12275 |     0x0000,      0x0000,      MB2(0x81A9), MB2(0x81AA), MB2(0x81A8),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12276:5: error: ‘MB2’ was not declared in this scope
12276 |     MB2(0x81AB), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11895:5: error: ‘MB2’ was not declared in this scope
11895 |     MB2(0xA6D8), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12289:57: error: ‘MB2’ was not declared in this scope
12289 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0x81CB),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11906:57: error: ‘MB2’ was not declared in this scope
11906 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0xA7A7),
      |                                                         ^~~
make[2]: *** [util/CMakeFiles/myodbc-util.dir/build.make:90: util/CMakeFiles/myodbc-util.dir/unicode_transcode.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12290:18: error: ‘MB2’ was not declared in this scope
12290 |     0x0000,      MB2(0x81CC), 0x0000,      0x0000,      0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11910:31: error: ‘MB2’ was not declared in this scope
11910 |     0x0000,      0x0000,      MB2(0xA7A1), MB2(0xA7A2), MB2(0xA7A3),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12299:44: error: ‘MB2’ was not declared in this scope
12299 |     0x0000,      0x0000,      0x0000,      MB2(0x81CD), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11910:44: error: ‘MB2’ was not declared in this scope
11910 |     0x0000,      0x0000,      MB2(0xA7A1), MB2(0xA7A2), MB2(0xA7A3),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12300:5: error: ‘MB2’ was not declared in this scope
12300 |     MB2(0x81DD), MB2(0x81CE), /* 2200 */
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11910:57: error: ‘MB2’ was not declared in this scope
11910 |     0x0000,      0x0000,      MB2(0xA7A1), MB2(0xA7A2), MB2(0xA7A3),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12300:18: error: ‘MB2’ was not declared in this scope
12300 |     MB2(0x81DD), MB2(0x81CE), /* 2200 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11911:5: error: ‘MB2’ was not declared in this scope
11911 |     MB2(0xA7A4), MB2(0xA7A5), MB2(0xA7A6), MB2(0xA7A8), MB2(0xA7A9),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12301:44: error: ‘MB2’ was not declared in this scope
12301 |     0x0000,      0x0000,      0x0000,      MB2(0x81DE), MB2(0x81B8),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12301:57: error: ‘MB2’ was not declared in this scope
12301 |     0x0000,      0x0000,      0x0000,      MB2(0x81DE), MB2(0x81B8),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11911:18: error: ‘MB2’ was not declared in this scope
11911 |     MB2(0xA7A4), MB2(0xA7A5), MB2(0xA7A6), MB2(0xA7A8), MB2(0xA7A9),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12302:31: error: ‘MB2’ was not declared in this scope
12302 |     0x0000,      0x0000,      MB2(0x81B9), 0x0000,      0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11911:31: error: ‘MB2’ was not declared in this scope
11911 |     MB2(0xA7A4), MB2(0xA7A5), MB2(0xA7A6), MB2(0xA7A8), MB2(0xA7A9),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12303:44: error: ‘MB2’ was not declared in this scope
12303 |     0x0000,      0x0000,      0x0000,      MB2(0x8794), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11911:44: error: ‘MB2’ was not declared in this scope
11911 |     MB2(0xA7A4), MB2(0xA7A5), MB2(0xA7A6), MB2(0xA7A8), MB2(0xA7A9),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12305:31: error: ‘MB2’ was not declared in this scope
12305 |     0x0000,      0x0000,      MB2(0x81E3), 0x0000,      0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11911:57: error: ‘MB2’ was not declared in this scope
11911 |     MB2(0xA7A4), MB2(0xA7A5), MB2(0xA7A6), MB2(0xA7A8), MB2(0xA7A9),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12306:5: error: ‘MB2’ was not declared in this scope
12306 |     MB2(0x81E5), MB2(0x8187), MB2(0x8798), MB2(0x81DA), 0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11912:5: error: ‘MB2’ was not declared in this scope
11912 |     MB2(0xA7AA), MB2(0xA7AB), MB2(0xA7AC), MB2(0xA7AD), MB2(0xA7AE),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12306:18: error: ‘MB2’ was not declared in this scope
12306 |     MB2(0x81E5), MB2(0x8187), MB2(0x8798), MB2(0x81DA), 0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12306:31: error: ‘MB2’ was not declared in this scope
12306 |     MB2(0x81E5), MB2(0x8187), MB2(0x8798), MB2(0x81DA), 0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11912:18: error: ‘MB2’ was not declared in this scope
11912 |     MB2(0xA7AA), MB2(0xA7AB), MB2(0xA7AC), MB2(0xA7AD), MB2(0xA7AE),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12306:44: error: ‘MB2’ was not declared in this scope
12306 |     MB2(0x81E5), MB2(0x8187), MB2(0x8798), MB2(0x81DA), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11912:31: error: ‘MB2’ was not declared in this scope
11912 |     MB2(0xA7AA), MB2(0xA7AB), MB2(0xA7AC), MB2(0xA7AD), MB2(0xA7AE),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12308:18: error: ‘MB2’ was not declared in this scope
12308 |     0x0000,      MB2(0x8161), 0x0000,      MB2(0x81C8), MB2(0x81C9),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11912:44: error: ‘MB2’ was not declared in this scope
11912 |     MB2(0xA7AA), MB2(0xA7AB), MB2(0xA7AC), MB2(0xA7AD), MB2(0xA7AE),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12308:44: error: ‘MB2’ was not declared in this scope
12308 |     0x0000,      MB2(0x8161), 0x0000,      MB2(0x81C8), MB2(0x81C9),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11912:57: error: ‘MB2’ was not declared in this scope
11912 |     MB2(0xA7AA), MB2(0xA7AB), MB2(0xA7AC), MB2(0xA7AD), MB2(0xA7AE),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12308:57: error: ‘MB2’ was not declared in this scope
12308 |     0x0000,      MB2(0x8161), 0x0000,      MB2(0x81C8), MB2(0x81C9),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11913:5: error: ‘MB2’ was not declared in this scope
11913 |     MB2(0xA7AF), MB2(0xA7B0), MB2(0xA7B1), MB2(0xA7B2), MB2(0xA7B3),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12309:5: error: ‘MB2’ was not declared in this scope
12309 |     MB2(0x81BF), MB2(0x81BE), MB2(0x81E7), MB2(0x81E8), 0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11913:18: error: ‘MB2’ was not declared in this scope
11913 |     MB2(0xA7AF), MB2(0xA7B0), MB2(0xA7B1), MB2(0xA7B2), MB2(0xA7B3),
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12309:18: error: ‘MB2’ was not declared in this scope
12309 |     MB2(0x81BF), MB2(0x81BE), MB2(0x81E7), MB2(0x81E8), 0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12309:31: error: ‘MB2’ was not declared in this scope
12309 |     MB2(0x81BF), MB2(0x81BE), MB2(0x81E7), MB2(0x81E8), 0x0000,
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11913:31: error: ‘MB2’ was not declared in this scope
11913 |     MB2(0xA7AF), MB2(0xA7B0), MB2(0xA7B1), MB2(0xA7B2), MB2(0xA7B3),
      |                               ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12309:44: error: ‘MB2’ was not declared in this scope
12309 |     MB2(0x81BF), MB2(0x81BE), MB2(0x81E7), MB2(0x81E8), 0x0000,
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11913:44: error: ‘MB2’ was not declared in this scope
11913 |     MB2(0xA7AF), MB2(0xA7B0), MB2(0xA7B1), MB2(0xA7B2), MB2(0xA7B3),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12310:5: error: ‘MB2’ was not declared in this scope
12310 |     MB2(0x8793), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11913:57: error: ‘MB2’ was not declared in this scope
11913 |     MB2(0xA7AF), MB2(0xA7B0), MB2(0xA7B1), MB2(0xA7B2), MB2(0xA7B3),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12311:18: error: ‘MB2’ was not declared in this scope
12311 |     0x0000,      MB2(0x8188), MB2(0x81E6), 0x0000,      0x0000,
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11914:5: error: ‘MB2’ was not declared in this scope
11914 |     MB2(0xA7B4), MB2(0xA7B5), /* 0420 */
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12311:31: error: ‘MB2’ was not declared in this scope
12311 |     0x0000,      MB2(0x8188), MB2(0x81E6), 0x0000,      0x0000,
      |                               ^~~
make[2]: *** [util/CMakeFiles/myodbc-util.dir/build.make:118: util/CMakeFiles/myodbc-util.dir/odbcinstw.cc.o] Error 1
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11914:18: error: ‘MB2’ was not declared in this scope
11914 |     MB2(0xA7B4), MB2(0xA7B5), /* 0420 */
      |                  ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12313:5: error: ‘MB2’ was not declared in this scope
12313 |     MB2(0x81E4), 0x0000,      0x0000,      0x0000,      0x0000,
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11915:5: error: ‘MB2’ was not declared in this scope
11915 |     MB2(0xA7B6), MB2(0xA7B7), MB2(0xA7B8), MB2(0xA7B9), MB2(0xA7BA),
      |     ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12317:57: error: ‘MB2’ was not declared in this scope
12317 |     0x0000,      0x0000,      0x0000,      0x0000,      MB2(0x81E0),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12320:44: error: ‘MB2’ was not declared in this scope
12320 |     0x0000,      0x0000,      0x0000,      MB2(0x8182), MB2(0x81DF),
      |                                            ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-eucjpms.cc:11915:18: error: ‘MB2’ was not declared in this scope
11915 |     MB2(0xA7B6), MB2(0xA7B7), MB2(0xA7B8), MB2(0xA7B9), MB2(0xA7BA),
      |                  ^~~
make[2]: *** [util/CMakeFiles/myodbc-util.dir/build.make:104: util/CMakeFiles/myodbc-util.dir/installer.cc.o] Error 1
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_strings/ctype-cp932.cc:12320:57: error: ‘MB2’ was not declared in this scope
12320 |     0x0000,      0x0000,      0x0000,      MB2(0x8182), MB2(0x81DF),
      |                                                         ^~~
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_init.cc:470:58: error: could not convert ‘{0, "Waiting for table level lock", 0, ""}’ from ‘<brace-enclosed initializer list>’ to ‘PSI_stage_info’ {aka ‘PSI_stage_info_v1’}
  470 |     0, "Waiting for table level lock", 0, PSI_DOCUMENT_ME};
      |                                                          ^
      |                                                          |
      |                                                          <brace-enclosed initializer list>
/build/myodbc/src/mysql-connector-odbc-8.0.17-src/mysql_sys/my_init.cc:473:63: error: could not convert ‘{0, "Waiting for disk space", 0, ""}’ from ‘<brace-enclosed initializer list>’ to ‘PSI_stage_info’ {aka ‘PSI_stage_info_v1’}
  473 |                                                PSI_DOCUMENT_ME};

As you have a version that works you can see what was changed to backport those changes.  I am suggesting testing the unsupported versions to avoid the work involved in that unless it is actually needed.

I did not encounter any path related issues.
Edit:
commit log for myodbc 8.0.19 https://github.com/mysql/mysql-connecto … its/8.0.19

Last edited by loqs (2022-04-04 22:27:24)

Offline

#7 2022-04-05 12:09:54

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

I can try to build myodbc-8.0.19 or newer version but if ESET clearly suggest that...

The following MySQL ODBC driver versions are not supported:

•5.3.11 and later 5.3.x

•8.0.0-8.0.15

•8.0.18 and later

...and think it's not going to work.
For example: version 8 of ESET PROTECT is working just fine with mariadb (which isn't offcially supported) but setup file of version 9 detect that database as "non supported" and installation process stops right away.

P.S. I've got the same error with building 8.0.19 version of myodbc.

P.P.S. I'm not able to build even the latest version of myodbc 8.0.28-1. Exact same error sad

Last edited by matt_max (2022-04-05 12:14:40)

Offline

#8 2022-04-05 12:20:52

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [REQUEST] myodbc

Please try a clean chroot build of the packages.  extra-x86_64-build  is provided by the devtools package.

git clone https://aur.archlinux.org/mysql.git
cd mysql
extra-x86_64-build
cd ..
git clone https://aur.archlinux.org/myodbc.git
cd myodbc
extra-x86_64-build -- -I ../mysql/libmysqlclient-8.0.28-1-x86_64.pkg.tar.zst

If that works then the diff for 8.0.19 is:

diff --git a/PKGBUILD b/PKGBUILD
index 6fca767..ca6cdd6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Maintainer: Clarence <xjh.azzbcc@gmail.com>
 
 pkgname=myodbc
-pkgver=8.0.28
+pkgver=8.0.19
 pkgrel=1
 pkgdesc="ODBC driver/connector for MySQL"
 arch=(i686 x86_64)
@@ -13,8 +13,8 @@ makedepends=('cmake' 'gtk3')
 optdepends=('gtk3: graphical interface')
 license=('GPL')
 options=('libtool')
-source=("https://cdn.mysql.com/Downloads/Connector-ODBC/8.0/mysql-connector-odbc-$pkgver-src.tar.gz")
-md5sums=('bc27639c6c440a6a5618f879ee6c890d')
+source=("https://cdn.mysql.com/archives/mysql-connector-odbc-8.0/mysql-connector-odbc-$pkgver-src.tar.gz")
+md5sums=('688403329dab792f67f54886f7717cb2')
 
 build() {
   cd $srcdir/mysql-connector-odbc-${pkgver}-src

Last edited by loqs (2022-04-05 12:27:02)

Offline

#9 2022-04-05 20:07:28

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

No luck:

/build/mysql/src/mysql-8.0.28/storage/innobase/include/pars0grm.h:47: note: mismatching definition
   47 |   PARS_INT_LIT = 258,
      |
lto1: fatal error: write: No space left on device
lto1: fatal error: write: No space left on device
compilation terminated.
compilation terminated.
lto1: fatal error: write: No space left on device
compilation terminated.
lto1: fatal error: write: No space left on device
compilation terminated.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [sql/CMakeFiles/mysqld.dir/build.make:164: runtime_output_directory/mysqld] Error 1
make[1]: *** [CMakeFiles/Makefile2:10462: sql/CMakeFiles/mysqld.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/max/build

It is unclear for me because:

System plików  rozm. użyte dost. %uż. zamont. na
/dev/md127       69G   16G   50G  24% /var

Offline

#10 2022-04-05 20:22:02

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [REQUEST] myodbc

What about inodes instead of blocks?

df -hi /var

Offline

#11 2022-04-05 20:55:12

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

Output:

df -hi /var
System plików  iwęzły użyteI wolneI %uż.I zamont. na
/dev/md127       4,4M   134K   4,3M    3% /var

Offline

#12 2022-04-05 21:02:09

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [REQUEST] myodbc

Is anything 100% full?

df -h
df -hi

Offline

#13 2022-04-06 07:18:49

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

Nope. Everything looks fine:

df -h
System plików  rozm. użyte dost. %uż. zamont. na
devtmpfs        4,0M     0  4,0M   0% /dev
tmpfs           1,9G     0  1,9G   0% /dev/shm
tmpfs           778M  9,0M  770M   2% /run
/dev/md123       14G  2,3G   11G  18% /
/dev/md125      4,9G  3,4G  1,3G  73% /usr
tmpfs           1,9G  100K  1,9G   1% /tmp
/dev/md122      116M   68M   42M  63% /boot
/dev/md126       57G   17G   38G  31% /home
/dev/md127       69G   16G   49G  25% /var
tmpfs           389M     0  389M   0% /run/user/1000
df -hi
System plików  iwęzły użyteI wolneI %uż.I zamont. na
devtmpfs         1,0M    575   1,0M    1% /dev
tmpfs            487K      1   487K    1% /dev/shm
tmpfs            800K    907   800K    1% /run
/dev/md123       896K   2,6K   894K    1% /
/dev/md125       320K   100K   221K   32% /usr
tmpfs            1,0M     44   1,0M    1% /tmp
/dev/md122        30K    338    30K    2% /boot
/dev/md126       3,7M   348K   3,3M   10% /home
/dev/md127       4,4M   134K   4,3M    3% /var
tmpfs             98K     21    98K    1% /run/user/1000

Offline

#14 2022-04-07 13:06:06

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [REQUEST] myodbc

My guess is /tmp runs out. Are those in Megabytes? Please post output in English.

Offline

#15 2022-04-08 10:43:48

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [REQUEST] myodbc

tmpfs           1,9G  100K  1,9G   1% /tmp

typical value for /tmp is half of physical ram, which suggests you have about 4 Gib memory .

Output of

LC_ALL=C free -m

?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#16 2022-04-10 19:43:10

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

Lone_Wolf wrote:
tmpfs           1,9G  100K  1,9G   1% /tmp

typical value for /tmp is half of physical ram, which suggests you have about 4 Gib memory .

Output of

LC_ALL=C free -m

?

Yes that true. This machine has only 4 GB or RAM.

LC_ALL=C free -m
               total        used        free      shared  buff/cache   available
Mem:            3889        1259        1505           0        1124        2349
Swap:         152626         877      151749

Offline

#17 2022-04-11 12:12:50

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [REQUEST] myodbc

Do you have MAKEFLAGS set?  Running multiple jobs would increase the memory requirements.  Disabling LTO (which for this build would need to be done in both the options array and the options passed to cmake) should reduce memory usage.

Offline

#18 2022-04-11 14:11:03

matt_max
Member
From: Warsaw
Registered: 2013-02-14
Posts: 13

Re: [REQUEST] myodbc

loqs wrote:

Do you have MAKEFLAGS set?  Running multiple jobs would increase the memory requirements.  Disabling LTO (which for this build would need to be done in both the options array and the options passed to cmake) should reduce memory usage.

How can I check this and eventually switch it off?

Offline

#19 2022-04-12 00:36:46

loqs
Member
Registered: 2014-03-06
Posts: 17,194

Re: [REQUEST] myodbc

matt_max wrote:
loqs wrote:

Do you have MAKEFLAGS set?  Running multiple jobs would increase the memory requirements.  Disabling LTO (which for this build would need to be done in both the options array and the options passed to cmake) should reduce memory usage.

How can I check this and eventually switch it off?

If you have not set it it will be unset (commented out)  so parallel compilation will be disabled and not the cause.  From makepkg.conf

#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"

https://drive.google.com/file/d/1vuLytj … sp=sharing mysql-8.0.28-1.tar
tarball containing the three packages for mysql-8.0.28 built on my system just before this post so ensure your system is up to date to avoid incompatibilities.
With the libmysqlclient-8.0.28-1-x86_64.pkg.tar.zst from the tarball you can follow the instructions from post #8.

Offline

Board footer

Powered by FluxBB