Error Installing Qt 4.2.2 opensource on Mac OS X
I get the following errors when I try to run "make" on the qt 4.2.2-opensource files for mac osx 10.4.8:
Code:
ld: Undefined symbols:
__ZN22QSystemTrayIconPrivate10remove_sysEv
__ZN22QSystemTrayIconPrivate11install_sysEv
__ZN22QSystemTrayIconPrivate14updateIcon_sysEv
__ZN22QSystemTrayIconPrivate14updateMenu_sysEv
__ZN22QSystemTrayIconPrivate15showMessage_sysERK7QStringS2_N15QSystemTrayIcon11MessageIconEi
__ZN22QSystemTrayIconPrivate17updateToolTip_sysEv
__ZN22QSystemTrayIconPrivate25isSystemTrayAvailable_sysEv
/usr/bin/libtool: internal link edit command failed
make[3]: *** [../../lib/QtGui.framework/QtGui_debug] Error 1
make[2]: *** [debug-install] Error 2
make[1]: *** [sub-gui-install_subtargets] Error 2
make: *** [sub-src-install_subtargets-ordered] Error 2
any ideas? It's really impossible to search for os x problems on the forum, b/c the words are too short... thanks for the help.
Re: Error Installing Qt 4.2.2 opensource on Mac OS X
This linking error doesn't help much... If it is the only one happening (no compile error at all) it is impossible to explain and cleaning the concerned files (moc and objects related to QSystemTrayIcon) and then trying to rebuild is the only solution...
Re: Error Installing Qt 4.2.2 opensource on Mac OS X
I just tried it all over again, but this time with a -universal flag on the configure command, and i get this error:
Code:
ld: Undefined symbols:
__ZN22QSystemTrayIconPrivate10remove_sysEv
__ZN22QSystemTrayIconPrivate11install_sysEv
__ZN22QSystemTrayIconPrivate14updateIcon_sysEv
__ZN22QSystemTrayIconPrivate14updateMenu_sysEv
__ZN22QSystemTrayIconPrivate15showMessage_sysERK7QStringS2_N15QSystemTrayIcon11MessageIconEi
__ZN22QSystemTrayIconPrivate17updateToolTip_sysEv
__ZN22QSystemTrayIconPrivate25isSystemTrayAvailable_sysEv
/usr/bin/libtool: internal link edit command failed
ld: Undefined symbols:
__ZN22QSystemTrayIconPrivate10remove_sysEv
__ZN22QSystemTrayIconPrivate11install_sysEv
__ZN22QSystemTrayIconPrivate14updateIcon_sysEv
__ZN22QSystemTrayIconPrivate14updateMenu_sysEv
__ZN22QSystemTrayIconPrivate15showMessage_sysERK7QStringS2_N15QSystemTrayIcon11MessageIconEi
__ZN22QSystemTrayIconPrivate17updateToolTip_sysEv
__ZN22QSystemTrayIconPrivate25isSystemTrayAvailable_sysEv
/usr/bin/libtool: internal link edit command failed
lipo: can't figure out the architecture type of: /var/tmp//cc4fWLzg.out
make[3]: *** [../../lib/QtGui.framework/QtGui_debug] Error 1
make[2]: *** [debug-all] Error 2
make[1]: *** [sub-gui-make_default] Error 2
make: *** [sub-src-make_default-ordered] Error 2
Re: Error Installing Qt 4.2.2 opensource on Mac OS X
Quote:
Originally Posted by
dvmorris
I just tried it all over again, but this time with a
make[2]: *** [debug-all] Error 2
make[1]: *** [sub-gui-make_default] Error 2
make: *** [sub-src-make_default-ordered] Error 2
[/code]
Is this on Mac intel or PPC archi ? ...
and if you use xcode 2.2 the compile process on Intel or PPC no give problem....
i suppose your sdk /Developer/SDKs/ option on configure is mistake ... but i dont see.....