qt3-mac 3.3.7 build failed (while making libqtwidgets.dylib)

Takashi Nishigaya takashi.nishigaya at nifty.com
Thu Feb 15 22:13:27 PST 2007


Hi,

When trying to build qt3-mac 3.3.7 on MacBook with Xcode 2.4.1, I got
the following error:

---------------------------------------------------------------
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_
sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.7"
&& QMAKESPEC='' QTDIR='' D
YLD_LIBRARY_PATH="/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupd
ate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.7/lib" make symlinks
src-qmake src-moc sub-src sub-tools" returned err
or 2
Command output: ../../../../include/qaccessible.h:232: warning:
'struct QAccessibleInterface' has virtual functions
 but non-virtual destructor
../../../../include/qaccessible.h:266: warning: 'struct
QAccessibleFactoryInterface' has virtual functions but non-
virtual destructor
main.cpp:9: warning: 'class AccessibleFactory' has virtual functions
but non-virtual destructor
c++ -c -pipe -I/opt/local/include -Wall -W -Os -fPIC
-DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
-I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync
.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.7/mkspecs/macx-g++
-I. -I../../../../inclu
de -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Vers
ions/A/Headers -I.moc/release-shared-mt/ -o
.obj/release-shared-mt/qaccessiblewidget.o qaccessiblewidget.cpp
../../../../include/qaccessible.h:232: warning: 'struct
QAccessibleInterface' has virtual functions but non-virtual
 destructor
../../../../include/qaccessible.h:266: warning: 'struct
QAccessibleFactoryInterface' has virtual functions but non-
virtual destructor
c++ -c -pipe -I/opt/local/include -Wall -W -Os -fPIC
-DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
-I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync
.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.7/mkspecs/macx-g++
-I. -I../../../../inclu
de -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Vers
ions/A/Headers -I.moc/release-shared-mt/ -o
.obj/release-shared-mt/qaccessiblemenu.o qaccessiblemenu.cpp
../../../../include/qaccessible.h:232: warning: 'struct
QAccessibleInterface' has virtual functions but non-virtual
 destructor
../../../../include/qaccessible.h:266: warning: 'struct
QAccessibleFactoryInterface' has virtual functions but non-
virtual destructor
qaccessiblemenu.cpp: In member function 'virtual QString
QAccessiblePopup::text(QAccessible::Text, int) const':
qaccessiblemenu.cpp:80: warning: 'id' may be used uninitialized in this function
test -d ../../../accessible/ || mkdir -p ../../../accessible/
rm -f libqtwidgets.dylib
c++ -headerpad_max_install_names -bundle -o libqtwidgets.dylib
.obj/release-shared-mt/main.o .obj/release-shared-mt
/qaccessiblewidget.o .obj/release-shared-mt/qaccessiblemenu.o
-L/opt/local/lib -L/opt/local/var/db/dports/build/_
opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/qt-mac-free-3.3.7/lib
 -lqt-mt -lz -framework OpenGL -framework AGL
/usr/bin/ld: warning -prebind has no effect with -bundle
/usr/bin/ld: Undefined symbols:
QAccessible::queryAccessibleInterface(QObject*, QAccessibleInterface**)
QAccessibleObject::queryInterface(QUuid const&, QUnknownInterface**)
QAccessibleObject::QAccessibleObject(QObject*)
QAccessibleObject::~QAccessibleObject()
QAccessibleObject::object() const
QAccessibleObject::isValid() const
typeinfo for QAccessibleObject
non-virtual thunk to QAccessibleObject::queryInterface(QUuid const&,
QUnknownInterface**)
non-virtual thunk to QAccessibleObject::isValid() const
collect2: ld returned 1 exit status
make[3]: *** [../../../accessible/libqtwidgets.dylib] Error 1
make[2]: *** [sub-widgets] Error 2
make[1]: *** [sub-accessible] Error 2
make: *** [sub-plugins] Error 2

Warning: the following items did not execute (for qt3-mac):
com.apple.activate com.apple.build com.apple.destroot c
om.apple.archive com.apple.install
Error: Status 1 encountered during processing.
---------------------------------------------------------------

How do I fix this problem?

Thank you,
Takashi Nishigaya



More information about the macports-users mailing list