g++ kompilieren schlägt fehl

B

beng

Jungspund
Hallöchen,

ich habe mir soeben Knoppix-Live-OS auf dem USB-Stick installiert und bin total erstaunt, dass das so einfach geklappt hat. Ich habe dann das Paket g++ geladen und installiert.

Allerdings sagt er mir beim kompilieren eines einfachen PRGM (welches gehen muss) folgend endloses:

Code:
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/cwchar:49,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/postypes.h:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iosfwd:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:44,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/cstddef:48:25: error: stddef.h: Datei oder Verzeichnis nicht gefunden
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/cwchar:49,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/postypes.h:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iosfwd:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:44,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/cstddef:55: error: '::ptrdiff_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/cstddef:56: error: '::size_t' has not been declared
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iosfwd:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:44,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/postypes.h:77: error: 'ptrdiff_t' does not name a type
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_algobase.h:72,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:46,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:46,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:108: error: expected type-specifier before 'ptrdiff_t'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:108: error: expected '>' before 'ptrdiff_t'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:119: error: '_Pointer' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:121: error: '_Reference' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:145: error: 'ptrdiff_t' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:155: error: 'ptrdiff_t' does not name a type
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_algobase.h:74,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:46,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:46,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator.h:100: error: wrong number of template arguments (5, should be 3)
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:110: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator.h:387: error: wrong number of template arguments (5, should be 3)
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:110: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator.h:471: error: wrong number of template arguments (5, should be 3)
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:110: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator.h:558: error: wrong number of template arguments (5, should be 3)
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:110: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:46,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:46,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_move_backward<_IsMove, true, std::random_access_iterator_tag>::__copy_move_b(const _Tp*, const _Tp*, _Tp*)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_algobase.h:571: error: 'ptrdiff_t' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_algobase.h:572: error: '_Num' was not declared in this scope
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:46,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:110: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:112: error: 'size_t' in namespace 'std' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:116: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:119: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:122: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:125: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:151: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h: In static member function 'static int __gnu_cxx::char_traits<_CharT>::compare(const _CharT*, const _CharT*, int)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:153: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:153: error: expected `;' before '__i'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:153: error: '__i' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:163: error: expected constructor, destructor, or type conversion before 'char_traits'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:175: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h: In static member function 'static const typename __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::find(const _CharT*, int, const _CharT&)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:177: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:177: error: expected `;' before '__i'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:177: error: '__i' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:186: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:195: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/char_traits.h:205: error: 'std::size_t' has not been declared
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ext/new_allocator.h:37,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/i486-linux-gnu/bits/c++allocator.h:39,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/allocator.h:53,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/string:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_classes.h:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:95: error: declaration of 'operator new' as non-function
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:95: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:96: error: declaration of 'operator new []' as non-function
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:96: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:99: error: declaration of 'operator new' as non-function
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:99: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:99: error: expected primary-expression before 'const'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:100: error: declaration of 'operator new []' as non-function
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:100: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:100: error: expected primary-expression before 'const'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:105: error: declaration of 'operator new' as non-function
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:105: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:105: error: expected primary-expression before 'void'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:106: error: declaration of 'operator new []' as non-function
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:106: error: 'size_t' is not a member of 'std'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/new:106: error: expected primary-expression before 'void'
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/i486-linux-gnu/bits/c++allocator.h:39,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/allocator.h:53,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/string:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_classes.h:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ext/new_allocator.h:43: error: 'std::size_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ext/new_allocator.h:44: error: 'std::ptrdiff_t' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ext/new_allocator.h:58: error: 'ptrdiff_t' does not name a type
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/string:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_classes.h:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/allocator.h:66: error: 'ptrdiff_t' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/allocator.h:87: error: 'ptrdiff_t' does not name a type
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/string:51,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_classes.h:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:48: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h: In function 'void std::__ostream_write(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:53: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:54: error: '__put' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:60: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:80: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h: In function 'std::basic_ostream<_CharT, _Traits>& std::__ostream_insert(std::basic_ostream<_CharT, _Traits>&, const _CharT*, int)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:90: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:91: error: '__w' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:122: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream_insert.h:126: error: 'streamsize' has not been declared
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/string:61,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_classes.h:47,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, std::basic_string<_CharT, _Traits, _Alloc>&)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.tcc:993: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.tcc:994: error: '__w' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.h: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.h: In instantiation of 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.tcc:1108:   instantiated from here
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.h:119: error: no type named 'difference_type' in 'struct std::allocator<char>'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.h: In instantiation of 'std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.tcc:1123:   instantiated from here
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_string.h:119: error: no type named 'difference_type' in 'struct std::allocator<wchar_t>'
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:48,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:457: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:458: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:617: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:626: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:640: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ios_base.h:649: error: 'streamsize' does not name a type
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:49,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:55: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:146: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:239: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:265: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:338: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:430: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:572: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:629: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:645: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:722: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:789: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:794: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/streambuf:801,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:49,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:49: error: expected constructor, destructor, or type conversion before 'basic_streambuf'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:83: error: expected constructor, destructor, or type conversion before 'basic_streambuf'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:120: error: expected constructor, destructor, or type conversion before '__copy_streambufs_eof'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:143: error: expected initializer before '__copy_streambufs'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:156: error: explicit instantiation of non-template 'int std::streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:157: error: expected `;' before '__copy_streambufs'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:160: error: explicit instantiation of non-template 'int std::streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:161: error: expected `;' before '__copy_streambufs_eof'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:167: error: explicit instantiation of non-template 'int std::streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:168: error: expected `;' before '__copy_streambufs'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:171: error: explicit instantiation of non-template 'int std::streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf.tcc:172: error: expected `;' before '__copy_streambufs_eof'
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.h:55,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_ios.h:44,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:50,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:52: error: wrong number of template arguments (5, should be 3)
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:110: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:205: error: wrong number of template arguments (5, should be 3)
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/stl_iterator_base_types.h:110: error: provided for 'template<class _Category, class _Tp, class _Distance> struct std::iterator'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:267: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(_CharT*, _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:301: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:302: error: '__num' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char::__value, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::__copy_move_a2(const _CharT*, const _CharT*, std::ostreambuf_iterator<_CharT, std::char_traits<_CharT> >)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:313: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:314: error: '__num' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char::__value, _CharT*>::__type std::__copy_move_a2(std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, _CharT*)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:336: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:337: error: '__n' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h: In function 'typename __gnu_cxx::__enable_if<std::__is_char::__value, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::find(std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >, const _CharT2&)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:373: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:373: error: expected `;' before '__n'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/streambuf_iterator.h:374: error: '__n' was not declared in this scope
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_ios.h:44,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:50,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.h: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.h:97: error: expected ',' or '...' before '__newlen'
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_ios.h:44,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:50,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.h:2483: error: 'streamsize' has not been declared
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.h:2635,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/basic_ios.h:44,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ios:50,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:45,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:761: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_int(_OutIter, std::ios_base&, _CharT, _ValueT) const':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:902: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:903: error: '__w' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:903: error: expected type-specifier before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:903: error: expected `>' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:903: error: expected `(' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:903: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:904: error: expected `)' before '{' token
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc: In member function '_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:965: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:982: error: '__prec' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1040: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1040: error: expected `;' before '__off'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1043: error: '__off' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1049: error: '__off' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1057: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1058: error: '__w' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1058: error: expected type-specifier before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1058: error: expected `>' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1058: error: expected `(' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1058: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1059: error: expected `)' before '{' token
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc: In member function 'virtual _OutIter std::num_put<_CharT, _OutIter>::do_put(_OutIter, std::ios_base&, _CharT, bool) const':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1095: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1096: error: '__w' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1096: error: expected type-specifier before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1096: error: expected `>' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1096: error: expected `(' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1096: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1097: error: expected `)' before '{' token
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1194: error: expected ',' or '...' before '__newlen'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc: In static member function 'static void std::__pad<_CharT, _Traits>::_S_pad(std::ios_base&, _CharT, _CharT*, const _CharT*, int)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1197: error: '__newlen' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/locale_facets.tcc:1197: error: '__oldlen' was not declared in this scope
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:291: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:315: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream: In member function 'void std::basic_ostream<_CharT, _Traits>::_M_write(const _CharT*, int)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:293: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:294: error: '__put' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream: In function 'std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:501: error: expected type-specifier before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:501: error: expected `>' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:501: error: expected `(' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:501: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream: In function 'std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:518: error: expected type-specifier before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:518: error: expected `>' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:518: error: expected `(' before 'streamsize'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:518: error: 'streamsize' was not declared in this scope
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/ostream:572,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:45,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream.tcc: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/ostream.tcc:188: error: 'streamsize' has not been declared
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:46,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:83: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:251: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:325: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:336: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:398: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:409: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:436: error: expected ';' before '(' token
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:439: error: expected ';' before '(' token
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:468: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:486: error: 'streamsize' does not name a type
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_streambuf<_CharT, _Traits>*)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:96: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:96: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:96: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream: In destructor 'virtual std::basic_istream<_CharT, _Traits>::~basic_istream()':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:106: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:106: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream: In constructor 'std::basic_istream<_CharT, _Traits>::basic_istream()':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:586: error: class 'std::basic_istream<_CharT, _Traits>' does not have any field named '_M_gcount'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:586: error: there are no arguments to 'streamsize' that depend on a template parameter, so a declaration of 'streamsize' must be available
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:598: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:603: error: 'std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::ignore' is not a static member of 'struct std::basic_istream<char, std::char_traits<char> >'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:603: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:608: error: 'std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::ignore' is not a static member of 'struct std::basic_istream<char, std::char_traits<char> >'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:608: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:608: error: expected primary-expression before '__delim'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:608: error: initializer expression list treated as compound expression
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:614: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:619: error: 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::basic_istream<wchar_t, std::char_traits<wchar_t> >::ignore' is not a static member of 'struct std::basic_istream<wchar_t, std::char_traits<wchar_t> >'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:619: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:624: error: 'std::basic_istream<wchar_t, std::char_traits<wchar_t> >& std::basic_istream<wchar_t, std::char_traits<wchar_t> >::ignore' is not a static member of 'struct std::basic_istream<wchar_t, std::char_traits<wchar_t> >'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:624: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:624: error: expected primary-expression before '__delim'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:624: error: initializer expression list treated as compound expression
In file included from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/istream:836,
                 from /UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/iostream:46,
                 from aufgabe1.cpp:1:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'typename std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::get()':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:195: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(_CharT&)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:229: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:264: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(_CharT*, int, _CharT)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:266: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::get(std::basic_streambuf<_CharT, _Traits>&, _CharT)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:313: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:355: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::getline(_CharT*, int, _CharT)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:357: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore()':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:417: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:448: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static member of 'class std::basic_istream<_CharT, _Traits>'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:448: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:448: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:510: error: 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore' is not a static member of 'class std::basic_istream<_CharT, _Traits>'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:510: error: template definition of non-template 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::ignore'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:510: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:510: error: expected primary-expression before '__delim'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'typename std::basic_istream<_CharT, _Traits>::int_type std::basic_istream<_CharT, _Traits>::peek()':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:578: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:605: error: 'streamsize' has not been declared
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::read(_CharT*, int)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:607: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: At global scope:
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:633: error: expected constructor, destructor, or type conversion before 'basic_istream'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::putback(_CharT)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:670: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In member function 'std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::unget()':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:703: error: '_M_gcount' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc: In function 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&, _CharT2*)':
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:898: error: 'streamsize' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:898: error: expected `;' before '__extracted'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:906: error: expected `;' before '__num'
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:907: error: '__num' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:908: error: 'streamsize' cannot appear in a constant-expression
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:908: error: template argument 1 is invalid
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:916: error: '__extracted' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:916: error: '__num' was not declared in this scope
/UNIONFS/usr/bin/../lib/gcc/../../include/c++/4.3/bits/istream.tcc:941: error: '__extracted' was not declared in this scope

Kann mir jemand helfen?

Gruß
 
Code:
stddef.h: Datei oder Verzeichnis nicht gefunden

Da wird dem Compiler vermutlich nicht der korrekte Include-Path übergeben oder die Datei ist tatsächlich nicht installiert.
 
Kannst Du bitte noch das Programm und den Befehl, den Du zum Kompilieren benutzt hast, angeben? Der langen Fehlermeldung nach wuerde ich vermuten, dass Du den Befehl "gcc" statt "g++" benutzt hast.
 
Der Kompilierbefehl:
Code:
knoppix@Microknoppix:~/Desktop$ g++ aufgabe.cpp -o aufgabeprgm

Das (kleine) Programm:
Code:
#include <iostream>

using namespace std;

int main()
{
	cout << endl;
	cout << "Mein erstes Programm";
	cout << endl;
	
	return 0;
}

EDIT: Ich hoffe, ich habe g++ richtig installiert. Dazu habe ich einfach nach "g++" in der Synaptic Paketverwaltung gesucht, und es mit allen verknüpften Pakten geladen.
 
Kannst Du mal die Ausgabe des Befehls 'mount' schicken?
Die Pfade in der Fehlermeldung beginnen alle mit '/UNIONFS/'. Es sieht fuer mich daher doch nach einem bug in der knoppix-DVD aus.
 
Code:
knoppix@Microknoppix:~$ mount
rootfs on / type rootfs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/sdb1 on /mnt-system type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp850,iocharset=iso8859-1,shortname=winnt,errors=remount-ro)
tmpfs on /ramdisk type tmpfs (rw,relatime,size=1048576k)
/dev/cloop on /KNOPPIX type iso9660 (ro,relatime)
/dev/loop0 on /KNOPPIX-DATA type ext2 (rw,relatime,errors=continue)
unionfs on /UNIONFS type aufs (rw,relatime,si=9fff4920,noplink)
unionfs on /home type aufs (rw,relatime,si=9fff4920,noplink)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /UNIONFS/var/run type tmpfs (rw,relatime,size=10240k)
tmpfs on /UNIONFS/var/lock type tmpfs (rw,relatime,size=10240k)
tmpfs on /UNIONFS/var/log type tmpfs (rw,relatime,size=102400k)
tmpfs on /tmp type tmpfs (rw,relatime,size=1048576k)
udev on /dev type tmpfs (rw,relatime,size=20480k)
tmpfs on /dev/shm type tmpfs (rw,relatime,size=1048576k)
devpts on /dev/pts type devpts (rw,relatime,mode=1777)
knoppix@Microknoppix:~$

Vielleicht hilft es dir das noch: Wenn ich hochfahre und aufgefordert werde das Passwort einzugeben, steht ein paar Zeilen drüber:
Code:
Verwende /mnt-system/KNOPPIX/knoppix-data.aes

Ich wollte aber eh nochmal Linux auf einem anderen USB-Stick installieren und alle Pakete neu installieren, weil der Jetzige zu klein ist. Vielleicht gibt es dann keinen Fehler beim kompilieren.
 
Hallo,

hat denn jemand ne Lösung? Ich habe Linux und g++ nochmal installiert, jedoch genau der gleiche Fehler.
 
Hi,

nur noch mal, damit ich das verstehe: welche Knoppix-Version hast du wie "auf dem USB-Stick installiert"? Die Verweise auf /UNIONFS/... in den Fehlermeldungen deuten für mich doch eher darauf hin, dass du das Ganze nicht komplett installiert hast, sondern immer noch von einem Live-System bootest (DVD oder USB) und mit einem permanenten Verzeichnis irgendwo anders (Festplatte oder USB?)arbeitest.

Und zweitens, mit welchem Paket / welchen Paketen hast du den g++-Compiler installiert? Habe hier kein Knoppix greifbar, aber bei z.B Ubuntu bzw. Debian gibt es da ein "libc6-dev" package, das u.a. das gesuchte "stddef.h"-Include-File enthalten sollte, oder alternativ, ein "build-essential" Überpaket. Evtl. solltest du einfach mal versuchen, das mit "sudo apt-get install build-essential" (oder "apt-get install libc6-dev") auf deine Kiste zu bringen.

Gruss,
A.
 
Hallo floyd,

Also: Zuerst habe ich Knoppix Version 6.2.1. von CD aus gestartet. Dann habe ich unter Einstellungen "Knoopix auf Flash-Disk Installiert". Nun boote ich immer von USB-Stick.

Nun zu g++: Ich habe einfach in der Paketverwaltung nach "g++" gesucht, und das Paket installiert.

Gruß
 
Existiert die Datei /UNIONFS/usr/include/linux/stddef.h?

Und schicke bitte mal die Ausgabe des Befehls 'gcc -v'!
 
Code:
root@Microknoppix:/home/knoppix# /UNIONFS/usr/include/linux/stddef.h
bash: /UNIONFS/usr/include/linux/stddef.h: Keine Berechtigung


Code:
root@Microknoppix:/home/knoppix# /UNIONFS/usr/include/linux/stddef.h
bash: /UNIONFS/usr/include/linux/stddef.h: Keine Berechtigung
 
*unkonstruktiv sei*

Du könntest auch einfach grml ausprobieren. Das hat (in der "vollen" Version, also nicht beim medium- bzw. small-iso) build-essentials und g++ bereits installiert.
vorhandene Software auf grml
grml vom usb-Stick booten

Startet allerdings per default keinen X-Server, wenn du X brauchst gehst du einfach nachm booten per strg-alt-f4 auf eine nicht-root Konsole und gibts dort (zum Beispiel)
Code:
grml-x wm-ng
ein. Schau auch hier. Ich glaub man kann auch einfach "grml-x help" machen.
Dann wiederum, wer braucht bitte zum c++ Programmieren einen X-Server?
Nobody, that's who.

(Mal von Graphikprogrammierung abgesehen, aber ich denke das ist hier nicht der Fall.)
 
Code:
root@Microknoppix:/home/knoppix# /UNIONFS/usr/include/linux/stddef.h
bash: /UNIONFS/usr/include/linux/stddef.h: Keine Berechtigung


Code:
root@Microknoppix:/home/knoppix# /UNIONFS/usr/include/linux/stddef.h
bash: /UNIONFS/usr/include/linux/stddef.h: Keine Berechtigung

Das zeigt zumindest, dass die Dateien existieren. Die Fehlermeldungen sagen lediglich, dass Du sie nicht ausfuehren kannst, was bei einer Header-Datei auch ganz richtig so ist.

gcc hat ein paar Suchpfade fest einprogrammiert. Normalerweise fangen die nicht mit "/UNIONFS" an. Es gibt eine Option von gcc, wie diese Pfade angezeigt werden koennen, die weiss ich allerdings nicht auswendig (sowas wie 'gcc -v' oder vielleicht 'gcc -vv'. Ich vermute, dass bei der Installation etwas schief gelaufen ist oder dass es sich um einen BUG auf der KNOPPIX-DVD handelt.
 

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

X startet nichtmehr

Shellskript - Fehler in Cron

Akonadi startet nicht mehr

Zurück
Oben