Carter Cheng Posted March 30, 2018 Posted March 30, 2018 I have been trying to compile some packages that do work on the x86 platform and versions of Ubuntu and Debian but it seems like this define is missing so the program in question cannot compile a specific syscall in the file. Is SYS_getdents defined in the standard location unistd.h? I looked at the header but had some difficulties working through some of the defines. Thanks, Carter.
Carter Cheng Posted March 30, 2018 Author Posted March 30, 2018 Actually I am still wondering about this issue even though I resolved the problem by changing SYS_getdents in the file to SYS_getdents64. My grep of usr/include however doesn't show that SYS_getdents is defined anywhere. Is this deliberate?
Recommended Posts