error with tasking

Forum related to ERIKA Enterprise and RT-Druid version 3

Moderator: paolo.gai

Post Reply
samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

error with tasking

Post by samir »

I get an error when I add a new file .c (rte_func.c) in erika project
arch: tricore tc397xe
compiler : Tasking
the error is below
10 errors, 4 warnings
make[1]: *** [/cygdrive/c/Users/SBELHA~1/ECLIPS~2/tc397xe/erika/mk/ee_arch_rules.mk:128: obj/rte_func.c.o] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/sbelhajltaief/eclipse-workspace/tc397xe/out'
make: *** [makefile:98: all] Error 2

Is it necessary to change other erika files when add a new file .c ?

Note : when compiled this project with gcc compiler it compiled successfuly !
how to resolve this error ? do you have an idea ?

Best regards
ChayMa
Newbie
Posts: 41
Joined: Tue Mar 26, 2019 5:44 pm

Re: error with tasking

Post by ChayMa »

hello,

did you add the file.c path on the APP_SRC field on the oil file ?
ChayMa
Newbie
Posts: 41
Joined: Tue Mar 26, 2019 5:44 pm

Re: error with tasking

Post by ChayMa »

I mean u added rte_func.c file on your project so you should add the file path in the APP_SRC fiel of config.oil file
samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

Re: error with tasking

Post by samir »

hello,

I add it to the .oil file.
ChayMa
Newbie
Posts: 41
Joined: Tue Mar 26, 2019 5:44 pm

Re: error with tasking

Post by ChayMa »

did the error still shown up ?
if yes please send me the whole error message including that 10 errors appearing on the image you post.
samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

Re: error with tasking

Post by samir »

but when i compiled it with gcc it work correctly
ChayMa
Newbie
Posts: 41
Joined: Tue Mar 26, 2019 5:44 pm

Re: error with tasking

Post by ChayMa »

could you please screenshot the whole error so I can analyze where the error come from.
samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

Re: error with tasking

Post by samir »

09:11:12 **** Incremental Build of configuration Default for project tc397xe ****
make all
make[1]: Entering directory '/cygdrive/c/Users/SBELHA~1/ECLIPS~2/tc397xe/erika'
ERIKA_FILES=/cygdrive/c/Evidence/eclipse/plugins/COMEUE~1.201/ee_files
make[2]: Entering directory '/cygdrive/c/Users/SBELHA~1/ECLIPS~2/tc397xe/erika'
***************************************
* Erika Enterprise Libraries build... *
***************************************
CC ee_tc_cstart.c
CC ee_tc_system.c
CC ee_tc_trapvec.c
CC ee_tc_intvec.c
CC ee_tc_hal.c
CC ee_tc_hal_mc.c
CC ee_logger.c
CC Arti.c
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 852/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 858/28] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 861/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 863/28] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 922/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 928/28] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 931/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 933/28] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1020/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1026/28] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1029/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1031/28] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1075/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1081/28] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1084/30] conversion of integer to pointer at argument #2
ctc W524: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\Arti.c" 1086/28] conversion of integer to pointer at argument #2
0 errors, 16 warnings
CC t32fdx.c
ctc W560: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\erika\src\t32fdx.c" 778/11] possible truncation at implicit conversion to type "unsigned char"
0 errors, 1 warnings
CC ee_tc_ctx.c
CC ee_oo_api_osek.c
CC ee_oo_sched_entry_points.c
CC ee_oo_scheduler.c
CC ee_oo_kernel.c
CC ee_oo_sched_partitioned.c
CC ee_oo_counter.c
CC ee_oo_alarm.c
CC ee_assert.c
CC ee_std_change_context.c
CC ee_oscfg.c
AR libee.a
**************************************************
* Erika Enterprise Libraries built successfully! *
**************************************************
make[2]: Leaving directory '/cygdrive/c/Users/SBELHA~1/ECLIPS~2/tc397xe/erika'
make[1]: Leaving directory '/cygdrive/c/Users/SBELHA~1/ECLIPS~2/tc397xe/erika'
make[1]: Entering directory '/cygdrive/c/Users/sbelhajltaief/eclipse-workspace/tc397xe/out'
APP_TARGETS=erika3app.dump
*****************************************
* Erika Enterprise Application build... *
*****************************************
CC ee_applcfg.c
CC master.c
ctc W505: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\master.c" 132/3] implicit declaration of function "T32_Fdx_TraceInit"
ctc W577: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\master.c" 132/20] calling a function without a prototype
ctc W505: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\master.c" 133/3] implicit declaration of function "EE_logger_init"
ctc W577: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\master.c" 133/17] calling a function without a prototype
0 errors, 4 warnings
CC rte_func.c
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 14/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 23/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 33/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 42/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 52/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 59/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 67/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 74/2] incompatible types at argument #3
ctc W544: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 72/25] unreachable code
ctc W545: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 78/1] missing 'return'
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 86/2] incompatible types at argument #3
ctc E333: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 94/2] incompatible types at argument #3
ctc W544: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 92/25] unreachable code
ctc W545: ["C:\Users\SBELHA~1\ECLIPS~2\tc397xe\rte_func.c" 99/1] missing 'return'
10 errors, 4 warnings
make[1]: Leaving directory '/cygdrive/c/Users/sbelhajltaief/eclipse-workspace/tc397xe/out'
make[1]: *** [/cygdrive/c/Users/SBELHA~1/ECLIPS~2/tc397xe/erika/mk/ee_arch_rules.mk:128: obj/rte_func.c.o] Error 1
make: *** [makefile:98: all] Error 2

09:12:07 Build Failed. 2 errors, 0 warnings. (took 55s.550ms)
ChayMa
Newbie
Posts: 41
Joined: Tue Mar 26, 2019 5:44 pm

Re: error with tasking

Post by ChayMa »

the file rte_func.c is it related to other .c files if yes you should add them in .oil file as well.
Else you should fix the erros in the file itself ...it may be work with hightec and not with tasking ...
you should look at those errors.
If nothing did work. You can send me the project I will look for it and try solving the problem.
samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

Re: error with tasking

Post by samir »

give me your address email
ChayMa
Newbie
Posts: 41
Joined: Tue Mar 26, 2019 5:44 pm

Re: error with tasking

Post by ChayMa »

ChayMa
Newbie
Posts: 41
Joined: Tue Mar 26, 2019 5:44 pm

Re: error with tasking

Post by ChayMa »

please describe for me the work environment that you are working with.
samir
Newbie
Posts: 15
Joined: Thu Jan 02, 2020 9:43 am

Re: error with tasking

Post by samir »

Tasking v6.3r1
eclipse gh61
Post Reply