Re: build error
- Posted by coconut Apr 02, 2013
- 1992 views
mattlewis said...
jimcbrown said...
Ok, so you just need an ARM eubins to bootstrap the build then. That was the reason for the errors you were getting.
You don't even need that. Just configure for ARM on some working installation, then "make source". Or "make source-tarball" or something...I forget exactly. But either way, you can take the translation from one computer to another. You'll just need to compile it all on the host machine.
Matt
I found eubins from Ira on the wiki restart the build. This time I get another error:
jacques@efikamx:~$ cd /usr/share/euphoria/source jacques@efikamx:/usr/share/euphoria/source$ ./configure --debug Writing eu.cfg to /usr/share/euphoria/source/build/eu.cfg jacques@efikamx:/usr/share/euphoria/source$ cat build/eu.cfg [all] -d E32 -eudir /usr/share/euphoria -i /usr/share/euphoria/include [translate] -arch ARM -gcc -con -com /usr/share/euphoria -lib-pic /usr/share/euphoria/source/build/euso.a -lib /usr/share/euphoria/source/build/eudbg.a [bind] -eub /usr/share/euphoria/source/build/eub jacques@efikamx:/usr/share/euphoria/source$ cd .. jacques@efikamx:/usr/share/euphoria$ find . -name eudb.a jacques@efikamx:/usr/share/euphoria$ ./configure bash: ./configure: No such file or directory jacques@efikamx:/usr/share/euphoria$ cd source jacques@efikamx:/usr/share/euphoria/source$ ./configure Writing eu.cfg to /usr/share/euphoria/source/build/eu.cfg jacques@efikamx:/usr/share/euphoria/source$ make make interpreter translator library debug-library backend shared-library debug-shared-library lib818 make[1]: Entering directory `/usr/share/euphoria/source' make interpreter OBJDIR=intobj EBSD= CONFIG=config.gnu EDEBUG= EPROFILE= make[2]: Entering directory `/usr/share/euphoria/source' mkdir -p /usr/share/euphoria/source/build/intobj/back/ /usr/share/euphoria/source/build/transobj/back/ /usr/share/euphoria/source/build/libobj/back/ /usr/share/euphoria/source/build/libobjdbg /usr/share/euphoria/source/build/libobjdbg/back/ /usr/share/euphoria/source/build/backobj/back/ /usr/share/euphoria/source/build/intobj/ /usr/share/euphoria/source/build/transobj/ /usr/share/euphoria/source/build/libobj/ /usr/share/euphoria/source/build/backobj/ /usr/share/euphoria/source/build/include/ /usr/share/euphoria/source/build/libobj-fPIC/ /usr/share/euphoria/source/build/libobj-fPIC/back /usr/share/euphoria/source/build/libobjdbg-fPIC /usr/share/euphoria/source/build/libobjdbg-fPIC/back gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_decompress.c -o/usr/share/euphoria/source/build/intobj/back/be_decompress.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_debug.c -o/usr/share/euphoria/source/build/intobj/back/be_debug.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_execute.c -o/usr/share/euphoria/source/build/intobj/back/be_execute.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_task.c -o/usr/share/euphoria/source/build/intobj/back/be_task.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_main.c -o/usr/share/euphoria/source/build/intobj/back/be_main.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_alloc.c -o/usr/share/euphoria/source/build/intobj/back/be_alloc.o gcc -c -Wall -DEUNIX -DEARM -DELINUX -DARCH=ARM -fsigned-char -O3 -fno-omit-frame-pointer -ffast-math -fno-defer-pop be_callc.c -o/usr/share/euphoria/source/build/intobj/back/be_callc.o be_callc.c: In function 'call_c': be_callc.c:1162:15: warning: variable 'argsize' set but not used [-Wunused-but-set-variable] gcc -finline-functions -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX be_inline.c -o/usr/share/euphoria/source/build/intobj/back/be_inline.o gcc -o /usr/share/euphoria/source/build/mkver mkver.c /usr/share/euphoria/source/build/mkver "hg" "/usr/share/euphoria/source/build/ver.cache" "/usr/share/euphoria/source/build/include/be_ver.h" gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_machine.c -o/usr/share/euphoria/source/build/intobj/back/be_machine.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_coverage.c -o/usr/share/euphoria/source/build/intobj/back/be_coverage.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_pcre.c -o/usr/share/euphoria/source/build/intobj/back/be_pcre.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_rterror.c -o/usr/share/euphoria/source/build/intobj/back/be_rterror.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_syncolor.c -o/usr/share/euphoria/source/build/intobj/back/be_syncolor.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_runtime.c -o/usr/share/euphoria/source/build/intobj/back/be_runtime.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_symtab.c -o/usr/share/euphoria/source/build/intobj/back/be_symtab.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_socket.c -o/usr/share/euphoria/source/build/intobj/back/be_socket.o gcc -DEARM -c -Wall -DEUNIX -DELINUX -fsigned-char -ffast-math -fomit-frame-pointer -ffast-math -O3 -Os -DESIMPLE_MALLOC -DARCH=ARM -DELINUX -I /usr/share/euphoria/source/build/intobj/back -I /usr/share/euphoria/source/build/include be_w.c -o/usr/share/euphoria/source/build/intobj/back/be_w.o make -C pcre all CC="gcc" PCRE_CC="gcc" EOSTYPE="-DEUNIX" EOSFLAGS="" CONFIG=../config.gnu FPIC= make[3]: Entering directory `/usr/share/euphoria/source/pcre' mkdir /usr/share/euphoria/source/build/pcre gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_chartables.c -o /usr/share/euphoria/source/build/pcre/pcre_chartables.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_compile.c -o /usr/share/euphoria/source/build/pcre/pcre_compile.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_config.c -o /usr/share/euphoria/source/build/pcre/pcre_config.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_dfa_exec.c -o /usr/share/euphoria/source/build/pcre/pcre_dfa_exec.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_exec.c -o /usr/share/euphoria/source/build/pcre/pcre_exec.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_fullinfo.c -o /usr/share/euphoria/source/build/pcre/pcre_fullinfo.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_get.c -o /usr/share/euphoria/source/build/pcre/pcre_get.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_globals.c -o /usr/share/euphoria/source/build/pcre/pcre_globals.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_info.c -o /usr/share/euphoria/source/build/pcre/pcre_info.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_maketables.c -o /usr/share/euphoria/source/build/pcre/pcre_maketables.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_newline.c -o /usr/share/euphoria/source/build/pcre/pcre_newline.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_ord2utf8.c -o /usr/share/euphoria/source/build/pcre/pcre_ord2utf8.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcreposix.c -o /usr/share/euphoria/source/build/pcre/pcreposix.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_refcount.c -o /usr/share/euphoria/source/build/pcre/pcre_refcount.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_study.c -o /usr/share/euphoria/source/build/pcre/pcre_study.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_tables.c -o /usr/share/euphoria/source/build/pcre/pcre_tables.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_try_flipped.c -o /usr/share/euphoria/source/build/pcre/pcre_try_flipped.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_ucd.c -o /usr/share/euphoria/source/build/pcre/pcre_ucd.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_valid_utf8.c -o /usr/share/euphoria/source/build/pcre/pcre_valid_utf8.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_version.c -o /usr/share/euphoria/source/build/pcre/pcre_version.o gcc -O2 -DEUNIX -D HAVE_CONFIG_H -D NO_RECURSE -c pcre_xclass.c -o /usr/share/euphoria/source/build/pcre/pcre_xclass.o make[3]: Leaving directory `/usr/share/euphoria/source/pcre' Translating eui.ex to create rm -f /usr/share/euphoria/source/build/intobj/{*.c,*.o} (cd /usr/share/euphoria/source/build/intobj;eui -i /usr/share/euphoria/include -d E32 /usr/share/euphoria/source/euc.ex -nobuild -i /usr/share/euphoria/include -gcc \ -arch ARM \ -c /usr/share/euphoria/source/eu.cfg /usr/share/euphoria/source/eui.ex ) /usr/share/euphoria/include/std/map.e:508 in function get() subscript value 0 is out of bounds, reading from a sequence of length 256 ... called from /usr/share/euphoria/source/parser.e:2680 in procedure optimize_switch() ... called from /usr/share/euphoria/source/parser.e:2824 in procedure Switch_statement() ... called from /usr/share/euphoria/source/parser.e:4029 in procedure Statement_list() ... called from /usr/share/euphoria/source/parser.e:2298 in procedure If_statement() ... called from /usr/share/euphoria/source/parser.e:3970 in procedure Statement_list() ... called from /usr/share/euphoria/source/parser.e:3345 in procedure For_statement() ... called from /usr/share/euphoria/source/parser.e:3974 in procedure Statement_list() ... called from /usr/share/euphoria/source/parser.e:4402 in procedure SubProg() ... called from /usr/share/euphoria/source/parser.e:4798 in procedure real_parser() ... called from /usr/share/euphoria/source/parser.e:5035 in procedure parser() ... called from /usr/share/euphoria/source/main.e:201 in procedure main() ... called from /usr/share/euphoria/source/main.e:228 --> See ex.err make[2]: *** [/usr/share/euphoria/source/build/intobj/main-.c] Error 1 make[2]: Leaving directory `/usr/share/euphoria/source' make[1]: *** [interpreter] Error 2 make[1]: Leaving directory `/usr/share/euphoria/source' make: *** [all] Error 2 jacques@efikamx:/usr/share/euphoria/source$
Ok! Tomorow I'll try as you suggest.
Jacques