Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708306

Summary: net-dns/dnstop - dnstop.o:dnstop.c:function report: error: undefined reference to 'stdscr'
Product: Gentoo Linux Reporter: Red <redblade7>
Component: Current packagesAssignee: Hendrik v. Raven <hendrik>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint, redblade7
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=601902
https://bugs.gentoo.org/show_bug.cgi?id=595184
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    

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