$ /usr/vacpp/bin/xlC_r -O -q64 -c /opt/IBM/InformationServer/Server/PXEngine/include strrevop.c -o strrevop_temp.o
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_framework/osh_name.h", line 23.10: 1506-296 (S) #include file <apt_util/string.h> not found.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_framework/osh_name.h", line 27.10: 1506-296 (S) #include file <apt_util/ustring.h> not found.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_framework/osh_name.h", line 31.10: 1506-296 (S) #include file <apt_util/converter_registry.h> not found.
I have already defined the exact path for these headers but i dont know why still i am getting above error
Try using absolute paths (give full path for each .h file) rather than relative paths. Relative paths are only relative to the current working directory, which can change.
Choose a job you love, and you will never have to work a day in your life. - Confucius
dsadm@ait-etl01dev:/home/dsadm/pras $ /usr/vacpp/bin/xlC_r -O -q64 -c -I/opt/IBM/InformationServer/Server/PXEngine/include myhelloworld.c -o myhelloworld_temp.o
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/ints.h", line 82.9: 1506-166 (S) Definition of function u_quad_t requires parentheses.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/ints.h", line 84.10: 1506-296 (S) #include file <strstream> not found.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/ints.h", line 140.15: 1506-294 (S) Syntax error in expression on #if directive.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/ints.h", line 82.25: 1506-276 (S) Syntax error: possible missing '{'?
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/ints.h", line 145.19: 1506-260 (S) Octal integer constant 0i64 is not valid.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/ints.h", line 145.11: 1506-045 (S) Undeclared identifier value.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h", line 30.1: 1506-166 (S) Definition of function class requires parentheses.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h", line 30.7: 1506-276 (S) Syntax error: possible missing '{'?
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h", line 37.1: 1506-166 (S) Definition of function class requires parentheses.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h", line 37.7: 1506-276 (S) Syntax error: possible missing '{'?
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h", line 46.5: 1506-045 (S) Undeclared identifier friend.
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h", line 49.5: 1506-058 (S) Label public has already been defined on line 47 of "/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h".
"/opt/IBM/InformationServer/Server/PXEngine/include/apt_util/fast_alloc_holder.h", line 50.37: 1506-277 (S) Syntax error: possible missing ';' or ','?
/usr/vacpp/bin/xlC_r: 1501-230 (S) Internal compiler error; please contact your Service Representative. For more information visit:
I am not using <strstream> header in the code,but still i am getting an error