Subject: pkg/23601: gcc3 problems. Can't compile gabber from pkgsrc.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ada@netbsd-fr.org>
List: netbsd-bugs
Date: 11/30/2003 15:09:05
>Number: 23601
>Category: pkg
>Synopsis: gcc3 problems. Can't compile gabber from pkgsrc.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 30 15:10:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Adrien Auzanneau
>Release: NetBSD 1.6ZD
>Organization:
>Environment:
NetBSD noplug 1.6ZD NetBSD 1.6ZD (thinkpad - t30) #8: Fri Nov 7 11:56:09 CET 2003 root@noplug:/usr/src/sys/arch/i386/compile/NOPLUG i386
>Description:
I can't install gabber from pkgsrc.
> In file included from BaseGabberWindow.cc:22:
> GladeHelper.hh: In function `T* getWidgetPtr(GladeXML*, const char*)
> [with T =
> Gtk::Button]':
> BaseGabberWindow.hh:74: instantiated from here
> GladeHelper.hh:33: error: `endl' undeclared (first use this function)
> GladeHelper.hh:33: error: (Each undeclared identifier is reported
> only once for
> each function it appears in.)
> GladeHelper.hh:33: error: `cerr' undeclared (first use this function)
> gmake[2]: *** [BaseGabberWindow.o] Error 1
> gmake[2]: Leaving directory
> `/usr/pkgsrc/chat/gabber/work/gabber-0.8.8/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/pkgsrc/chat/gabber/work/gabber-0.8.8'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop.
> make: stopped in /usr/pkgsrc/chat/gabber
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/chat/gabber
>How-To-Repeat:
>Fix:
From jmmv@netbsd.org :
"This looks like gcc3 problems. That is, the code was written avoiding
C++ standards (which gcc3 enforces, but gcc2 doesn't).
Adding a "using namespace std;" to affected files should fix this problem
(though others may appear)."
>Release-Note:
>Audit-Trail:
>Unformatted: