Thanks for the help. After deleting the build folder and trying again it built successfully. So probably just some old/bad build files that needed to be removed.
Robb -----Original Message----- From: Daniel Stenberg <[email protected]> Sent: Friday, April 15, 2022 3:41 PM To: Robb Schiefer <[email protected]> Cc: Robb Schiefer via curl-library <[email protected]> Subject: RE: Crosscompile with Dockcross On Fri, 15 Apr 2022, Robb Schiefer wrote: > What about the other error: > > "SIZEOF_CURL_OFF_T" is not defined > > I suspect it has something to do with using sysroot and crosscompiling? > > Any ideas how to fix? You are using the cmake build, it is subpar to the configure based one and has always been. I recommend the autotools build if you want most (working) build features. But: curl_off_t is a type defined in curl/system.h, which is a public header curl provides. cmake (and configure) checks for the size of that type when it runs. If that fails, then something is really wrong either in the script or the curl/system.h doesn't cover your system. But if you're on somewhat common system, it would surprise me if curl/system.h doesn't already support it. -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcurl.se%2Fsupport.html&data=04%7C01%7C%7C585664d7eafb4c78de6108da1f20355c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637856520445438695%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9itLve7mSPORDU1n2ZaMYblRJCS4SpN1%2F8YVT9leRGE%3D&reserved=0 -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
