Project

General

Profile

Bug #2292

Compiling against ipv6-disabled uclibc fails with "undefined reference to `in6addr_any'"

Added by ako673de over 8 years ago. Updated about 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
2011-01-24
Due date:
2011-01-28
% Done:

100%

Estimated time:
Missing in 1.5.x:
No

Description

...in "network.c" - even if ./configure option --disable-ipv6 is selected. I tried with the trunk builds 1992 and 2776, but both show the same behaviour.

I need the "mod-proxy-core" features of v1.5.0, so please don't refer me to 1.4.x versions (I know some of them do compile correctly on my NAS - well, at least somebody out there managed to...).

However, while this issue seems to be around for quite a while: Am I really the only person to encounter it? Or am I doing something basically wrong (over and over again for days now)?

Help would be greatly appreciated.

best regards
ako673de

no-ipv6.patch (416 Bytes) no-ipv6.patch bert, 2013-09-13 10:59

Related issues

Has duplicate Bug #2310: --disable-ipv6 not workingDuplicate2011-05-03

Actions

Associated revisions

Revision 2907 (diff)
Added by stbuehler about 6 years ago

fix ipv6 disabling (fixes #2292, thx bert)

having ntop should not automatically enable ipv6, especially if ipv6 was
disabled in the configure options.

From: Stefan B├╝hler <>

History

#1

Updated by stbuehler over 8 years ago

  • Assignee deleted (ako673de)
  • Priority changed from High to Normal
Well, you could try to either:
  • just build uclibc with ipv6 too (it's da future!!!)
  • remove line 65 in src/socket.h: #define HAVE_IPV6
#2

Updated by bert about 6 years ago

I've enclosed a patch which removes the offending line, and the obsolete lines around it.

Also, bug #2310 is a duplicate of this bug, but I don't have a way to mark it as such apparently.

#3

Updated by stbuehler about 6 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2907.

Also available in: Atom