Subject: kdeedu3.2.1 breaks when building kvoctrain
To: None <tech-pkg@netbsd.org>
From: Mark Kirby <mark@coris.org.uk>
List: tech-pkg
Date: 03/14/2004 11:29:28
Hi,

I have NetBSD 1.6zk i386.

When i build kdeedu3.2.1 it breaks when trying to make in 
kdeedu-3.2.1/kvoctrain/kvoctrain/kvt-core.

bellow is some of the errors (it goes on for over 200 lines on the console so 
i trimmed it).

Does anyone have any ideas?

thanks

Mark

----
In file included from /usr/include/g++/iostream.h:31,
                 from /usr/include/g++/fstream.h:30,
                 from kvoctraindoc.cpp:47:
/usr/include/g++/streambuf.h:87: error: syntax error before `*' token
/usr/include/g++/streambuf.h:88: error: syntax error before `*' token
/usr/include/g++/streambuf.h:179: error: syntax error before `*' token
/usr/include/g++/streambuf.h:180: error: ISO C++ forbids defining types within
   return type
/usr/include/g++/streambuf.h:180: error: syntax error before `*' token
/usr/include/g++/streambuf.h:180: error: `val' was not declared in this scope
/usr/include/g++/streambuf.h:180: error: syntax error before `return'
/usr/include/g++/streambuf.h:183: error: non-member function `short int 
fill()'
   cannot have `const' method qualifier
/usr/include/g++/streambuf.h: In function `short int fill()':
/usr/include/g++/streambuf.h:183: error: `_fill' undeclared (first use this
   function)
/usr/include/g++/streambuf.h:183: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
/usr/include/g++/streambuf.h: At global scope:
/usr/include/g++/streambuf.h:186: error: syntax error before `)' token
/usr/include/g++/streambuf.h:187: error: `fmtflags' was not declared in this
   scope
/usr/include/g++/streambuf.h:187: error: syntax error before `)' token
/usr/include/g++/streambuf.h:188: error: `new_val' was not declared in this
   scope
/usr/include/g++/streambuf.h:188: error: syntax error before `return'
/usr/include/g++/streambuf.h:189: error: non-member function `int precision()'
   cannot have `const' method qualifier
/usr/include/g++/streambuf.h: In function `int precision()':
/usr/include/g++/streambuf.h:189: error: `_precision' undeclared (first use
   this function)
/usr/include/g++/streambuf.h: At global scope:
/usr/include/g++/streambuf.h:193: error: `fmtflags' was not declared in this
   scope
/usr/include/g++/streambuf.h:193: error: syntax error before `)' token
/usr/include/g++/streambuf.h:195: error: syntax error before `|=' token
/usr/include/g++/streambuf.h:196: error: `fmtflags' was not declared in this
   scope
/usr/include/g++/streambuf.h:196: error: syntax error before `,' token
/usr/include/g++/streambuf.h:198: error: redefinition of `int _flags'
/usr/include/g++/streambuf.h:188: error: `int _flags' previously defined here
/usr/include/g++/streambuf.h:198: error: `mask' was not declared in this scope
/usr/include/g++/streambuf.h:198: error: `val' was not declared in this scope
/usr/include/g++/streambuf.h:198: error: `mask' was not declared in this scope
/usr/include/g++/streambuf.h:198: error: syntax error before `return'
/usr/include/g++/streambuf.h:199: error: `fmtflags' was not declared in this 
scope