Skip to content

configure --enable-code-coverage fails #8425

@gaoxingwang

Description

@gaoxingwang

I did this

I am trying to get a code coverage report, so i added an option '--enable-code-coverage'.
It looks like this:

./configure --enable-code-coverage  ... --with-libpsl --with-libssh

However,./configure failed with the following error message:

configure: error: couldn't find libraries for gethostbyname()

I expected the following

./configure--enable-code-coverage should be available.

curl/libcurl version

7.79.1

operating system

[root@openEuler SOURCES]# uname -a
Linux openEuler 5.10.0-39.0.0.21.oe1.x86_64 #1 SMP Mon Jan 17 09:20:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions