Hi.
I'm trying to build gpc-20050331 on gcc-3.4.3, on an I686 running Suse 9.1.
I'm getting the following when I am trying to run make:
/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype-yacc.c -o gengtype-yacc.o gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengtype \ gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a gengtype.o(.text+0x9f6): In function `get_output_file_with_visibility': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1227: undefined reference to `_sch_istable' gengtype.o(.text+0x10c4): In function `adjust_field_type': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:745: undefined reference to `_sch_istable' gengtype.o(.text+0x10fb):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:750: undefined reference to `_sch_istable' gengtype.o(.text+0x1163):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:764: undefined reference to `_sch_istable' gengtype.o(.text+0x1a48):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:617: undefined reference to `_sch_toupper' gengtype.o(.text+0x2062): In function `walk_type': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1507: undefined reference to `_sch_istable' gengtype.o(.text+0x215c):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1528: undefined reference to `_sch_istable' gengtype.o(.text+0x2bb1):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1748: undefined reference to `_sch_istable' gengtype.o(.text+0x3ccc): In function `put_mangled_filename': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:2364: undefined reference to `_sch_istable' gengtype.o(.text+0x4da5): In function `main': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:2674: undefined reference to `_sch_istable' gengtype-lex.o(.text+0x7be):/home/mitchell/scratch/gcc-3.4.3/gcc-3.4.3/gcc/gengtype-lex.l:248: more undefined references to `_sch_istable' follow collect2: ld returned 1 exit status make[1]: *** [gengtype] Error 1 make[1]: Leaving directory `/home/siemionf/newsoftware/gpc-build/gcc' make: *** [all-gcc] Error 2
Thanks for any help with this. - Inga
Hello,
Please ignore the previous email.
I'm sorry, I don't actually know what exactly I did wrong the first time.
I started over, re-installed gcc 3.4.3 as is, wiped the directory, then installed gpc with gcc 3.4.3, and it worked without problems.
Thanks, - Inga
-----Original Message----- From: mingeborg@aol.com To: gpc@gnu.de Sent: Sat, 02 Jul 2005 09:56:20 -0400 Subject: gpc-20050331 on gcc-3.4.3 build problem
Hi.
I'm trying to build gpc-20050331 on gcc-3.4.3, on an I686 running Suse 9.1.
I'm getting the following when I am trying to run make:
/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype-yacc.c -o gengtype-yacc.o gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengtype \ gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a gengtype.o(.text+0x9f6): In function `get_output_file_with_visibility': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1227: undefined reference to `_sch_istable' gengtype.o(.text+0x10c4): In function `adjust_field_type': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:745: undefined reference to `_sch_istable'
gengtype.o(.text+0x10fb):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:750: undefined reference to `_sch_istable'
gengtype.o(.text+0x1163):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:764: undefined reference to `_sch_istable'
gengtype.o(.text+0x1a48):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:617: undefined reference to `_sch_toupper' gengtype.o(.text+0x2062): In function `walk_type': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1507: undefined reference to `_sch_istable'
gengtype.o(.text+0x215c):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1528: undefined reference to `_sch_istable'
gengtype.o(.text+0x2bb1):/home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:1748: undefined reference to `_sch_istable' gengtype.o(.text+0x3ccc): In function `put_mangled_filename': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:2364: undefined reference to `_sch_istable' gengtype.o(.text+0x4da5): In function `main': /home/siemionf/newsoftware/gcc-3.4.3/gcc/gengtype.c:2674: undefined reference to `_sch_istable'
gengtype-lex.o(.text+0x7be):/home/mitchell/scratch/gcc-3.4.3/gcc-3.4.3/gcc/gengtype-lex.l:248: more undefined references to `_sch_istable' follow collect2: ld returned 1 exit status make[1]: *** [gengtype] Error 1 make[1]: Leaving directory `/home/siemionf/newsoftware/gpc-build/gcc' make: *** [all-gcc] Error 2
Thanks for any help with this. - Inga