Compile ecc error on arm v7 device

Help understanding and fixing compiling errors.
Post Reply
nicktick
Posts: 17
Joined: Tue Nov 13, 2012 8:34 pm

Compile ecc error on arm v7 device

Post by nicktick »

Code: Select all

Building Vanilla Ecere...
cd ecere && make -f Makefile.vanilla
Building 2nd stage ecere (host)...
cd ecere && make nores GCC_PREFIX= TARGET_PLATFORM=linux PLATFORM=linux
Building eC Core Runtime (host)...
cd ecere && make -f Makefile.ecereCOM GCC_PREFIX= TARGET_PLATFORM=linux PLATFORM=linux
make[1]: Entering directory `/home/john/work/ltib/rpm/BUILD/ecere-0.44.10/ecere'
../compiler/bootstrap/obj/bin.linux/ecp  -fmessage-length=0 -DECERE_NOSSL -DDEB_HOST_MULTIARCH=\"/usr/lib\"  -cpp gcc  -module ecereCOM -nolinenumbers -defaultns ecere   -O2 -ffast-math -fPIC -w -DBUILDING_ECERE_COM -DECERE_COM_MODULE -DECERE_NOFILE -c src/sys/Mutex.ec -o obj/ecereCOM.release.linux/Mutex.sym
../compiler/bootstrap/obj/bin.linux/ecp  -fmessage-length=0 -DECERE_NOSSL -DDEB_HOST_MULTIARCH=\"/usr/lib\"  -cpp gcc  -module ecereCOM -nolinenumbers -defaultns ecere   -O2 -ffast-math -fPIC -w -DBUILDING_ECERE_COM -DECERE_COM_MODULE -DECERE_NOFILE -c src/sys/i18n.ec -o obj/ecereCOM.release.linux/i18n.sym
../compiler/bootstrap/obj/bin.linux/ecp: 1: ../compiler/bootstrap/obj/bin.linux/ecp: Syntax error: word unexpected (expecting ")")
../compiler/bootstrap/obj/bin.linux/ecp  -fmessage-length=0 -DECERE_NOSSL -DDEB_HOST_MULTIARCH=\"/usr/lib\"  -cpp gcc  -module ecereCOM -nolinenumbers -defaultns ecere   -O2 -ffast-math -fPIC -w -DBUILDING_ECERE_COM -DECERE_COM_MODULE -DECERE_NOFILE -c src/com/containers/Array.ec -o obj/ecereCOM.release.linux/Array.sym
../compiler/bootstrap/obj/bin.linux/ecp: 1: ../compiler/bootstrap/obj/bin.linux/ecp: Syntax error: word unexpected (expecting ")")
make[1]: *** [obj/ecereCOM.release.linux/Mutex.sym] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [obj/ecereCOM.release.linux/i18n.sym] Error 2
../compiler/bootstrap/obj/bin.linux/ecp: 1: ../compiler/bootstrap/obj/bin.linux/ecp: Syntax error: word unexpected (expecting ")")
make[1]: *** [obj/ecereCOM.release.linux/Array.sym] Error 2

jerome
Site Admin
Posts: 608
Joined: Sat Jan 16, 2010 11:16 pm

Re: Compile ecc error on arm v7 device

Post by jerome »

Hi nicktick,

From what you told me you're using 'ltib' to build this, which we have never used / have no idea about.

It was quite puzzling me because from your output it sounds like 'ecp' is giving out that syntax error, but ecp will never produce that error. Either your make program is producing that error or some bash script is being ran instead of ecp.

I suggest you stick to the instructions to build for Android at:

http://ecere.org/android/

after setting up the Android SDK and NDK on either Windows or Linux, and ask us for help if you run into any troubles.

Regards,

-Jerome
Post Reply