"CCI compilation error" on Linux Load Generator
I am trying to run a WEb HTTP/HTML script in a LR Controller (v 12.5) scenario that runs it on a Linux Load Generator. The vuser errors out with these two messages -
Error: CCI compilation error -/tmp/brr_G6GOHp/global_dir/21578919/pre_cci.c: /tmp/brr_G6GOHp/netdir/C/XXX_YYY/XXX_Yyyyyy_script/xslTransform.c:5: error: undeclared identifier `i_dataElementCount'.
Error: Vuser compilation failed. Please set CCIDebug to Off in CCI section of mdrv.dat file.
The script compiles and runs fine on VuGen, or on a Windows Load Generator. Does it mean we have to change mdrv.dat? What does it mean to set CCIDebug to Off?
Hoping someone would be able to advise. Thank you.
Thank you for your response. After some step debugging, we were able to isolate the issue to a #ifdef piece of code in our globals.h.
#ifdef unix char * s_personDataDelimitedFileName = "/xxx_home/YYYYYY/Request/personData.dat"; #else char * s_personDataDelimitedFileName = "c:\\temp\\personData.dat";
This piece of code alongwith a couple of
const char s_personDataXsl = "<XML_StyleSheet_here><49_KB_size>" const char s_personDataXml = "<XML_here><5_KB_size>"
declarations were throwing compilation errors about other variables not being declared, like the i_dataElementCount I mention in my question.
Afer trying out a few options, we zeroed in on removing the #ifdef code so that the script gets compiled and executed properly on the Linux LG.
I am still not sure why exactly it works, but, for now, our "fix" seems to be working. Please note, we never had problem with the same code on VuGen, or on a Windows 2012 Server LG.
Please do share your thoughts. Thank you.