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://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to