On Mon, 28 Apr 2003 09:55:18 -0400
Jesse Marlin
I hadn't had any trouble compiling gcc-3.1.1 in the past. I think there are some system headers out there causing problems. On a side note I am also getting a lot of these errors just compiling code that used to work with 7.2. A lot of these look like problems with the headers themselves. This is the main reason I was compiling gcc-3.1.1 in the first place.
test_plan_xml_to_rnf.c:14:27: missing terminating " character test_plan_xml_to_rnf.c:17: error: parse error before "Converts" test_plan_xml_to_rnf.c:25:1: missing terminating " character In file included from /usr/include/_G_config.h:44, from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from test_plan_xml_to_rnf.c:48: /usr/include/gconv.h:72: error: parse error before "size_t" /usr/include/gconv.h:88: error: parse error before "size_t" /usr/include/gconv.h:97: error: parse error before "size_t" /usr/include/gconv.h:174: error: parse error before "size_t" /usr/include/gconv.h:174: warning: no semicolon at end of struct or union/usr/include/gconv.h:177: error: parse error before '}' token /usr/include/gconv.h:177: warning: type defaults to `int' in declaration of `__g conv_t' /usr/include/gconv.h:177: warning: data definition has no type or storage class In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:72, from test_plan_xml_to_rnf.c:48: /usr/include/_G_config.h:47: error: field `__cd' has incomplete type /usr/include/_G_config.h:50: error: field `__cd' has incomplete type /usr/include/_G_config.h:53: confused by earlier errors, bailing out
Could possibly be problems with the header files, or possibly problems
in your include list. While a well written header file is self
referential, not all Linux ones are. I suspect that your problem is in
test_plan_xml_to_rnf.c where you might have an unterminated comment or
quote, especially if you have some boiler plate at the beginning.
--
Jerry Feldman