- 
    Bug 
- 
    Resolution: Out of scope
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    4.8.0, 4.8.5
- 
    None
- 
    OSX Lion, XCode 4.3
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.
- relates to
- 
                    QTBUG-24663 XCode 4.3 build fails -         
- Closed
 
-         
| For Gerrit Dashboard: QTBUG-24361 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 83850,5 | Fix MacOS build with SDK 10.7, XCode 4.3 and above | 4.8 | qt/qt | Status: MERGED | +2 | 0 |