Hi GDAL devs It appears as though ‘pread64’, introduced in 3.6.0, has broken building on iOS in the same way that other ‘…64’ errors used to occur on version 3.5.0 before being patched for 3.5.2.
The attached patch (text content also pasted below) allows the build to continue past that point for iOS (and Mac Catalyst). I’m just an ignorant hobbyist who doesn’t really understand a lot of this stuff, so please check that what I’ve done here is correct! :-) If it’s all OK, then please apply this (or similar) patch for the next release. (I’ll post my next error in a seperate email, shortly.) (PS. I’m VERY excited to be able to create/update fGDBs with 3.6.0!!! Thanks so much for all the work you guys do on this.) Cheers, Nik. --- configure.cmake.orig 2022-11-07 07:09:20 +++ configure.cmake 2022-11-12 11:39:42 @@ -280,6 +280,7 @@ unset(HAVE_FSEEK64 CACHE) unset(HAVE_STATVFS64) unset(HAVE_STATVFS64 CACHE) + unset(HAVE_PREAD64 CACHE) endif() set(UNIX_STDIO_64 TRUE)
configure.cmake.PATCH
Description: Binary data
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev