On 9/20/18 6:57 PM, [email protected] wrote:
>
> Thanks for pointing to old threads.
> I was able to find root cause of this issue, somewhere in LKML.
> And was forced to patch and recompile some more freeware tools, like "tar"
> and "make", used in our development environment.
>
> Sad truth about all that - lack of consistent LARGEFILE support in GNU
> header files and Makefiles/autoconfig/etc...
>
> There is no magic - someone has to write some code between #if and #endif :(
Yes. My answer assumes you're using the `standard' AIX header files, which
should #define opendir as opendir64 if _LARGE_FILES is defined. Similarly
for dirent64/readdir64/closedir64.
If you're using replacement GNU header files, yes, similar code will have
to be in those header files.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/