[Bug 57] New: Default extensions Makefile breaks with NO_SHARED_LIBS and DO_IPV6

bugzilla-daemon@netfilter.org bugzilla-daemon@netfilter.org
Thu, 27 Feb 2003 15:43:51 +0100


           Summary: Default extensions Makefile breaks with NO_SHARED_LIBS
                    and DO_IPV6
           Product: iptables userspace
           Version: 1.2.7a
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: iptables
        AssignedTo: laforge@netfilter.org
        ReportedBy: rpb@community.net.uk
                CC: netfilter-buglog@lists.netfilter.org

With DO_IPV6 undefined and NO_SHARED_LIBS defined the "extensions" Makefile 
incorrectly tries to include the IPv6 extensions.

I found this while trying to build a small iptables user space command for an 
embedded system with no IPv6 and no shared libraries.

Actually, while we're at it it would make more sense for the DO_IPV6 flag to be 
more "configurable" than simply testing for netinet/ip6.h on the build system.  
That test is no good if there's no IPv6 on the target system.

[and I don't mean autoconf, I mean just having a simple DO_IPV6 = 1 in the top 
block of the Makefile just like the NO_SHARED_LIBS flag]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.