Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 4774
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Maik Schreiber <blizzy-keyword-gentoo_bugs2.a8a736@blizzy.de>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ntop-2.0.99_rc2-r2.tgz ntop-2.0.99_rc2-r2.tgz application/octet-stream Markus Krainer 2002-07-10 23:54 0000 2.16 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 4774 depends on: Show dependency tree
Bug 4774 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-07-09 17:59 0000
.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

------- Comment #1 From Maik Schreiber 2002-07-09 18:27:30 0000 -------

*** This bug has been marked as a duplicate of 4772 ***

------- Comment #2 From Markus Krainer 2002-07-10 23:52:34 0000 -------
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.



------- Comment #3 From Markus Krainer 2002-07-10 23:54:46 0000 -------
Created an attachment (id=2133) [details]
ntop-2.0.99_rc2-r2.tgz

The ebuild and the patch I used.

------- Comment #4 From Maik Schreiber 2002-07-11 07:47:25 0000 -------
*** Bug 4772 has been marked as a duplicate of this bug. ***

------- Comment #5 From Maik Schreiber 2002-07-11 07:48:11 0000 -------
*** Bug 4832 has been marked as a duplicate of this bug. ***

------- Comment #6 From Maik Schreiber 2002-07-11 08:21:05 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug