On Sat, Jun 02, 2007 at 06:39:51PM +0200, Marek Holly wrote: > Hi, > > I am trying to build psi but I get following error: > > c++ -c -pipe -Wall -W -O2 -fno-strict-aliasing -pipe -march=pentium-m > -DHAVE_XSS -DHAVE_CONFIG -DXMPP_TEST -DQT_NO_DEBUG -DQT_THREAD_SUPPORT > -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. > -I../../../../../../local/include/plugins/qca -I../cutestuff/util > -I../cutestuff/network -Itools/trayicon -Itools/idle -Itools/systemwatch > -Itools/mac_dock -Itools/zip -Itools/dirwatch -Itools/openpgp > -Itools/globalaccel -Itools/advwidget -I../iris/libidn -I../iris/include > -I../iris/xmpp-core -I../iris/xmpp-im -I../iris/jabber -I../libpsi/iconset > -I../libpsi/psiwidgets -I../libpsi/psipng -I../../../../../../local/include > -I/usr/local/include -I../../../../../../local/include -I.ui/ -I. -Ioptions > -I.moc/ -o .obj/ui_profilenew.o .ui/ui_profilenew.cpp > .ui/ui_profilenew.cpp: In constructor 'ProfileNewUI::ProfileNewUI(QWidget*, > const char*, bool, uint)': > .ui/ui_profilenew.cpp:39: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:40: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:40: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:41: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:42: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:43: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:44: error: no matching function for call to > 'QHBoxLayout::addWidget(PsiTextView*&)' > ../../../../../../local/include/qlayout.h:386: note: candidates are: void > QBoxLayout::addWidget(QWidget*, int, int) > .ui/ui_profilenew.cpp:103: error: no matching function for call to > 'ProfileNewUI::setTabOrder(QCheckBox*&, PsiTextView*&)' > ../../../../../../local/include/qwidget.h:309: note: candidates are: static > void > QWidget::setTabOrder(QWidget*, QWidget*) > .ui/ui_profilenew.cpp: In member function 'virtual void > ProfileNewUI::languageChange()': > .ui/ui_profilenew.cpp:121: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > *** Error code 1 > > Stop in /usr/ports/net-im/psi/work/psi-0.10/src. > *** Error code 1 > > Stop in /usr/ports/net-im/psi/work/psi-0.10. > *** Error code 1 > > > $ uname -a > FreeBSD d610.network.home 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sat Jun 2 > 16:04:21 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL i386 > > Any ideas what cause it?
Looks like it needs to be fixed to compile with gcc 4. Talk to the authors about their plans to do this. Kris _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
