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.

Syslink optimized build errors

I am trying to optimize my build procedures for Syslink and am experimenting with the SYSLINK_BUILD_OPTIMIZE option. When I set this to 0 as I have up to this point everything builds and runs correctly, however when I set it to 1 I get build failures. Is this a known issue and if so is there a fix?

This is a snippet of the build output where it fails:

/home/user/sdk/ezsdk_5_04_00_11/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/usr/NameServer.c: In function 'NameServer_open':
/home/user/sdk/ezsdk_5_04_00_11/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/usr/NameServer.c:616: error: 'status' undeclared (first use in this function)
/home/user/sdk/ezsdk_5_04_00_11/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/usr/NameServer.c:616: error: (Each undeclared identifier is reported only once
/home/user/sdk/ezsdk_5_04_00_11/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/usr/NameServer.c:616: error: for each function it appears in.)
/home/user/sdk/ezsdk_5_04_00_11/component-sources/syslink_2_10_03_20/packages/ti/syslink/utils/hlos/usr/NameServer.c:617: warning: control reaches end of non-void function
make[3]: *** [/home/user/sdk/ezsdk_5_04_00_11/component-sources/syslink_2_10_03_20/packages/ti/syslink/obj/.objs/usr/debug/NameServer.o] Error 1

Thanks in advance