[Bug 720] New: iptables no longer compiles for Linux 2.4 because it uses linux/magic.h

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Tue Jun 7 23:19:19 CEST 2011


http://bugzilla.netfilter.org/show_bug.cgi?id=720

           Summary: iptables no longer compiles for Linux 2.4 because it
                    uses linux/magic.h
           Product: iptables
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: iptables
        AssignedTo: netfilter-buglog at lists.netfilter.org
        ReportedBy: kenkyee at excite.com
   Estimated Hours: 0.0


This header and the PROC_SUPER_MAGIC macro are only for Linux 2.6.
It's used by xtables.c.
I tried this with the latest iptables 1.4.11

xtables.c:35:52: error: linux/magic.h: No such file or directory
xtables.c: In function 'proc_file_exists':
xtables.c:389: error: 'PROC_SUPER_MAGIC' undeclared (first use in this
function)
xtables.c:389: error: (Each undeclared identifier is reported only once
xtables.c:389: error: for each function it appears in.)


-- 
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.



More information about the netfilter-buglog mailing list