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

Bug 395031

Summary: net-analyzer/tcpdump-4.2.0 USE=-ipv6 - print-babel.c:(.text+0x1e): undefined reference to `ip6addr_string'
Product: Gentoo Linux Reporter: Andrey Grozin <grozin>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: musv, stefan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/tracker/?func=detail&aid=3461436&group_id=53066&atid=469575
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
tcpdump-4.2.0-ipv6.patch

Description Andrey Grozin gentoo-dev 2011-12-17 06:11:04 UTC
print-babel.o: In function `format_address':
print-babel.c:(.text+0x20): undefined reference to `ip6addr_string'
print-babel.o: In function `format_prefix':
print-babel.c:(.text+0xfd): undefined reference to `ip6addr_string'
collect2: ld returned 1 exit status
make: *** [tcpdump] Error 1
 * ERROR: net-analyzer/tcpdump-4.2.0 failed (compile phase):
 *   emake failed

On my computers, ipv6 is disabled everywhere, because all routers (both in the Institute and in the home network) don't support it. ipv6 support should be optional.

Reproducible: Always
Comment 1 Andrew Savchenko gentoo-dev 2011-12-17 11:37:22 UTC
Created attachment 296115 [details]
build.log

same here with tcpdump-4.2.0
Comment 2 Andrew Savchenko gentoo-dev 2011-12-17 11:38:03 UTC
Created attachment 296117 [details]
emerge --info
Comment 3 Andrew Savchenko gentoo-dev 2011-12-17 11:48:40 UTC
Created attachment 296119 [details, diff]
tcpdump-4.2.0-ipv6.patch

Should fix the problem.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-17 14:29:02 UTC
Oh, forgot to thank you for reporting and for the patch.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-19 01:32:33 UTC
*** Bug 395217 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-19 01:33:10 UTC
oh btw, upstream didn't like the patch. :)