"Nikolai Nezlobin" <nezlobin@xxxxxxxxxxx> writes: [snip] > /usr/include/c++/3.2.3/cctype:68: `isalnum' not declared > /usr/include/c++/3.2.3/cctype:69: `isalpha' not declared > /usr/include/c++/3.2.3/cctype:70: `iscntrl' not declared > /usr/include/c++/3.2.3/cctype:71: `isdigit' not declared > /usr/include/c++/3.2.3/cctype:72: `isgraph' not declared > /usr/include/c++/3.2.3/cctype:73: `islower' not declared > /usr/include/c++/3.2.3/cctype:74: `isprint' not declared > /usr/include/c++/3.2.3/cctype:75: `ispunct' not declared > /usr/include/c++/3.2.3/cctype:76: `isspace' not declared > /usr/include/c++/3.2.3/cctype:77: `isupper' not declared > /usr/include/c++/3.2.3/cctype:78: `isxdigit' not declared > /usr/include/c++/3.2.3/cctype:79: `tolower' not declared > /usr/include/c++/3.2.3/cctype:80: `toupper' not declared [snip] Errors such as this usually indicate that your C headers are not installed, or are not being found. Could you add '-v' to your command line options for g++, and post the result? Alternatively, could you reduce the problem to a piece of example code short enough to be posted in its entirety?