Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2007 12:54:21 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        shaun@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Re: net-im/psi build fails on CURRENT
Message-ID:  <20070602165421.GA3903@rot13.obsecurity.org>
In-Reply-To: <20070602163950.GA30282@d610.network.home>
References:  <20070602163950.GA30282@d610.network.home>

next in thread | previous in thread | raw e-mail | index | archive | help
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     marko@d610.network.home:/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070602165421.GA3903>