Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33714

undefined reference in qtbase/src/sql

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0 RC1
    • Component/s: Build System, SQL Support
    • Labels:
      None
    • Environment:
      Ubuntu 12.04 64 bit
    • Commits:
      c0264050938c04723f7dc9295ef87cf41ab7a8ae,67c9b5ad9f32bc0ef89a34f01b1f0602a4869865

      Description

      I checked out acd97fec50d85bc9c82ea5ab49072acf992a0d0b from dev, which is 16a52882e7b64bfa962fec365a0d1b341d038f39 from qtbase,
      configured with

      ./configure -developer-build -opensource -nomake examples -nomake tests -no-gtkstyle
      

      and make gives me:

      g++ -Wl,--no-undefined -Wl,-rpath,/home/rob/dev/bin/qt-5-stable/qtbase/lib -shared -o libqsqlmysql.so .obj/debug-shared/main.o .obj/debug-shared/qsql_mysql.o .obj/debug-shared/moc_qsql_mysql_p.o  -L/usr/lib/x86_64-linux-gnu -lmysqlclient_r -lz -lm -ldl -L/home/rob/dev/bin/qt-5-stable/qtbase/lib -lQt5Sql -lQt5Core -lpthread  
      .obj/debug-shared/qsql_mysql.o: In function `QMYSQLDriver::QMYSQLDriver(QObject*)':
      /home/rob/dev/src/qt-5-stable/qtbase/src/sql/drivers/mysql/qsql_mysql.cpp:1118: undefined reference to `QSqlDriver::QSqlDriver(QSqlDriverPrivate&, QObject*)'
      .obj/debug-shared/qsql_mysql.o: In function `QMYSQLDriver::QMYSQLDriver(st_mysql*, QObject*)':
      /home/rob/dev/src/qt-5-stable/qtbase/src/sql/drivers/mysql/qsql_mysql.cpp:1130: undefined reference to `QSqlDriver::QSqlDriver(QSqlDriverPrivate&, QObject*)'
      

        Attachments

        1. configure.txt
          106 kB
        2. make.txt
          1.91 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            buddenha Oswald Buddenhagen
            Reporter:
            rlohning Robert Löhning
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes