This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problem with installation of libstdc++


I have downloaded, built and installed gcc-3.0 for Linux 6.2 with no
problem. However when I try the simplest of programs:

#include <string>
#include <iostream>

std::string h = "hello world";
main()
{
     std::cout << h << '\n';
}

I get the following (abbreviated) list of errors:

In file included from /usr/local/include/g++-v3/bits/fpos.h:40,
                 from /usr/local/include/g++-v3/bits/std_iosfwd.h:41,
                 from /usr/local/include/g++-v3/bits/std_ios.h:39,
                 from /usr/local/include/g++-v3/bits/std_ostream.h:39,
                 from /usr/local/include/g++-v3/bits/std_iostream.h:40,
                 from /usr/local/include/g++-v3/iostream:31,
                 from hello.cpp:1:
/usr/local/include/g++-v3/bits/std_cwchar.h:125: `btowc' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:126: `fgetwc' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:127: `fgetws' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:128: `fputwc' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:129: `fputws' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:130: `fwide' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:131: `fwprintf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:132: `fwscanf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:133: `getwc' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:134: `getwchar' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:135: `mbrlen' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:136: `mbrtowc' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:137: `mbsinit' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:138: `mbsrtowcs' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:139: `putwc' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:140: `putwchar' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:141: `swprintf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:142: `swscanf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:143: `ungetwc' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:144: `vfwprintf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:145: `vfwscanf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:146: `vswprintf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:147: `vswscanf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:148: `vwprintf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:149: `vwscanf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:150: `wcrtomb' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:151: `wcscat' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:152: `wcscmp' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:153: `wcscoll' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:154: `wcscpy' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:155: `wcscspn' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:156: `wcsftime' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:157: `wcslen' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:158: `wcsncat' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:159: `wcsncmp' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:160: `wcsncpy' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:161: `wcsrtombs' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:162: `wcsspn' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:163: `wcstod' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:164: `wcstof' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:165: `wcstok' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:166: `wcstol' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:167: `wcstoul' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:168: `wcsxfrm' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:169: `wctob' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:170: `wmemcmp' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:171: `wmemcpy' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:172: `wmemmove' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:173: `wmemset' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:174: `wprintf' not declared
/usr/local/include/g++-v3/bits/std_cwchar.h:175: `wscanf' not declared


Any suggestions on how to fix this?

Michael Collison
collison@isisinc.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]