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

IBMi build broken due to tool_hugehelp.c not being included into the build #16214

Closed
andrewkirillov-ibm opened this issue Feb 6, 2025 · 1 comment

Comments

@andrewkirillov-ibm
Copy link
Contributor

andrewkirillov-ibm commented Feb 6, 2025

I did this

Compile 8.12.0 on IBM i V7R4M0 system and got linker errors:

CPD5D02:  Definition not found for symbol 'showhelp'.
CPD5D02:  Definition not found for symbol 'hugehelp'.
CPF3C50:  Program CURL not created.

This can be either reproduced when building without SSL support. If with SLL, then a workaround suggested in issue #16209 could be used.

This issue is introduced by the next commit:
96843f4

Here tool_hugehelp.c was removed from src/Makefile.inc. However, IBMi make-src.sh build script collects source files to build using

get_make_vars Makefile.inc

As we have USE_MANUAL="'USE_MANUAL'", the rest of the code expects showhelp()/hugehelp() to be there. But those are no longer included into the build, which makes linker unhappy.

I expected the following

Clean build

curl/libcurl version

8.12.0

operating system

OS400 V7R4M0

@andrewkirillov-ibm
Copy link
Contributor Author

A fix, which worked for me, was to explicitly add tool_hugehelp.c into the list of source files to build in the make-src.sh.

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

No branches or pull requests

1 participant