.libs/libntopreport.so: undefined reference to `allow_severity' .libs/libntopreport.so: undefined reference to `deny_severity' collect2: ld returned 1 exit status make[2]: *** [ntop] Error 1 make[2]: Leaving directory `/var/tmp/portage/ntop-2.0.99_rc2-r1/work/RC2/ntop' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ntop-2.0.99_rc2-r1/work/RC2/ntop' make: *** [all-recursive-am] Error 2
*** This bug has been marked as a duplicate of 4772 ***
There are IMHO 2 problems: 1. you can't disable tcpwrap support (--disable-tcpwrap doesn't work) 2. tcpwrap support breaks ntop. First was resolved by Maik with making tcpwrap a dependency. I looked into the second and it looks like the problem is that allow_severity and deny_severity are declared 'extern int' in /usr/include/tcpd.h but are nowhere defined (don't know if they should be in libwrap.a). As they are used in webInterface.c I wrote a patch to put them in there. This works for me, but I think the better solution is to mask all 2.0.99_rc2 versions.
Created attachment 2133 [details] ntop-2.0.99_rc2-r2.tgz The ebuild and the patch I used.
*** Bug 4772 has been marked as a duplicate of this bug. ***
*** Bug 4832 has been marked as a duplicate of this bug. ***
Markus' patch works fine for me, good work! I'm now checking in ntop-2.0.99_rc2-r2 with the patch as well as masking it out for the time being. Please check if it works for you, too.