PDA

View Full Version : Error Installing Qt 4.2.2 opensource on Mac OS X



dvmorris
28th February 2007, 08:11
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:



ld: Undefined symbols:
__ZN22QSystemTrayIconPrivate10remove_sysEv
__ZN22QSystemTrayIconPrivate11install_sysEv
__ZN22QSystemTrayIconPrivate14updateIcon_sysEv
__ZN22QSystemTrayIconPrivate14updateMenu_sysEv
__ZN22QSystemTrayIconPrivate15showMessage_sysERK7Q StringS2_N15QSystemTrayIcon11MessageIconEi
__ZN22QSystemTrayIconPrivate17updateToolTip_sysEv
__ZN22QSystemTrayIconPrivate25isSystemTrayAvailabl e_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.

fullmetalcoder
28th February 2007, 18:46
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...

dvmorris
5th March 2007, 09:30
I just tried it all over again, but this time with a -universal flag on the configure command, and i get this error:



ld: Undefined symbols:
__ZN22QSystemTrayIconPrivate10remove_sysEv
__ZN22QSystemTrayIconPrivate11install_sysEv
__ZN22QSystemTrayIconPrivate14updateIcon_sysEv
__ZN22QSystemTrayIconPrivate14updateMenu_sysEv
__ZN22QSystemTrayIconPrivate15showMessage_sysERK7Q StringS2_N15QSystemTrayIcon11MessageIconEi
__ZN22QSystemTrayIconPrivate17updateToolTip_sysEv
__ZN22QSystemTrayIconPrivate25isSystemTrayAvailabl e_sysEv
/usr/bin/libtool: internal link edit command failed
ld: Undefined symbols:
__ZN22QSystemTrayIconPrivate10remove_sysEv
__ZN22QSystemTrayIconPrivate11install_sysEv
__ZN22QSystemTrayIconPrivate14updateIcon_sysEv
__ZN22QSystemTrayIconPrivate14updateMenu_sysEv
__ZN22QSystemTrayIconPrivate15showMessage_sysERK7Q StringS2_N15QSystemTrayIcon11MessageIconEi
__ZN22QSystemTrayIconPrivate17updateToolTip_sysEv
__ZN22QSystemTrayIconPrivate25isSystemTrayAvailabl e_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

patrik08
7th March 2007, 21:09
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.....