ERIKA con Linux: difficulties in installing the compiler

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
FedericoB
Newbie
Posts: 1
Joined: Thu Jul 16, 2015 4:03 pm

ERIKA con Linux: difficulties in installing the compiler

Post by FedericoB » Thu Jul 16, 2015 5:54 pm

Dear Sirs,

I installed both ERIKA Enterprise and RT-Druid 2.5.0, 64bit version on windows7 and I installed the virtual machine as well.

My final goal is to build SW for Freescale SPC5634 Monaco e200z335 core ('SPC5634MF2MLQ80) .
But to take confidence with your environment, I started creating with your wizard "example project for PPC MPC5643, resource"

*********** Tentative on WINDOWS:
I also installed CodeWarrior for MPC55xx/MPC56xx v2.10 (Classic) and the Cygwin you suggested (http://download.tuxfamily.org/erika/web ... _1_7_9.zip).
I configured the environmental Variables (PATH). I and I get such error:

18:28:34 **** Build of configuration Default for project test4 ****
make all
cygwin warning:
MS-DOS style path detected: C:\Project\EclipseWorkspace\test4\Debug
Preferred POSIX equivalent is: /cygdrive/c/Project/EclipseWorkspace/test4/Debug
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.h ... -pathnames
Using erika files in /cygdrive/c/Project/ERIKA_~1/plugins/CO1D08~1.201/ee_files
MAKE_DIRECTORIES
make: Warning: File `obj/pkg/cpu/e200zx/src' has modification time 0.0013 s in the future
ASM2C ee_boot.S
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `printf "CC ee_boot_asm.c\\n"; C:\Program Files (x86)\FreescaleCodeWarrior2_10\PowerPC_EABI_Tools\Command_Line_Tools/PA_Tools/Command_Line_Tools/mwcceppc -proc Zen -vle -RTTI off -Cpp_exceptions off -gccinc -char unsigned -nostdinc -pragma "section RW \".stack\" \".ustack\"" -flag require_prototypes -msgstyle gcc -rostr -O4 -ipa file -inline on,auto -schedule on -ppc_asm_to_vle -gdwarf-2 -use_lmw_stmw off -I"C:\\Program" -I"Files" -I"(x86)\\FreescaleCodeWarrior2_10\\PowerPC_EABI_Tools\\Command_Line_Tools\\PA_Support\\ewl\\EWL_C\\include" -I"C:\\Project\\EclipseWorkspace\\test4" -I"C:\\Project\\ERIKA_~1\\plugins\\CO1D08~1.201\\ee_files\\pkg" -I"." -DDEBUG -D__USE_LEDS__ -D__USE_BUTTONS__ -D__E200ZX_EXECUTE_FROM_RAM__ -D__CODEWARRIOR__ -DEE_ISR_DYNAMIC_TABLE -D__OO_STARTOS_OLD__ -D__RTD_CYGWIN__ -D__PPCE200ZX__ -DEE_MPC5643L -DEE_PPCE200Z4 -D__VLE__ -D__DIAB__ -D__OO_ORTI_LASTERROR__ -D__OO_ORTI_SERVICETRACE__ -D__OO_ORTI_PRIORITY__ -D__OO_ORTI_RES_LOCKER_TASK__ -D__OO_ORTI_RES_ISLOCKED__ -D__OO_ORTI_STACK__ -D__OO_ORTI_ALARMTIME__ -D__OO_ORTI_RUNNINGISR2__ -D__OO_BCC1__ -D__OO_EXTENDED_STATUS__ -D__MONO__ -D__OO_NO_ALARMS__ -D__OO_AUTOSTART_TASK__ -D__ALLOW_NESTED_IRQ__ -D__DISABLE_EEOPT_DEFINES__ -D__ERIKA__ -D__PPCE200ZX__ -MDfile "obj\\obj\\pkg\\mcu\\freescale_mpc5643l\\src\\ee_boot_asm.d_tmp" -c "obj\\pkg\\mcu\\freescale_mpc5643l\\src\\ee_boot_asm.c" -o "obj\\obj\\pkg\\mcu\\freescale_mpc5643l\\src\\ee_boot_asm.o"'
make: *** [obj/obj/pkg/mcu/freescale_mpc5643l/src/ee_boot_asm.o] Error 1

what shall I do?

*********** Tentative on VIRTUAL MACHINE (Ubuntu):
on Vitrtual-machine I had no success in modifying the default path:

18:15:09 **** Build of configuration Default for project test4 ****
/home/evidence/workspace/test4/Debug/make_launcher.bat all
Using erika files in /opt/case/evidence/eclipse/plugins/com.eu.evidence.ee_2.4.0.N20140917_2014/ee_files
makefile:87: *** Compiler not found. Provided path is 'C:/default/path'. Stop.

18:15:09 Build Finished (took 89ms)

in the virtual machine I did installed nothing more, an id did no change the environmental variables.

Thank you in advance,
FB

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: ERIKA con Linux: difficulties in installing the compiler

Post by paolo.gai » Fri Jul 17, 2015 8:06 am

/bin/sh:
The lines starting with the previopus prefix mean that the makefile was not able to find the compiler!!!

Check your compiler settings, or try the PPC virtual machine we distribute on http://www.erika-enterprise.com . It gives a working environment with GCC for mamba, it could be a nice starting point.

Ciao,

Paolo

Post Reply