-
Notifications
You must be signed in to change notification settings - Fork 24
libcurl 7.36.0.mk
Mark Johnson edited this page May 8, 2018
·
15 revisions
curl 7.36.0 - for Rasterlite2
The original source code archive can be found in the archive
directory
Note: this version contains code that make it difficult to compile for 64 bit versions
compile errors
curl-7.36.0/include/curl/curlrules.h
:142:3: error: size of array '__curl_rule_01__' is negative
;152:3: error: size of array '__curl_rule_02__' is negative
- cause
- during
./ configure
on 64-bit machineCURL_SIZEOF_CURL_OFF_T
-
CURL_SIZEOF_CURL_OFF_T
- were set to
8
sizeof(long)
- were set to
- this is later check while compiling
- and it seems that it should be
4
- and it seems that it should be
-
code changes
-
curl-7.36.0/include/curl/curlbuild.h
#define CURL_SIZEOF_LONG 4
#define CURL_SIZEOF_CURL_OFF_T 4
-
curl-7.36.0/src/tool_xattr.c:25:66: fatal error: sys/xattr.h: No such file or directory
-
<linux/xattr.h>
instead of<sys/xattr.h>
`
-
-
- code changes 2018-03-10
/* The size of `long', as computed by sizeof. */
#if __SIZEOF_POINTER__ == 8
#define CURL_SIZEOF_LONG 8
#else
#define CURL_SIZEOF_LONG 4
#endif
32 bit: __SIZEOF_POINTER__=4
64 bit: __SIZEOF_POINTER__=8
2018-03-10: Mark Johnson, Berlin Germany