Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395031 - net-analyzer/tcpdump-4.2.0 USE=-ipv6 - print-babel.c:(.text+0x1e): undefined reference to `ip6addr_string'
Summary: net-analyzer/tcpdump-4.2.0 USE=-ipv6 - print-babel.c:(.text+0x1e): undefined ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
: 395217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-12-17 06:11 UTC by Andrey Grozin
Modified: 2011-12-19 01:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,100.25 KB, text/plain)
2011-12-17 11:37 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,5.59 KB, text/plain)
2011-12-17 11:38 UTC, Andrew Savchenko
Details
tcpdump-4.2.0-ipv6.patch (tcpdump-4.2.0-ipv6.patch,826 bytes, patch)
2011-12-17 11:48 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. :)