I figured it out. Newbie issue. I was missing the header for the includes and the function main.
For other newb's that stumble across this issue. The .c program is in fact a full on C program, which is a very good thing. You can do a tremendous amount in C.
If your getting the error that I had in my original post about missing a semicolon in the first line, make sure you have the following in your program at a minimum.
#include "KMotionDef.h"
main()
{
..... Your code goes here .....
}
I've attached the InitStepDir3Axis file with the correction to this post. If you look at the InitStepDir3Axis file attached to the previous post and the one attached to this post you can see the difference.
Hope this help someone,
Dennis