Compilation Error with

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I get the following compiler error when building GCC 4.8
(gcc-4.8-20120812) on an x86_64 system running Scientific Linux 6.2.

=========================================================
build/gengtype.o: In function `create_optional_field_':
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:854:
undefined reference to `lexer_line'
build/gengtype.o: In function `adjust_field_rtx_def':
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:989:
undefined reference to `lexer_line'
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1045:
undefined reference to `lexer_line'
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1055:
undefined reference to `lexer_line'
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1120:
undefined reference to `lexer_line'
build/gengtype.o:/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype.c:1159:
more undefined references to `lexer_line' follow
build/gengtype-parse.o: In function `token':
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:53:
undefined reference to `yylex'
build/gengtype-parse.o: In function `parse_error':
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:142:
undefined reference to `lexer_line'
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:142:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `struct_field_seq':
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:689:
undefined reference to `lexer_line'
build/gengtype-parse.o: In function `type':
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:723:
undefined reference to `lexer_line'
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:755:
undefined reference to `lexer_line'
build/gengtype-parse.o:/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:755:
more undefined references to `lexer_line' follow
build/gengtype-parse.o: In function `parse_file':
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:948:
undefined reference to `yybegin'
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:983:
undefined reference to `lexer_toplevel_done'
/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/gengtype-parse.c:988:
undefined reference to `yyend'
collect2: ld returned 1 exit status
make[3]: *** [build/gengtype] Error 1
make[3]: Leaving directory
`/opt/gcc-4.8-20120812/host-x86_64-unknown-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/opt/gcc-4.8-20120812'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/gcc-4.8-20120812'
make: *** [all] Error 2
=======================================================================


Any guidance would be appreciated.

Thanks,
Ron

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Stubbs MS CS
Senior Systems Programmer
Research Computing
Pratt School of Engineering
410 Teer Bldg. P.O. Box 90271
Duke University, Durham, N.C. 27708-0271
office: (919)660-5339   cell:(919)641-5689
fax: (919) 613-9156
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux