Hi.

I hope this isn't a FAQ.  If it is, I haven't been able to find the
answer anywhere. I am quite prepared to rtfm as long as you tell me
which fm to read.

Anyway, my problem is this:  when I try to compile a program, and it's
mostly gnome programs that do this, I get copious error messages like
this:

/usr/include/bits/string2.h:954: parse error before `__strspn_c3'
/usr/include/bits/string2.h: In function `__strspn_c3':
/usr/include/bits/string2.h:956: syntax error before `__result'
/usr/include/bits/string2.h:958: `__result' undeclared (first use in this 
function)
/usr/include/bits/string2.h: In function `__strpbrk_c2':
/usr/include/bits/string2.h:991: `size_t' undeclared (first use in this 
function)
/usr/include/bits/string2.h:991: parse error before `__s'
/usr/include/bits/string2.h: In function `__strpbrk_c3':
/usr/include/bits/string2.h:1004: `size_t' undeclared (first use in this 
function)
/usr/include/bits/string2.h:1004: parse error before `__s'
/usr/include/bits/string2.h: In function `__strsep_g':
/usr/include/bits/string2.h:1171: `size_t' undeclared (first use in this 
function)
/usr/include/bits/string2.h:1171: parse error before `const'
/usr/include/bits/string2.h:1171: parse error before `const'
/usr/include/bits/string2.h:1171: parse error before `)'

They just go on and on; this is just a small example.  Interestingly,
when I typed in everything that the Makefile wanted to do except
-I/usr/include everything compiled beautifully.

This is really starting to bug me.  For what it's worth, I have a
completely up to the minute unstable distribution.

Thanks for any help,
Chris Gray

-- 
The reason that every major university maintains a department of
mathematics is that it's cheaper than institutionalizing all those people.

Reply via email to