Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-114

mariadbclient.lib doesn't have all symbols.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Visual studio 2010 on Windows 8 Cmake version-2.8.11.2.

      Description

      First Compilation fails on my setup for mariadbclient revision 160 using Cmake .
      If I making following changes, mariadbclient compiles fine-
      In /include/my_global.h -
      change
      " #ifndef _SIZE_T_DEFINED
      typedef SSIZE_T ssize_t;
      #endif"
      to
      " #ifdef _SIZE_T_DEFINED
      typedef SSIZE_T ssize_t;
      #endif"
      After building mariadbclient this way I get linking error for some symbols like mysql_client_find_plugin, mysql_client_register_plugin. Specificaly I am getting following error-"error LNK2019: unresolved external symbol "struct st_mysql_client_plugin * __cdecl mysql_client_find_plugin(struct st_mysql *,char const *,int)" (?mysql_client_find_plugin@@YAPAUst_mysql_client_plugin@@PAUst_mysql@@PBDH@Z)"
      I also observed that all other symbols which I use to execute query, connecting to mysql etc are working correctly as before. I face this issue only when I use functions related to plugin

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              georg Georg Richter
              Reporter:
              abhishekpwy Abhishek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: