Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS400 build failed 7.74.0 #6292

Closed
jonrumsey opened this issue Dec 9, 2020 · 0 comments
Closed

OS400 build failed 7.74.0 #6292

jonrumsey opened this issue Dec 9, 2020 · 0 comments
Labels

Comments

@jonrumsey
Copy link
Contributor

I did this

Build 7.74.0 on IBM i V7R3M0

Command > CRTCMOD MODULE(CURLLIB/CCSIDCURL) SRCSTMF('/curl/src/curl-7.74.0/packages/OS400/ccsidcurl.c') SYSIFCOPT(*IFS64IO) OPTION(*INCDIRFIRST) LOCALETYPE(*LOCALE) FLAG(10) INCDIR('/qibm/proddata/qadrt/include' '/curl/src/curl-7.74.0/include/curl' '/curl/src/curl-7.74.0/include' '/curl/src/curl-7.74.0/packages/OS400' '/curl/src/curl-7.74.0/packages/OS400' '/curl/src/curl-7.74.0/lib') TGTCCSID(37) TGTRLS(*CURRENT) OUTPUT(*NONE) OPTIMIZE(40) DBGVIEW(*NONE) DEFINE( BUILDING_LIBCURL) <
CZM1003: /curl/src/curl-7.74.0/packages/OS400/ccsidcurl.c, 1061.17: CZM0275(30) Unexpected text ')' encountered.
CZM1003: /curl/src/curl-7.74.0/packages/OS400/ccsidcurl.c, 1061.8: CZM0045(30) Undeclared identifier cfcdata.
CZM1003: /curl/src/curl-7.74.0/packages/OS400/ccsidcurl.c, 1061.22: CZM0277(30) Syntax error: possible missing ')' or ','?
CZM1003: /curl/src/curl-7.74.0/packages/OS400/ccsidcurl.c, 1088.11: CZM0275(30) Unexpected text lcfc encountered.
CZM1003: /curl/src/curl-7.74.0/packages/OS400/ccsidcurl.c, 1088.3: CZM0045(30) Undeclared identifier cfcdata.
CZM1003: /curl/src/curl-7.74.0/packages/OS400/ccsidcurl.c, 1090.3: CZM0045(30) Undeclared identifier lcfc.
CZS0601: Module CCSIDCURL is not created because statement errors occurred.
CZM0613: The compilation failed.

I believe cfcdata declarations and casts need to be qualified with a 'struct' on lines 1056, 1061 and 1088.

I expected the following

Clean build

curl/libcurl version

7.74.0

operating system

IBM i V7R3M0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants