Actually You shouldn't get error because, run_script is defined in script.c only(the code is in script.c), I compiled and didn't got any run_script error(using MSVC 2010), Anyways, as there is renewal phase change, I will change it to script->run.