Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708306 - net-dns/dnstop - dnstop.o:dnstop.c:function report: error: undefined reference to 'stdscr'
Summary: net-dns/dnstop - dnstop.o:dnstop.c:function report: error: undefined referenc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hendrik v. Raven
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2020-02-05 03:13 UTC by Red
Modified: 2020-02-05 09:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Red 2020-02-05 03:13:43 UTC
net-dns/dnstop does not compile with errors such as:

dnstop.o:dnstop.c:function report: error: undefined reference to 'stdscr'

This is similar to bug 601902 regarding media-libs/libcaca and the workaround mentioned in Comment #8 also works for net-dns/dnstop:

--
I created the file /etc/portage/env/libcaca-fix.conf containing this line:

LDFLAGS="${LDFLAGS} -ltinfow"

Then I added this to my /etc/portage/package.env:

media-libs/libcaca libcaca-fix.conf

Now media-libs/libcaca compiles properly.
--
Comment 1 Jeroen Roovers gentoo-dev 2020-02-05 09:02:18 UTC
commit 0cfa6146a1621e772c3dbbc1a5be2573fb424518
Author: Michael Weber <xmw@gentoo.org>
Date:   Mon Nov 21 17:11:29 2016 +0100

    net-dns/dnstop: fix net-libs/libpcap[ipv6] situation, drop USE=ipv6, use pkg-config for ncurses[tinfo] (thanks lorem_ipsum and b4b1@free.fr, bug 595184).

    Package-Manager: portage-2.2.28