8000 compiling htop with gcc-10 fails · Issue #986 · hishamhm/htop · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
8000
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

compiling htop with gcc-10 fails #986

Open

Description

@nonamedotc

gcc-10 will be available in Fedora 32. Compiling htop using gcc-10 fails with the following messages

/usr/bin/ld: ClockMeter.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:159: multiple definition of `backtraceArray'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:159: first defined here
/usr/bin/ld: ClockMeter.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:153: multiple definition of `CRT_termType'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:153: first defined here
/usr/bin/ld: ClockMeter.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: multiple definition of `CRT_colors'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: first defined here
/usr/bin/ld: ColorsPanel.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: multiple definition of `CRT_colors'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: first defined here
/usr/bin/ld: ColorsPanel.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:159: multiple definition of `backtraceArray'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:159: first defined here
/usr/bin/ld: ColorsPanel.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:153: multiple definition of `CRT_termType'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:153: first defined here
/usr/bin/ld: ColumnsPanel.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: multiple definition of `CRT_colors'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: first defined here
/usr/bin/ld: ColumnsPanel.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:159: multiple definition of `backtraceArray'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:159: first defined here
/usr/bin/ld: ColumnsPanel.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:153: multiple definition of `CRT_termType'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:153: first defined here
/usr/bin/ld: CPUMeter.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: multiple definition of `CRT_colors'; CheckItem.o:/builddir/build/BUILD/htop-2.2.0/CRT.h:143: first defined here

Full build log here - https://kojipkgs.fedoraproject.org//work/tasks/9379/41319379/build.log

How can I address this? Thanks.

Activity

  1. uno20001 commented on Feb 4, 2020

    @uno20001

    There is a pull request (#981) that addresses the issue.

  2. nonamedotc commented on Feb 4, 2020

    @nonamedotc
    Author

    @uno20001 Thanks! I can confirm that this works.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0