Can't compile gcc3 on SunOS 5.6

Wang, Shu swang@opentv.com
Fri Sep 27 15:32:00 GMT 2002



> Hi,
> 
> I was hoping someone out there can shed some light on some installing
> issues on gcc3.
> 
> The configuration part seem to work okay, but couldn't complete the
> 'gmake' process to compile the package.
> 
> ../src/configure --target=am33_2.0-linux-gnu
> --prefix=/home/build/gcc3_compiler
> --program-transform-name=s/^/gcc3_compiler-/ --disable-shared
> --enable-threads --disable-gdbtk --disable-gdbgui --enable-multilib
> 
> There's the configuration of the system
> SunOS 5.6
> 
> List of Tolls for build cross-compiler of Solaris
> 
> Tools		Version
> 
> gcc		2.7.2
> bash		2.00
> bison		1.21
> flex		2.3
> gmake		3.74
> mkaeinfo	1.64
> perl		4.0
> 
> < CONFIGURE.STATUS >
> 
> #!/bin/sh
> # This file was generated automatically by configure.  Do not edit.
> # This directory was configured as follows:
> ../src/configure
> --with-gcc-version-trigger=/home/build/gcc3_compiler/gcc3/src/g
> cc/version.c --host=sparc-sun-solaris2.6 --target=am33_2.0-linux-gnu
> --prefix=/h
> ome/build/gcc3_compiler --program-transform-name=s/^/gcc3_compiler-/
> --disable-s
> hared --enable-threads --disable-gdbtk --disable-gdbgui --enable-multilib
> --nore
> cursion
> # using "mh-frag" and "mt-frag"
> 
> < ERROR LOG >
> 
> ../../src/ld/ldlex.l: In function `yylex':
> ../../src/ld/ldlex.l:1170: warning: array subscript has type `char'
> ../../src/ld/ldlex.l:1180: warning: array subscript has type `char'
> ../../src/ld/ldlex.l: In function `yy_get_previous_state':
> ../../src/ld/ldlex.l:651: warning: array subscript has type `char'
> ../../src/ld/ldlex.l:661: warning: array subscript has type `char'
> ../../src/ld/ldlex.l: In function `yy_try_NUL_trans':
> ../../src/ld/ldlex.l:697: warning: array subscript has type `char'
> ../../src/ld/ldlex.l: In function `yy_create_string_buffer':
> ../../src/ld/ldlex.l:482: structure has no member named `yy_is_our_buffer'
> ../../src/ld/ldlex.l:483: structure has no member named
> `yy_is_interactive'
> ../../src/ld/ldlex.l:484: structure has no member named `yy_at_bol'
> ../../src/ld/ldlex.l:485: structure has no member named `yy_fill_buffer'
> ../../src/ld/ldlex.l: At top level:
> ../../src/ld/ldlex.l:714: warning: `yyunput' defined but not used
> gmake[3]: *** [ldlex.o] Error 1
> gmake[3]: Leaving directory `/home/build/gcc3_compiler/gcc3/obj/ld'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/home/build/gcc3_compiler/gcc3/obj/ld'
> gmake[1]: *** [all-recursive-am] Error 2
> gmake[1]: Leaving directory `/home/build/gcc3_compiler/gcc3/obj/ld'
> gmake: *** [all-ld] Error 2
> 
> Thanks in advance,
> 
> -sw



More information about the Gcc-help mailing list