This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem in compiling ARM THUMB tool chain


I have been following instruction on page
http://ecos.sourceware.org/tools/win-thumb-elf.html for building ARM THUMB
tool chain. I have cygwin installed on Windows XP. While building and
installing gcc, I get following errors:

gcc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-pro
totypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE
_CONFIG_H -DGENERATOR_FILE  -o gengtype.exe \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
gengtype.o(.text+0x904): In function `adjust_field_rtx_def':
/src/gcc/gcc-3.3-20040707/gcc/gengtype.c:635: undefined reference to
`_lexer_line'
gengtype.o(.text+0xa90):/src/gcc/gcc-3.3-20040707/gcc/gengtype.c:473:
undefined reference to `_lexer_line'
gengtype.o(.text+0xb9d):/src/gcc/gcc-3.3-20040707/gcc/gengtype.c:530:
undefined reference to `_lexer_line'
gengtype.o(.text+0xd99):/src/gcc/gcc-3.3-20040707/gcc/gengtype.c:573:
undefined reference to `_lexer_line'
gengtype.o(.text+0xde9):/src/gcc/gcc-3.3-20040707/gcc/gengtype.c:620:
undefined reference to `_lexer_line'
gengtype.o(.text+0xea2):/src/gcc/gcc-3.3-20040707/gcc/gengtype.c:633: more
undefined references to `_lexer_line' follow
gengtype.o(.text+0x4e67): In function `main':
/src/gcc/gcc-3.3-20040707/gcc/gengtype.c:2609: undefined reference to
`_parse_file'
gengtype-yacc.o(.text+0x2e3): In function `yyparse':
/tmp/build/gcc/gcc/gengtype-yacc.y:70: undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x31d):/tmp/build/gcc/gcc/gengtype-yacc.y:72:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x33d):/tmp/build/gcc/gcc/gengtype-yacc.y:81:
undefined reference to `_lexer_toplevel_done'
gengtype-yacc.o(.text+0x406):/tmp/build/gcc/gcc/gengtype-yacc.y:79:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x464):/tmp/build/gcc/gcc/gengtype-yacc.y:89:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x4a6):/tmp/build/gcc/gcc/gengtype-yacc.y:94:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x4e6):/tmp/build/gcc/gcc/gengtype-yacc.y:99:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x504):/tmp/build/gcc/gcc/gengtype-yacc.y:107:
undefined reference to `_lexer_toplevel_done'
gengtype-yacc.o(.text+0x516):/tmp/build/gcc/gcc/gengtype-yacc.y:119:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x60c):/tmp/build/gcc/gcc/gengtype-yacc.y:162:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x612):/tmp/build/gcc/gcc/gengtype-yacc.y:162:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x66b):/tmp/build/gcc/gcc/gengtype-yacc.y:173:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x671):/tmp/build/gcc/gcc/gengtype-yacc.y:173:
undefined reference to `_lexer_line'
gengtype-yacc.o(.text+0x6f5):/tmp/build/gcc/gcc/gengtype-yacc.y:210: more
undefined references to `_lexer_line' follow
gengtype-yacc.o(.text+0xa99): In function `yyparse':
/tmp/build/gcc/gcc/gengtype-yacc.c:1504: undefined reference to `_yyerror'
gengtype-yacc.o(.text+0xd2d):/tmp/build/gcc/gcc/gengtype-yacc.c:1023:
undefined reference to `_yylex'
gengtype-yacc.o(.text+0xd43):/tmp/build/gcc/gcc/gengtype-yacc.c:1626:
undefined reference to `_yyerror'
collect2: ld returned 1 exit status
make[1]: *** [gengtype.exe] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

Can someone tell, which library I need to insall in order to resolve this
problem. I tried to look for libbison.a but to no avail.

Regards
Mohanlal

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]