g++ Troubles

Ron Hall white_flag_03@hotmail.com
Mon Feb 21 08:27:00 GMT 2005


Sir/Madam:

My research into the issue described below is far from exhaustive but has 
consumed an unreasonable amount of my time.  I forward it for your 
consideration.

Many thx,

GES


OS FC3
Kernel kernel-2.6.9-1.667
gcc rpms  compat-gcc-8-3.3.4.2
compat-gcc-c++-8-3.3.4.2
compat-libstdc++-8-3.3.4.2
compat-libstdc++-devel-8-3.3.4.2
gcc-3.4.2-6.fc3
gcc-c++-3.4.2-6.fc3
libgcc-3.4.2-6.fc3
libstdc++-3.4.2-6.fc3
libstdc++-devel-3.4.2-6.fc3

Attempting to compile the following program:

#include <iostream>
using namespace std;
int main()
{
  cout << "Hello, world!\n";
  return 0;
}

Below is the output that follows preceeded by a specific set of header 
files.  Reading through the errors, those header files are listed as 
missing.  I have been unable to locate them on my media or via remote 
systems:

assert.h
ctype.h
features.h
iconv.h
langinfo.h
libintl.h
limits.h
locale.h
pthread.h
stdint.h
stdio.h
stdlib.h
string.h
time.h
unistd.h
wchar.h
wctype.h

[root@localhost codefiles]# g++ test.cc
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++config.h:35,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:44,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/os_defines.h:39:22: 
features.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:41,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:51:20: 
string.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:41,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:79: 
error: `::memcpy' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:80: 
error: `::memmove' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:81: 
error: `::strcpy' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:82: 
error: `::strncpy' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:83: 
error: `::strcat' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:84: 
error: `::strncat' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:85: 
error: `::memcmp' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:86: 
error: `::strcmp' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:87: 
error: `::strcoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:88: 
error: `::strncmp' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:89: 
error: `::strxfrm' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:90: 
error: `::strcspn' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:91: 
error: `::strspn' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:92: 
error: `::strtok' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:93: 
error: `::memset' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:94: 
error: `::strerror' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:95: 
error: `::strlen' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:97: 
error: `::memchr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring: 
In function `void* std::memchr(void*, int, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:101: 
error: invalid conversion from `const void*' to `void*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:101: 
error:   initializing argument 1 of `void* std::memchr(void*, int, size_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:103: 
error: `::strchr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:109: 
error: `::strpbrk' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:115: 
error: `::strrchr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstring:121: 
error: `::strstr' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:42,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:52:19: 
stdio.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:42,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:99: 
error: `::FILE' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:100: 
error: `::fpos_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:102: 
error: `::clearerr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:103: 
error: `::fclose' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:104: 
error: `::feof' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:105: 
error: `::ferror' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:106: 
error: `::fflush' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:107: 
error: `::fgetc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:108: 
error: `::fgetpos' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:109: 
error: `::fgets' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:110: 
error: `::fopen' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:111: 
error: `::fprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:112: 
error: `::fputc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:113: 
error: `::fputs' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:114: 
error: `::fread' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:115: 
error: `::freopen' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:116: 
error: `::fscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:117: 
error: `::fseek' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:118: 
error: `::fsetpos' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:119: 
error: `::ftell' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:120: 
error: `::fwrite' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:121: 
error: `::getc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:122: 
error: `::getchar' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:123: 
error: `::gets' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:124: 
error: `::perror' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:125: 
error: `::printf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:126: 
error: `::putc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:127: 
error: `::putchar' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:128: 
error: `::puts' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:129: 
error: `::remove' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:130: 
error: `::rename' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:131: 
error: `::rewind' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:132: 
error: `::scanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:133: 
error: `::setbuf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:134: 
error: `::setvbuf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:135: 
error: `::sprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:136: 
error: `::sscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:137: 
error: `::tmpfile' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:138: 
error: `::tmpnam' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:139: 
error: `::ungetc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:140: 
error: `::vfprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:141: 
error: `::vprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:142: 
error: `::vsprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:167: 
error: `::snprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:168: 
error: `::vfscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:169: 
error: `::vscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:170: 
error: `::vsnprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:171: 
error: `::vsscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:177: 
error: `__gnu_cxx::snprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:178: 
error: `__gnu_cxx::vfscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:179: 
error: `__gnu_cxx::vscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:180: 
error: `__gnu_cxx::vsnprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdio:181: 
error: `__gnu_cxx::vsscanf' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:43,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/clocale:49:20: 
locale.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:43,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/clocale:57: 
error: `::lconv' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/clocale:58: 
error: `::setlocale' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/clocale:59: 
error: `::localeconv' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:44:38: 
langinfo.h: No such file or directory
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:45:56: 
iconv.h: No such file or directory
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:46:39: 
libintl.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:61: 
error: `__locale_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:75: 
error: expected `,' or `...' before '&' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h: 
In function `int std::__convert_from_v(char*, int, const char*, _Tv, int)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:77: 
error: `setlocale' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:77: 
error: `LC_ALL' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:77: 
error: (Each undeclared identifier is reported only once for each function 
it appears in.)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:78: 
error: `strlen' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:79: 
error: `strcpy' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:80: 
error: `setlocale' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:84: 
error: `snprintf' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:84: 
error: `__prec' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++locale.h:92: 
error: `setlocale' is not a member of `std'
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr.h:104,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++io.h:37,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:43:21: 
pthread.h: No such file or directory
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:44:20: 
unistd.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr.h:104,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++io.h:37,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:46: 
error: `pthread_key_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:47: 
error: `pthread_once_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:48: 
error: `pthread_mutex_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:49: 
error: `pthread_mutex_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h: 
In function `int __gthread_active_p()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:108: 
error: `pthread_create' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:468: 
error: `__gthread_once' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:468: 
error: `__gthread_once_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:468: 
error: `once' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:468: 
error: `func' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:468: 
error: expected primary-expression before "void"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:469: 
error: initializer expression list treated as compound expression
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:469: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:477: 
error: `__gthread_key_create' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:477: 
error: `__gthread_key_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:477: 
error: `key' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:477: 
error: `dtor' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:477: 
error: expected primary-expression before "void"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:478: 
error: initializer expression list treated as compound expression
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:478: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:483: 
error: `__gthread_key_delete' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:483: 
error: `__gthread_key_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:484: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:489: 
error: `__gthread_getspecific' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:489: 
error: `__gthread_key_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:490: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:495: 
error: `__gthread_setspecific' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:495: 
error: `__gthread_key_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:495: 
error: expected primary-expression before "const"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:496: 
error: initializer expression list treated as compound expression
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:496: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:501: 
error: `__gthread_mutex_lock' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:501: 
error: `__gthread_mutex_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:501: 
error: `mutex' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:502: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:510: 
error: `__gthread_mutex_trylock' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:510: 
error: `__gthread_mutex_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:510: 
error: `mutex' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:511: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:519: 
error: `__gthread_mutex_unlock' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:519: 
error: `__gthread_mutex_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:519: 
error: `mutex' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:520: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:529: 
error: `__gthread_recursive_mutex_init_function' declared as an `inline' 
variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:529: 
error: `__gthread_recursive_mutex_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:529: 
error: `mutex' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:530: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:549: 
error: `__gthread_recursive_mutex_lock' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:549: 
error: `__gthread_recursive_mutex_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:549: 
error: `mutex' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:550: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:555: 
error: `__gthread_recursive_mutex_trylock' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:555: 
error: `__gthread_recursive_mutex_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:555: 
error: `mutex' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:556: 
error: expected `,' or `;' before '{' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:561: 
error: `__gthread_recursive_mutex_unlock' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:561: 
error: `__gthread_recursive_mutex_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:561: 
error: `mutex' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/gthr-default.h:562: 
error: expected `,' or `;' before '{' token
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++io.h:41: 
error: `__gthread_mutex_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/c++io.h:44: 
error: `FILE' does not name a type
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:48,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:49:19: 
ctype.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:48,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:68: 
error: `::isalnum' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:69: 
error: `::isalpha' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:70: 
error: `::iscntrl' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:71: 
error: `::isdigit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:72: 
error: `::isgraph' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:73: 
error: `::islower' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:74: 
error: `::isprint' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:75: 
error: `::ispunct' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:76: 
error: `::isspace' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:77: 
error: `::isupper' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:78: 
error: `::isxdigit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:79: 
error: `::tolower' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cctype:80: 
error: `::toupper' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:50,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:51:18: 
time.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:50,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:66: 
error: `::clock_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:67: 
error: `::time_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:68: 
error: `::tm' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:70: 
error: `::clock' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:71: 
error: `::difftime' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:72: 
error: `::mktime' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:73: 
error: `::time' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:74: 
error: `::asctime' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:75: 
error: `::ctime' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:76: 
error: `::gmtime' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:77: 
error: `::localtime' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ctime:78: 
error: `::strftime' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:50,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:54:19: 
wchar.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:50,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:71: 
error: `::mbstate_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:143: 
error: `::wint_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:145: 
error: `::btowc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:146: 
error: `::fgetwc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:147: 
error: `::fgetws' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:148: 
error: `::fputwc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:149: 
error: `::fputws' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:150: 
error: `::fwide' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:151: 
error: `::fwprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:152: 
error: `::fwscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:153: 
error: `::getwc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:154: 
error: `::getwchar' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:155: 
error: `::mbrlen' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:156: 
error: `::mbrtowc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:157: 
error: `::mbsinit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:158: 
error: `::mbsrtowcs' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:159: 
error: `::putwc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:160: 
error: `::putwchar' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:161: 
error: `::swprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:162: 
error: `::swscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:163: 
error: `::ungetwc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:164: 
error: `::vfwprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:166: 
error: `::vfwscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:168: 
error: `::vswprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:170: 
error: `::vswscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:172: 
error: `::vwprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:174: 
error: `::vwscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:176: 
error: `::wcrtomb' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:177: 
error: `::wcscat' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:178: 
error: `::wcscmp' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:179: 
error: `::wcscoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:180: 
error: `::wcscpy' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:181: 
error: `::wcscspn' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:182: 
error: `::wcsftime' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:183: 
error: `::wcslen' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:184: 
error: `::wcsncat' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:185: 
error: `::wcsncmp' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:186: 
error: `::wcsncpy' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:187: 
error: `::wcsrtombs' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:188: 
error: `::wcsspn' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:189: 
error: `::wcstod' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:191: 
error: `::wcstof' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:193: 
error: `::wcstok' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:194: 
error: `::wcstol' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:195: 
error: `::wcstoul' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:196: 
error: `::wcsxfrm' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:197: 
error: `::wctob' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:198: 
error: `::wmemcmp' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:199: 
error: `::wmemcpy' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:200: 
error: `::wmemmove' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:201: 
error: `::wmemset' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:202: 
error: `::wprintf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:203: 
error: `::wscanf' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:205: 
error: `::wcschr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
In function `wchar_t* std::wcschr(wchar_t*, wchar_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:209: 
error: invalid conversion from `const wchar_t*' to `wchar_t*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:209: 
error:   initializing argument 1 of `wchar_t* std::wcschr(wchar_t*, 
wchar_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:211: 
error: `::wcspbrk' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
In function `wchar_t* std::wcspbrk(wchar_t*, wchar_t*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:215: 
error: invalid conversion from `const wchar_t*' to `wchar_t*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:215: 
error:   initializing argument 1 of `wchar_t* std::wcspbrk(wchar_t*, 
wchar_t*)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:217: 
error: `::wcsrchr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
In function `wchar_t* std::wcsrchr(wchar_t*, wchar_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:221: 
error: invalid conversion from `const wchar_t*' to `wchar_t*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:221: 
error:   initializing argument 1 of `wchar_t* std::wcsrchr(wchar_t*, 
wchar_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:223: 
error: `::wcsstr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
In function `wchar_t* std::wcsstr(wchar_t*, const wchar_t*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:227: 
error: invalid conversion from `const wchar_t*' to `wchar_t*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:227: 
error:   initializing argument 1 of `wchar_t* std::wcsstr(wchar_t*, const 
wchar_t*)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:229: 
error: `::wmemchr' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
In function `wchar_t* std::wmemchr(wchar_t*, wchar_t, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:233: 
error: invalid conversion from `const wchar_t*' to `wchar_t*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:233: 
error:   initializing argument 1 of `wchar_t* std::wmemchr(wchar_t*, 
wchar_t, size_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:249: 
error: `::wcstold' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:258: 
error: `::wcstoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:259: 
error: `::wcstoull' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:265: 
error: `__gnu_cxx::wcstold' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:266: 
error: `__gnu_cxx::wcstoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwchar:267: 
error: `__gnu_cxx::wcstoull' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:50,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:49:35: 
stdint.h: No such file or directoryIn file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iosfwd:50,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:72: 
error: `int64_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:98: 
error: `streamoff' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:116: 
error: expected `)' before "__off"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:120: 
error: `streamoff' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:151: 
error: declaration of `operator+=' as non-function
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:151: 
error: expected `;' before '(' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:161: 
error: expected `;' before "fpos"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:162: 
error: declaration of `operator-=' as non-function
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:162: 
error: expected `;' before '(' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:174: 
error: expected `;' before "fpos"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:175: 
error: `streamoff' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:189: 
error: `streamoff' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:202: 
error: expected `;' before 
"operator"/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:204: 
error: expected `;' before '}' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h: 
In constructor `std::fpos<_StateT>::fpos()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:107: 
error: class `std::fpos<_StateT>' does not have any field named `_M_off'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h: 
In member function `bool std::fpos<_StateT>::operator==(const 
std::fpos<_StateT>&) const':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:139: 
error: `_M_off' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h: 
In member function `bool std::fpos<_StateT>::operator!=(const 
std::fpos<_StateT>&) const':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:144: 
error: `_M_off' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:210: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:210: 
error: template argument 1 is 
invalid/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:212: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/postypes.h:212: 
error: template argument 1 is invalidIn file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/syslimits.h:7,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/limits.h:11,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/climits:49,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:66,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/include/limits.h:122:61: limits.h: No 
such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:67,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:52:20: 
stdlib.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:67,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:86: 
error: `::div_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:87: 
error: `::ldiv_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:89: 
error: `::abort' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:90: 
error: `::abs' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:91: 
error: `::atexit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:92: 
error: `::atof' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:93: 
error: `::atoi' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:94: 
error: `::atol' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:95: 
error: `::bsearch' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:96: 
error: `::calloc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:97: 
error: `::div' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:98: 
error: `::exit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:99: 
error: `::free' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:100: 
error: `::getenv' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:101: 
error: `::labs' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:102: 
error: `::ldiv' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:103: 
error: `::malloc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:105: 
error: `::mblen' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:106: 
error: `::mbstowcs' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:107: 
error: `::mbtowc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:109: 
error: `::qsort' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:110: 
error: `::rand' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:111: 
error: `::realloc' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:112: 
error: `::srand' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:113: 
error: `::strtod' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:114: 
error: `::strtol' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:115: 
error: `::strtoul' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:116: 
error: `::system' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:118: 
error: `::wcstombs' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:119: 
error: `::wctomb' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib: 
In function `long int std::abs(long int)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:123: 
error: `labs' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:125: 
error: `ldiv_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:143: 
error: `::lldiv_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:149: 
error: `::_Exit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:159: 
error: `lldiv_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:163: 
error: `lldiv_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:176: 
error: `::atoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:177: 
error: `::strtoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:178: 
error: `::strtoull' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:180: 
error: `::strtof' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:181: 
error: `::strtold' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:187: 
error: `__gnu_cxx::lldiv_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:189: 
error: `__gnu_cxx::_Exit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:193: 
error: `__gnu_cxx::div' has not been 
declared/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:194: 
error: `__gnu_cxx::lldiv' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:196: 
error: `__gnu_cxx::atoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:197: 
error: `__gnu_cxx::strtof' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:198: 
error: `__gnu_cxx::strtoll' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:199: 
error: `__gnu_cxx::strtoull' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cstdlib:200: 
error: `__gnu_cxx::strtold' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/debug/debug.h:272,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:77,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cassert:48:20: 
assert.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: 
In function `_Tp* std::__copy_trivial(const _Tp*, const _Tp*, _Tp*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:258: 
error: `memmove' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: 
In static member function `static _Tp* std::__copy_backward_dispatch<_Tp*, 
_Tp*, __true_type>::copy(const _Tp*, const _Tp*, _Tp*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:407: 
error: `memmove' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: 
In function `void std::fill(unsigned char*, unsigned char*, const unsigned 
char&)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:556: 
error: `memset' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: 
In function `void std::fill(signed char*, signed char*, const signed 
char&)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:564: 
error: `memset' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: 
In function `void std::fill(char*, char*, const char&)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:572: 
error: `memset' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h: 
In function `bool std::lexicographical_compare(const unsigned char*, const 
unsigned char*, const unsigned char*, const unsigned char*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algobase.h:814: 
error: `memcmp' is not a member of `std'
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:67: 
error: expected `;' before "off_type"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:68: 
error: expected `;' before "state_type"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static typename 
__gnu_cxx::_Char_types<_CharT>::int_type 
__gnu_cxx::char_traits<_CharT>::eof()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:139: 
error: `EOF' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static typename 
__gnu_cxx::char_traits<_CharT>::char_type* 
__gnu_cxx::char_traits<_CharT>::move(_CharT*, const _CharT*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:186: 
error: `memmove' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:237: 
error: `streamoff' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:238: 
error: `mbstate_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static int std::char_traits<char>::compare(const 
char*, const char*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:254: 
error: `memcmp' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static size_t 
std::char_traits<char>::length(const char*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:258: 
error: `strlen' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static const char* 
std::char_traits<char>::find(const char*, size_t, const char&)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:262: 
error: invalid conversion from `const void*' to `void*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:262: 
error:   initializing argument 1 of `void* std::memchr(void*, int, size_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static char* std::char_traits<char>::move(char*, 
const char*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:266: 
error: `memmove' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static char* std::char_traits<char>::copy(char*, 
const char*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:270: 
error: `memcpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static char* 
std::char_traits<char>::assign(char*, size_t, char)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:274: 
error: `memset' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static int std::char_traits<char>::eof()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:291: 
error: `EOF' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:305: 
error: `wint_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:306: 
error: `streamoff' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:308: 
error: `mbstate_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:347: 
error: expected `,' or `...' before '&' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:349: 
error: `int_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:353: 
error: expected `,' or `...' before '&' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:356: 
error: `int_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:359: 
error: `int_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static int 
std::char_traits<wchar_t>::compare(const wchar_t*, const wchar_t*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:324: 
error: `wmemcmp' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static size_t 
std::char_traits<wchar_t>::length(const wchar_t*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:328: 
error: `wcslen' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static const wchar_t* 
std::char_traits<wchar_t>::find(const wchar_t*, size_t, const wchar_t&)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:332: 
error: invalid conversion from `const wchar_t*' to `wchar_t*'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:332: 
error:   initializing argument 1 of `wchar_t* std::wmemchr(wchar_t*, 
wchar_t, size_t)'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static wchar_t* 
std::char_traits<wchar_t>::move(wchar_t*, const wchar_t*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:336: 
error: `wmemmove' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static wchar_t* 
std::char_traits<wchar_t>::copy(wchar_t*, const wchar_t*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:340: 
error: `wmemcpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static wchar_t* 
std::char_traits<wchar_t>::assign(wchar_t*, size_t, wchar_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:344: 
error: `wmemset' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static wchar_t 
std::char_traits<wchar_t>::to_char_type(int)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:347: 
error: `__c' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h: 
In static member function `static bool 
std::char_traits<wchar_t>::eq_int_type(int)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:354: 
error: `__c1' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:354: 
error: `__c2' undeclared (first use this function)
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:48,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/localefwd.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/localefwd.h:124: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/localefwd.h:124: 
error: template argument 3 is invalid
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/localefwd.h:126: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/localefwd.h:126: 
error: template argument 3 is invalid
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/memory:58,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/string:48,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/ios_base.h:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:49,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_uninitialized.h: 
In function `char* std::uninitialized_copy(const char*, const char*, 
char*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_uninitialized.h:119: 
error: `memmove' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_uninitialized.h: 
In function `wchar_t* std::uninitialized_copy(const wchar_t*, const 
wchar_t*, wchar_t*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_uninitialized.h:127: 
error: `memmove' is not a member of `std'
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/algorithm:69,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/string:56,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/ios_base.h:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:49,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h: 
In function `void std::random_shuffle(_RandomAccessIterator, 
_RandomAccessIterator)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/stl_algo.h:1746: 
error: `rand' is not a member of `std'
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/ios_base.h:47,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:49,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:313: 
error: `__gthread_once_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:352: 
error: `__c_locale' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:358: 
error: `__gthread_once_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:383: 
error: `__c_locale' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:384: 
error: `__c_locale' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:386: 
error: `__c_locale' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:390: 
error: `__c_locale' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:394: 
error: `__c_locale' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h: 
In member function `bool std::locale::_Impl::_M_check_same_name()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:538: 
error: `strcmp' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h: 
In constructor `std::locale::locale(const std::locale&, _Facet*)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_classes.h:579: 
error: `strcpy' is not a member of `std'
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:49,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/ios_base.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/ios_base.h:355: 
error: `SEEK_CUR' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/ios_base.h:358: 
error: `SEEK_END' was not declared in this scope
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:781,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:50,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf: 
In instantiation of `std::basic_streambuf<char, std::char_traits<char> >':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/streambuf.tcc:149: 
   instantiated from here
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:136: 
error: no type named `off_type' in `struct std::char_traits<char>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:234: 
error: no type named `off_type' in `struct std::char_traits<char>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:574: 
error: no type named `off_type' in `struct std::char_traits<char>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf: 
In instantiation of `std::basic_streambuf<wchar_t, std::char_traits<wchar_t> 
 >':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/streambuf.tcc:155: 
   instantiated from here
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:134: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:136: 
error: no type named `off_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:234: 
error: no type named `off_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:270: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:288: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:310: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:343: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:368: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:395: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:574: 
error: no type named `off_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:658: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:671: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:695: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/streambuf:738: 
error: no type named `int_type' in `struct std::char_traits<wchar_t>'
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:52:20: 
wctype.h: No such file or directory
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:46,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:81: 
error: `::wint_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:83: 
error: `::wctype_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:84: 
error: `::wctrans_t' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:86: 
error: `::iswalnum' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:87: 
error: `::iswalpha' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:89: 
error: `::iswblank' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:91: 
error: `::iswcntrl' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:92: 
error: `::iswdigit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:93: 
error: `::iswgraph' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:94: 
error: `::iswlower' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:95: 
error: `::iswprint' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:96: 
error: `::iswprint' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:97: 
error: `::iswpunct' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:98: 
error: `::iswspace' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:99: 
error: `::iswupper' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:100: 
error: `::iswxdigit' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:101: 
error: `::iswctype' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:102: 
error: `::towlower' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:103: 
error: `::towupper' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:104: 
error: `::towctrans' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:105: 
error: `::wctrans' has not been declared
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/cwctype:106: 
error: `::wctype' has not been declared
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:66: 
error: expected `,' or `...' before '&' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:72: 
error: expected `,' or `...' before '&' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:77: 
error: expected `,' or `...' before '&' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:82: 
error: expected `,' or `...' before '&' token
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:132,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:45: 
error: `_ISupper' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:46: 
error: `_ISlower' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:47: 
error: `_ISalpha' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:48: 
error: `_ISdigit' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:49: 
error: `_ISxdigit' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:50: 
error: `_ISspace' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:51: 
error: `_ISprint' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:52: 
error: `_ISalpha' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:52: 
error: `_ISdigit' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:52: 
error: `_ISpunct' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:53: 
error: `_IScntrl' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:54: 
error: `_ISpunct' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:55: 
error: `_ISalpha' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/ctype_base.h:55: 
error: `_ISdigit' was not declared in this scope
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:684: 
error: `__c_locale' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:725: 
error: expected `)' before "__cloc"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h: 
In member function `const char* std::ctype<char>::widen(const char*, const 
char*, char*) const':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:896: 
error: `memcpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h: 
In member function `const char* std::ctype<char>::narrow(const char*, const 
char*, char, char*) const':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:959: 
error: `memcpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h: 
In member function `virtual const char* std::ctype<char>::do_widen(const 
char*, const char*, char*) const':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1096: 
error: `memcpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h: 
In member function `virtual const char* std::ctype<char>::do_narrow(const 
char*, const char*, char, char*) const':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1149: 
error: `memcpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1223: 
error: `wctype_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1226: 
error: `__c_locale' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1231: 
error: `wint_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1235: 
error: `__wmask_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1261: 
error: expected `)' before "__cloc"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1264: 
error: `__wmask_type' does not name a type
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1537,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:284: 
error: `__c_locale' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:294: 
error: expected `)' before "__cloc"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:335: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:336: 
error: template argument 3 is invalid
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:336: 
error: explicit specialization of non-template `<type error>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:336: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:337: 
error: template argument 3 is invalid
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:393: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:394: 
error: template argument 3 is invalid
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:394: 
error: explicit specialization of non-template `<type error>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:394: 
error: `mbstate_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:395: 
error: template argument 3 is invalid
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h: 
In constructor `std::codecvt_byname<_InternT, _ExternT, 
_StateT>::codecvt_byname(const char*, size_t)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:460: 
error: `strcmp' is not a member of `std'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:460: 
error: `strcmp' is not a member of `std'
In file included from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/codecvt.h:475,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:1537,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ios:51,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/ostream:45,
                 from 
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/iostream:45,
                 from test.cc:4:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:52: 
error: `iconv_t' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:64: 
error: `__desc_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:66: 
error: `__desc_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:170: 
error: expected `;' before '*' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:174: 
error: expected `;' before "const"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:174: 
error: expected `;' before '*' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:178: 
error: expected `;' before "int"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
In constructor `std::__enc_traits::__enc_traits()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:76: 
error: class `std::__enc_traits' does not have any field named `_M_in_desc'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:76: 
error: class `std::__enc_traits' does not have any field named `_M_out_desc'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:78: 
error: `memset' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
In constructor `std::__enc_traits::__enc_traits(const char*, const char*, 
int, int)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:84: 
error: class `std::__enc_traits' does not have any field named `_M_in_desc'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:84: 
error: class `std::__enc_traits' does not have any field named `_M_out_desc'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:86: 
error: `strncpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
In copy constructor `std::__enc_traits::__enc_traits(const 
std::__enc_traits&)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:99: 
error: class `std::__enc_traits' does not have any field named `_M_in_desc'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:99: 
error: class `std::__enc_traits' does not have any field named `_M_out_desc'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:101: 
error: `strncpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
In member function `std::__enc_traits& std::__enc_traits::operator=(const 
std::__enc_traits&)':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:113: 
error: `strncpy' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
In member function `void std::__enc_traits::_M_init()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:128: 
error: `__desc_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:129: 
error: `_M_in_desc' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:131: 
error: `iconv_open' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:132: 
error: `__err' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:136: 
error: `_M_out_desc' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
In member function `void std::__enc_traits::_M_destroy()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:148: 
error: `__desc_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:149: 
error: `_M_in_desc' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:149: 
error: `__err' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:151: 
error: `iconv_close' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:154: 
error: `_M_out_desc' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
In member function `bool std::__enc_traits::_M_good()':
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:164: 
error: `__desc_type' does not name a type
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:165: 
error: `_M_in_desc' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:165: 
error: `__err' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:166: 
error: `_M_out_desc' undeclared (first use this function)
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h: 
At global scope:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:208: 
error: type `std::__enc_traits' is not derived from type 
`std::codecvt<_InternT, _ExternT, std::__enc_traits>'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:208: 
error: expected `;' before "__desc_type"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: `std::__iconv_adaptor' declared as an `inline' variable
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: template declaration of `size_t std::__iconv_adaptor'
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: `__func' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: `iconv_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: expected primary-expression before ',' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: expected primary-expression before '*' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: expected primary-expression before ',' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: expected primary-expression before "char"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: expected primary-expression before '*' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: expected primary-expression before ')' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:268: 
error: `(size_t)(<expression error>)' cannot be used as a function
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:269: 
error: `iconv_t' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:269: 
error: expected primary-expression before "char"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:269: 
error: expected primary-expression before '*' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:269: 
error: `__inbytes' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:270: 
error: expected primary-expression before "char"
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:270: 
error: expected primary-expression before '*' token
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:270: 
error: `__outbytes' was not declared in this scope
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/i386-redhat-linux/bits/codecvt_specializations.h:271: 
confused by earlier errors, bailing out
[root@localhost codefiles]#

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



More information about the Gcc-help mailing list