Greetings,

I'm trying to install scim (Chinese language input program) on Slackware 11, kernel 2.6.18.

I've read through a lot of different posts on various sites about this error message, but to no avail. I do have cpp (gcc 3.4.6).

I'll include a bit of the config.log here:
---------

configure:3971: gcc -c -g -O2 conftest.c >&5
In file included from /usr/include/stdio.h:28,
from conftest.c:17:
/usr/include/features.h:308:25: sys/cdefs.h: No such file or directory
In file included from /usr/include/stdio.h:34,
from conftest.c:17:
/usr/lib/gcc/i486-slackware-linux/3.4.6/include/stddef.h:213: error: syntax error before "typedef"
In file included from conftest.c:17:
/usr/include/stdio.h:46: error: syntax error before "typedef"
/usr/include/stdio.h:51: error: syntax error before "__USING_NAMESPACE_STD"
/usr/include/stdio.h: In function `__USING_NAMESPACE_STD':
/usr/include/stdio.h:62: error: storage class specified for parameter `__FILE'
In file included from /usr/include/_G_config.h:14,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:17:
/usr/lib/gcc/i486-slackware-linux/3.4.6/include/stddef.h:325: error: storage class specified for parameter `wchar_t'
/usr/lib/gcc/i486-slackware-linux/3.4.6/include/stddef.h:354: error: storage class specified for parameter `wint_t'
In file included from /usr/include/_G_config.h:24,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:17:
/usr/include/wchar.h:81: error: syntax error before "wint_t"
/usr/include/wchar.h:83: error: syntax error before '}' token
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from conftest.c:17:
/usr/include/_G_config.h:29: error: syntax error before "__mbstate_t"
/usr/include/_G_config.h:34: error: syntax error before "__mbstate_t"
------------

and it goes on for another couple thousand lines or so. Also, I tried installing kernel headers from the cd, but again no luck.

Thanks in advance for any help.