[SLE] installing perl IPTables::IPv4 in suse 9.2

From: Rob Freeman (jagaholic_at_gmail.com)
Date: 12/31/04

  • Next message: C Hamel: "Re: [SLE] No module symbols loaded"
    Date: Fri, 31 Dec 2004 07:12:43 -0800
    To: suse-linux-e@suse.com
    
    

    Has anyone been able to install the perl module IPTables::IPv4? I run
    perl -MCPAN -e shell and then install IPTables::IPv4, but get this
    error:

    /usr/src/linux/include/linux/byteorder/little_endian.h:85: error: `__be16' undec
    lared (first use in this function)
    /usr/src/linux/include/linux/byteorder/little_endian.h:85: error: parse error be
    fore "__swab16p"
    /usr/src/linux/include/linux/byteorder/little_endian.h: At top level:
    /usr/src/linux/include/linux/byteorder/little_endian.h:87: warning: type default
    s to `int' in declaration of `__be16'
    /usr/src/linux/include/linux/byteorder/little_endian.h:87: error: parse error be
    fore '*' token
    /usr/src/linux/include/linux/byteorder/little_endian.h: In function `__be16_to_c
    pup':
    /usr/src/linux/include/linux/byteorder/little_endian.h:89: error: `p' undeclared
     (first use in this function)
    In file included from /usr/src/linux/include/net/protocol.h:30,
                     from /usr/src/linux/include/linux/netfilter_ipv4.h:11,
                     from /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:26
    ,
                     from include/libiptc/libiptc.h:6,
                     from IPv4.xs:28:
    /usr/src/linux/include/linux/ipv6.h: At top level:
    /usr/src/linux/include/linux/ipv6.h:19: error: redefinition of `struct in6_pktin
    fo'
    In file included from /usr/src/linux/include/linux/netfilter_ipv4.h:11,
                     from /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:26
    ,
                     from include/libiptc/libiptc.h:6,
                     from IPv4.xs:28:
    /usr/src/linux/include/net/protocol.h:38: warning: `struct sk_buff' declared ins
    ide parameter list
    /usr/src/linux/include/net/protocol.h:38: warning: its scope is only
    this definition or declaration, which is probably not what you want
    /usr/src/linux/include/net/protocol.h:39: error: parse error before "u32"
    /usr/src/linux/include/net/protocol.h:39: warning: `struct sk_buff'
    declared inside parameter list
    /usr/src/linux/include/net/protocol.h:47: warning: `struct sk_buff'
    declared inside parameter list
    /usr/src/linux/include/net/protocol.h:52: warning: `struct
    inet6_skb_parm' declared inside parameter list
    /usr/src/linux/include/net/protocol.h:52: warning: `struct sk_buff'
    declared inside parameter list
    /usr/src/linux/include/net/protocol.h:62: error: field `list' has
    incomplete type
    IPv4.xs: In function `XS_IPTables__IPv4__Table_set_policy':
    IPv4.xs:329: warning: dereferencing type-punned pointer will break
    strict-aliasing rules
    make: *** [IPv4.o] Error 1
      /usr/bin/make -- NOT OK
    Running make test
      Can't test without successful make
    Running make install
      make had returned bad status, install seems impossible

    Tried exporting export LANG=en_US and export LC_ALL="C" but no luck.

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: C Hamel: "Re: [SLE] No module symbols loaded"

    Relevant Pages

    • BLT compilation
      ... I am trying to install BLT package on my ubuntu machine. ... checking for gcc... ... checking whether the C compiler works... ... checking whether declaration is needed for drand48... ...
      (comp.lang.tcl)
    • Re: Have I got a 3 Phase Supply?
      ... you're going to have to get an electrician to install a 3 phase distribution ... They won't connect without such a declaration ... Then they'll come and install a three phase ... you should have an earth rod and an RCD for the whole of the existing ...
      (uk.rec.models.engineering)
    • Installing mongrel.
      ... Hey I am having some trouble install the mongrel gem. ... follows non-static declaration ... declaration of 'rb_mutex_locked_p' was here ...
      (comp.lang.ruby)
    • Problem compiling helios-qmail
      ... I'm trying install helios-qmail which ... that on FreeBSD 4.x it was possible to install it, ... readwrite.h:4: error: previous declaration of 'read' was here ...
      (freebsd-questions)
    • Thank you for the advice Re: download Modules from CPAN and then load into Perl Question
      ... I have done more reading and worked on my Linux system at home and a few ... So far I have had decent luck with CPAN installing the modules okay. ... and make the html page call the cgi / perl module and return the ... > install the distro and what your installation options are. ...
      (comp.lang.perl.modules)