[MacPorts] #30536: qt4-mac: Undefined symbols _kCWPowerDidChangeNotification etc (was: Qt4 linking error under OSX Lion)
MacPorts
noreply at macports.org
Tue Aug 2 00:32:30 PDT 2011
#30536: qt4-mac: Undefined symbols _kCWPowerDidChangeNotification etc
-----------------------------+----------------------------------------------
Reporter: alexey@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.0
Keywords: lion | Port: qt4-mac
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):
* cc: michaelld@… (removed)
* owner: macports-tickets@… => michaelld@…
* keywords: => lion
* port: => qt4-mac
Old description:
> Qt4 fails to link under OSX Lion:
>
> :info:build /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names
> -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.7.sdk
> -single_module -dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.7
> -Xarch_x86_64 -mmacosx-version-min=10.7 -o libqcorewlanbearer.dylib .obj
> /release-shared/main.o .obj/release-shared/qcorewlanengine.o .obj
> /release-shared/qnetworksession_impl.o .obj/release-
> shared/moc_qcorewlanengine.o .obj/release-
> shared/moc_qnetworksession_impl.o .obj/release-
> shared/moc_qbearerengine_impl.o -framework Foundation -framework
> SystemConfiguration
> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work
> /qt-everywhere-opensource-src-4.7.3/lib -lQtNetwork -lQtCore
> :info:build Undefined symbols for architecture x86_64:
> :info:build "_kCWPowerDidChangeNotification", referenced from:
> :info:build -[QNSListener init] in qcorewlanengine.o
> :info:build "_kCWAssocKey8021XProfile", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build "_kCWScanKeySSID", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build "_kCWScanKeyRestTime", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build QScanThread::run() in qcorewlanengine.o
> :info:build "_kCWScanKeyScanType", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build QScanThread::run() in qcorewlanengine.o
> :info:build "_kCWScanKeyMerge", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build QScanThread::run() in qcorewlanengine.o
> :info:build "_kCWAssocKeyPassphrase", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build "_SecKeychainSearchCreateFromAttributes", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build "_SecKeychainSearchCopyNext", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build "_SecKeychainItemCopyContent", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build "_SecKeychainItemFreeContent", referenced from:
> :info:build QCoreWlanEngine::connectToId(QString const&) in
> qcorewlanengine.o
> :info:build "_OBJC_CLASS_$_CWInterface", referenced from:
> :info:build objc-class-ref in qcorewlanengine.o
> :info:build "_OBJC_CLASS_$_CW8021XProfile", referenced from:
> :info:build objc-class-ref in qcorewlanengine.o
> :info:build ld: symbol(s) not found for architecture x86_64
>
> (full log attached below)
New description:
Qt4 fails to link under OSX Lion:
{{{
:info:build /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names
-arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.7.sdk -single_module
-dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.7 -Xarch_x86_64
-mmacosx-version-min=10.7 -o libqcorewlanbearer.dylib .obj/release-
shared/main.o .obj/release-shared/qcorewlanengine.o .obj/release-
shared/qnetworksession_impl.o .obj/release-shared/moc_qcorewlanengine.o
.obj/release-shared/moc_qnetworksession_impl.o .obj/release-
shared/moc_qbearerengine_impl.o -framework Foundation -framework
SystemConfiguration
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work
/qt-everywhere-opensource-src-4.7.3/lib -lQtNetwork -lQtCore
:info:build Undefined symbols for architecture x86_64:
:info:build "_kCWPowerDidChangeNotification", referenced from:
:info:build -[QNSListener init] in qcorewlanengine.o
:info:build "_kCWAssocKey8021XProfile", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build "_kCWScanKeySSID", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build "_kCWScanKeyRestTime", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build QScanThread::run() in qcorewlanengine.o
:info:build "_kCWScanKeyScanType", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build QScanThread::run() in qcorewlanengine.o
:info:build "_kCWScanKeyMerge", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build QScanThread::run() in qcorewlanengine.o
:info:build "_kCWAssocKeyPassphrase", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build "_SecKeychainSearchCreateFromAttributes", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build "_SecKeychainSearchCopyNext", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build "_SecKeychainItemCopyContent", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build "_SecKeychainItemFreeContent", referenced from:
:info:build QCoreWlanEngine::connectToId(QString const&) in
qcorewlanengine.o
:info:build "_OBJC_CLASS_$_CWInterface", referenced from:
:info:build objc-class-ref in qcorewlanengine.o
:info:build "_OBJC_CLASS_$_CW8021XProfile", referenced from:
:info:build objc-class-ref in qcorewlanengine.o
:info:build ld: symbol(s) not found for architecture x86_64
}}}
(full log attached below)
--
--
Ticket URL: <https://trac.macports.org/ticket/30536#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list