I have no clues as to the issue with this. I've read through the docs on CPAN and googled as well. Any clues would be appreciated. This is a fresh download of Net::RawIP. pcap is correctly in place. Stuff like Net::DNS compile fine. Thanks
[root@piranha_tp1 Net-RawIP-0.1]# make cp RawIP.pm blib/lib/Net/RawIP.pm AutoSplitting blib/lib/Net/RawIP.pm (blib/lib/auto/Net/RawIP) cp RawIP/libpcap.pod blib/lib/Net/RawIP/libpcap.pod /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/ +perl5/5.8.5/ExtUtils/typemap -typemap typemap RawIP.xs > RawIP.xsc & +& mv RawIP.xsc RawIP.c gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -f +no-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_ +FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 + -mtune=pentium4 -DVERSION=\"0.1\" -DXS_VERSION=\"0.1\" -fPIC "-I/u +sr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" -D_LINUX_ -D_ETH_ - +D_IFLIST_ -D_GLIBC_ RawIP.c RawIP.xs: In function `ip_opts_creat': RawIP.xs:444: error: label at end of compound statement RawIP.xs: In function `tcp_opts_creat': RawIP.xs:543: error: label at end of compound statement RawIP.xs: In function `XS_Net__RawIP_tcp_pkt_parse': RawIP.xs:764: warning: use of cast expressions as lvalues is deprecate +d RawIP.xs:790: warning: use of cast expressions as lvalues is deprecate +d RawIP.xs: In function `XS_Net__RawIP_icmp_pkt_parse': RawIP.xs:823: warning: use of cast expressions as lvalues is deprecate +d RawIP.xs: In function `XS_Net__RawIP_generic_pkt_parse': RawIP.xs:863: warning: use of cast expressions as lvalues is deprecate +d RawIP.xs: In function `XS_Net__RawIP_udp_pkt_parse': RawIP.xs:897: warning: use of cast expressions as lvalues is deprecate +d RawIP.xs: In function `XS_Net__RawIP_dispatch': RawIP.xs:1289: warning: use of cast expressions as lvalues is deprecat +ed RawIP.xs: In function `XS_Net__RawIP_loop': RawIP.xs:1311: warning: use of cast expressions as lvalues is deprecat +ed make: *** [RawIP.o] Error 1

In reply to RawIP compile problems by welshkc

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.