Ecere SDK/eC Forums
http://ec-lang.org/community/
Print view

Compile ecc error on arm v7 device
http://ec-lang.org/community/viewtopic.php?f=4&t=396
Page 1 of 1
Author:  nicktick [ Tue Nov 11, 2014 5:53 am ]
Post subject:  Compile ecc error on arm v7 device

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

Author:  jerome [ Tue Nov 18, 2014 10:38 pm ]
Post subject:  Re: Compile ecc error on arm v7 device

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
All times are UTC-05:00 Page 1 of 1