As seen in bug #664128 comment #9, autoheader generates src/include/ndpi_config.h which then defines PACKAGE* and VERSION which makes external users of those headers complain.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0f328f896c6dcaab28fa11f9f358dc3ec839e4 commit 0a0f328f896c6dcaab28fa11f9f358dc3ec839e4 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2020-01-28 11:40:57 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2020-01-28 11:53:09 +0000 net-libs/nDPI: Hack around PACKAGE* autoheader definitions autogen.sh patches the autogenerated configure script to hide the PACKAGE* variables from ndpi_config.h, and so should we. Package-Manager: Portage-2.3.85, Repoman-2.3.20 Closes: https://bugs.gentoo.org/show_bug.cgi?id=704074 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-libs/nDPI/nDPI-3.0-r2.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+)