make[1]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4'
cd /home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc && PATH="/home/manuel/panda/riscos/gccsdk/gcc4/builddir/installed-buildtools-for-gcc/bin:/home/manuel/panda/riscos/gccsdk/cross/bin:/usr/lib/libfm:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" && make && make install
make[2]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc'
make[3]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libiberty'
make[5]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libiberty/testsuite'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libiberty/testsuite'
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libiberty'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/fixincludes'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/fixincludes'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/lto-plugin'
make all-am
make[5]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/lto-plugin'
make[5]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/lto-plugin'
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/lto-plugin'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/intl'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/intl'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/build-x86_64-unknown-linux-gnu/libiberty'
make[5]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/build-x86_64-unknown-linux-gnu/libiberty/testsuite'
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/build-x86_64-unknown-linux-gnu/libiberty'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/build-x86_64-unknown-linux-gnu/fixincludes'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/build-x86_64-unknown-linux-gnu/fixincludes'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/manuel/panda/riscos/gccsdk/cross" "infodir=/home/manuel/panda/riscos/gccsdk/cross/share/info" "libdir=/home/manuel/panda/riscos/gccsdk/cross/lib" "prefix=/home/manuel/panda/riscos/gccsdk/cross" "tooldir=/home/manuel/panda/riscos/gccsdk/cross/arm-unknown-riscos" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/zlib'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libcpp'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libdecnumber'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/libdecnumber'
make[4]: Entering directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/gcc'
gcc -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/gengtype \
build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a
build/gengtype.o: In function `adjust_field_type':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype.c:1279: undefined reference to `lexer_line'
build/gengtype.o: In function `adjust_field_rtx_def':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype.c:989: undefined reference to `lexer_line'
build/gengtype.o: In function `adjust_field_type':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype.c:1294: undefined reference to `lexer_line'
build/gengtype.o: In function `adjust_field_tree_exp':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype.c:1220: undefined reference to `lexer_line'
build/gengtype.o: In function `adjust_field_rtx_def':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype.c:1045: undefined reference to `lexer_line'
build/gengtype.o:/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype.c:1055: more undefined references to `lexer_line' follow
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o:/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: more undefined references to `yylex' follow
build/gengtype-parse.o: In function `type':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:726: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o: In function `type':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:797: undefined reference to `lexer_line'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:797: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o: In function `type':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:758: undefined reference to `lexer_line'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:758: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o:/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: more undefined references to `yylex' follow
build/gengtype-parse.o: In function `struct_field_seq':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:692: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o: In function `type':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:782: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o:/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: more undefined references to `yylex' follow
build/gengtype-parse.o: In function `parse_file':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:951: undefined reference to `yybegin'
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
build/gengtype-parse.o: In function `parse_file':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:986: undefined reference to `lexer_toplevel_done'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:991: undefined reference to `yyend'
build/gengtype-parse.o: In function `extern_or_static':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:892: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `def_vec':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:918: undefined reference to `lexer_line'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:919: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `def_vec_alloc':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:943: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `typedef_decl':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:842: undefined reference to `lexer_line'
build/gengtype-parse.o: In function `token':
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
/home/manuel/panda/riscos/gccsdk/gcc4/srcdir/gcc/gcc/gengtype-parse.c:53: undefined reference to `yylex'
collect2: ld returned 1 exit status
make[4]: *** [build/gengtype] Error 1
make[4]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc/gcc'
make[3]: *** [all-gcc] Error 2
make[3]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4/builddir/cross-gcc'
make[1]: *** [cross-gcc-built] Error 2
make[1]: Leaving directory `/home/manuel/panda/riscos/gccsdk/gcc4'
make: *** [getenv] Error 2
Hi there
I'm trying to build the cross compiler by following the instructions at http://www.riscos.info/index.php/Using_GCCSDK#Using_GCCSDK_and_Autobuilder_to_cross-compile_for_RISC_OS
But, even having all the listed packaged installed, I still can't get ./build-world to succeed.
There are some "undefined references" in the code, wich I though were caused by flex lib, but I installed it and I still get the same errors... I also installed the dev flex lib.
So here's my log, included with this message. Any idea is welcome
No comments:
Post a Comment