Skip to content

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

Description

@andrewkirillov-ibm

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions