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

XCode 4.3 build failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: 4.8.0, 4.8.5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      OSX Lion, XCode 4.3

      Description

      When trying to build 4.8.0 or the current 4.8 branch tip the build fails with the following error message:

      cd corewlan/ && make -f Makefile 
      make -f Makefile.Debug all
      rm -f libqcorewlanbearer_debug.dylib
      g++ -headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform//Developer/SDKs/MacOSX10.7.sdk -single_module -dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64 -mmacosx-version-min=10.5 -o libqcorewlanbearer_debug.dylib .obj/debug-shared/qcorewlanengine.o .obj/debug-shared/main.o .obj/debug-shared/qnetworksession_impl.o .obj/debug-shared/moc_qcorewlanengine.o .obj/debug-shared/moc_qnetworksession_impl.o .obj/debug-shared/moc_qbearerengine_impl.o  -F/usr/local/qt/4.8.0/codereview/lib -L/usr/local/qt/4.8.0/codereview/lib -framework Foundation -framework SystemConfiguration -framework QtNetwork -L/usr/local/qt/4.8.0/codereview/lib -F/usr/local/qt/4.8.0/codereview/lib -framework QtCore  
      Undefined symbols for architecture x86_64:
        "_kCWPowerDidChangeNotification", referenced from:
            -[QNSListener init] in qcorewlanengine.o
        "_kCWAssocKey8021XProfile", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
        "_kCWScanKeySSID", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
        "_kCWScanKeyRestTime", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
            QScanThread::run()      in qcorewlanengine.o
        "_kCWScanKeyScanType", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
            QScanThread::run()      in qcorewlanengine.o
        "_kCWScanKeyMerge", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
            QScanThread::run()      in qcorewlanengine.o
        "_SecKeychainSearchCreateFromAttributes", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
        "_SecKeychainSearchCopyNext", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
        "_SecKeychainItemCopyContent", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
        "_SecKeychainItemFreeContent", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
        "_kCWAssocKeyPassphrase", referenced from:
            QCoreWlanEngine::connectToId(QString const&)  in qcorewlanengine.o
        "_OBJC_CLASS_$_CWInterface", referenced from:
            objc-class-ref in qcorewlanengine.o
        "_OBJC_CLASS_$_CW8021XProfile", referenced from:
            objc-class-ref in qcorewlanengine.o
      ld: symbol(s) not found for architecture x86_64
      collect2: ld returned 1 exit status
      

      commenting out "corewlan" from bearer.pro makes the build continue.

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-24361
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
              Reporter:
              davidf David Forstenlechner
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes