This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/AM5728: IPC example build error

Part Number: AM5728

Tool/software: TI-RTOS

Hi,

I want to compile IPC example:

ti/ipc_3_47_01_00/examples/DRA7XX_linux_elf/ex02_messageq

First, the xs generates an error and was not able to find the JAVA.  So I install the JAVA on my Ubuntu and then run:

export XDCTOOLS_JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

After making the project, the XDC tools generates hundreds of source files, AND ONE OF THE SOURCE FILE HAS COMPILATION ERROR!!

cle66 package/cfg/Dsp1_pe66.c ...
"package/cfg/Dsp1_pe66.c", line 30755: error: a parameter may not have void type
"package/cfg/Dsp1_pe66.c", line 30755: error: declaration is incompatible with "void ti_deh_Watchdog_init__E(void (*)(void))" (declared at line 318 of "/opt/ti/ipc_3_47_01_00/packages/ti/deh/Watchdog.h")
"package/cfg/Dsp1_pe66.c", line 30757: warning: argument of type "void (*)(<error-type>)" is incompatible with parameter of type "void (*)(void)"
2 errors detected in the compilation of "package/cfg/Dsp1_pe66.c".

FYI, I am using JAVA 8 and I believe the SDK package uses JAVA 7.

Here is the code that has the error:

/* init__E */
xdc_Void ti_deh_Watchdog_init__E( xdc_Void (*timerFxn)(xdc_Void __arg1) )
{
ti_deh_Watchdog_init__F(timerFxn);
}

I was not able to find 'ti_deh_Watchdog_init__F' in any other places in all source code(e.g. grep -r ti_deh_Watchdog_init__F).

Any idea?

Thanks

kia