Jerry Feldman writes:
On Fri, 25 Apr 2003 16:53:12 -0400 Jesse Marlin <jlm@compgen.com> wrote:
I have been having trouble compiling an older gcc. I get the following when I try to compile either gcc-3.1.1 or gcc-3.1. I have also tried compiling with a gcc-3.1.1 compiler, not the gcc-3.3. I think the problem is not related to the compiler, but maybe something I have installed or don't have installed. I have the following devel related packages installed: My thought is that you are referencing long longs (and the functions that support them, eg. __strtoll_l. These are most likely not supported in a 32 bit environment.
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