Hi Derek, thank goodness I found my way back to this thread, since I was trying to figure out where the RTCS component was in KDS. :smileyhappy:
I see you've recommended that we copy the RTCS source code into our project. I've done that and imported it into my Sources folder in the IDE. This resulted in several, expected compilation errors. I was able to resolve some of them quite easily by adding the necessary paths to the includes section in Cross ARM C Compiler. However, now I'm trying to fix one that's quite baffling:
Description Resource Path Location Type
static declaration of 'strdup' follows non-static declaration getaddrinfo.c /MQX_KSDK_PEx/Sources/rtcs/source/if line 73 C/C++ Problem
The declaration is this:
static char * strdup(const char *s)
The actual implementation of the function matches it perfectly, so I'm not sure what the fuss is all about. For now, I've just commented out strdup because it doesn't look like it's being used. I've resolved all of the compiler errors, except that now I just get the following ambiguous build error:
Description Resource Path Location Type
make: *** [MQX_KSDK_PEx.elf] Error 1 MQX_KSDK_PEx C/C++ Problem
Can you recommend any strategies for determining the source of this error? Also, one thing I had also done (possibly erroneously) was to add an ENET Process Expert component to my project. Do I even need that?