Hi,
I am trying to compile curl-7.61.0 on Z/OS V2R3. I got the following error,
ERROR CCN3166 ./curl_threads.h:54 Definition of function pthread_t requires parentheses.
ERROR CCN3276 ./curl_threads.h:54 Syntax error: possible missing '{'?
ERROR CCN3285 ./curl_threads.c:52 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3285 ./curl_threads.c:53 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3166 ./curl_threads.c:62 Definition of function pthread_t requires parentheses.
ERROR CCN3276 ./curl_threads.c:62 Syntax error: possible missing '{'?
ERROR CCN3045 ./curl_threads.c:64 Undeclared identifier pthread_t.
ERROR CCN3045 ./curl_threads.c:64 Undeclared identifier t.
ERROR CCN3043 ./curl_threads.c:65 The operand of the sizeof operator is not valid.
WARNING CCN3196 ./curl_threads.c:65 Initialization between types "pointer to an incomplete type" and "int" is not allowed.
ERROR CCN3285 ./curl_threads.c:69 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3045 ./curl_threads.c:69 Undeclared identifier func.
ERROR CCN3285 ./curl_threads.c:70 The indirection operator cannot be applied to a pointer to an incomplete struct or union.
ERROR CCN3045 ./curl_threads.c:70 Undeclared identifier arg.
ERROR CCN3275 ./curl_threads.c:80 Unexpected text ')' encountered.
ERROR CCN3277 ./curl_threads.c:80 Syntax error: possible missing ')' or ','?
ERROR CCN3275 ./curl_threads.c:85 Unexpected text ')' encountered.
ERROR CCN3045 ./curl_threads.c:85 Undeclared identifier hnd.
ERROR CCN3277 ./curl_threads.c:85 Syntax error: possible missing ')' or ','?
ERROR CCN3277 ./curl_threads.c:91 Syntax error: possible missing ')' or ','?
ERROR CCN3045 ./curl_threads.c:93 Undeclared identifier hnd.
ERROR CCN3275 ./curl_threads.c:96 Unexpected text ')' encountered.
ERROR CCN3277 ./curl_threads.c:96 Syntax error: possible missing ')' or ','?
CCN0793(I) Compilation failed for file ./curl_threads.c. Object file not created.
Is anything I missed?
Thanks in advance.
Thanks,
Mani
jmani20