Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-732

LP:720131 - Test compiling connector/odbc with mariadb

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      As mentioned recently on a mailing list, compiling connector/odbc with mariadb fails. We should add such a compilation in the "connectors" builder in buildbot.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            philipstoev Philip Stoev added a comment -

            Re: Test compiling connector/odbc with mariadb
            I can not seem to compile connector-odbc anymore:

            ODBC_PATH=/home/philips/odbc/unixodbc-install/ cmake -G "Unix Makefiles" -DWITH_UNIXODBC=1 -DMYSQL_INCLUDE_DIR=/home/philips/bzr/maria-5.3/include

            make

            results in:

            /home/philips/odbc/mysql-connector-odbc-5.1.9/util/odbcinstw.c:116: error: conflicting types for ‘SQLGetPrivateProfileStringW’
            /home/philips/odbc/mysql-connector-odbc-5.1.9/../unixodbc-install/include/odbcinst.h:340: note: previous declaration of ‘SQLGetPrivateProfileStringW’ was here
            /

            Show
            philipstoev Philip Stoev added a comment - Re: Test compiling connector/odbc with mariadb I can not seem to compile connector-odbc anymore: ODBC_PATH=/home/philips/odbc/unixodbc-install/ cmake -G "Unix Makefiles" -DWITH_UNIXODBC=1 -DMYSQL_INCLUDE_DIR=/home/philips/bzr/maria-5.3/include make results in: /home/philips/odbc/mysql-connector-odbc-5.1.9/util/odbcinstw.c:116: error: conflicting types for ‘SQLGetPrivateProfileStringW’ /home/philips/odbc/mysql-connector-odbc-5.1.9/../unixodbc-install/include/odbcinst.h:340: note: previous declaration of ‘SQLGetPrivateProfileStringW’ was here /
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 720131

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 720131
            Hide
            elenst Elena Stepanova added a comment -

            Filed 2 bugs with reasons why the odbc connector doesn't compile with MariaDB 5.3: MDEV-4147, MDEV-4148; but couldn't reproduce the exact error described above, maybe it was caused by misconfiguration, e.g. different versions of include files and libraries (since the cmake command line only contains include dir, but not lib dir).

            Show
            elenst Elena Stepanova added a comment - Filed 2 bugs with reasons why the odbc connector doesn't compile with MariaDB 5.3: MDEV-4147 , MDEV-4148 ; but couldn't reproduce the exact error described above, maybe it was caused by misconfiguration, e.g. different versions of include files and libraries (since the cmake command line only contains include dir, but not lib dir).

              People

              • Assignee:
                Unassigned
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: