Originally posted by: JasonLiu
Hi Seema, @SeemaPandhre 7520bce1-d259-44ed-ba22-6bd9ad32a7ca
Thanks for your response. In order to better assist you with the issue, could you let us know the following information?
1. Your xlc compiler version. You can use -qversion option to obtain this information.
2. The AIX OS level you are running on.
3. The compiler command that produced the error that you posted:
"../../include/ntp_fp.h", line 355.41: 1506-276 (S) Syntax error: possible missing identifier?
"../../include/ntp_fp.h", line 355.17: 1506-282 (S) The type of the parameters must be specified in a prototype.
"/usr/include/sys/uio.h", line 86.56: 1506-275 (S) Unexpected text offset_t encountered.
"/usr/include/sys/uio.h", line 87.57: 1506-275 (S) Unexpected text offset_t encountered.
"/usr/include/sys/xmem.h", line 228.13: 1506-046 (S) Syntax error.
"/usr/include/sys/uio.h", line 97.9: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 657.9: 1506-046 (S) Syntax error.
"/usr/include/sys/socket.h", line 666.9: 1506-046 (S) Syntax error.
"/usr/include/sys/resource.h", line 241.9: 1506-046 (S) Syntax error.
One of the make command that you used in either step2, or step3, issued a compiler command that generated those errors. So it would be helpful if you could figure out which compiler command generated those errors.
4. Preprocessed source file you are trying to compile with. After you get the compiler command that generated those errors, please add in the option -P at the end of that command. The compiler will generate a preprocessed source file with suffix '.i' in the directory you execute the compiler command, then you can attach that preprocessed source here.
Thanks,
Jason Liu
#C/C++andFortran#Ask-Question-Here--General-Compiler-Q-and-A