in reply to libdnet make fails

Thank you for the reply. The output shown is the complete output from make. The module is as downloaded from CPAN Net::Libdnet (Net-Libdnet-0.92). I will look at the include files as you suggested. It will take a bit of time being a noob at this. I am attempting to get Net::Packet installed and working on Ubuntu 9.10 so that I can run the following perl script and do some testing of code fixes in other devices and systems.
my $host = shift; my $port = shift; use Net::Packet qw($Env); use Net::Packet::IPv4; my $ip = Net::Packet::IPv4->new(dst => $host); use Net::Packet::TCP; my $tcp = Net::Packet::TCP->new( dst => $port, options => "\x65\x02\x01\x01", ); use Net::Packet::Frame; my $frame = Net::Packet::Frame->new(l3 => $ip, l4 => $tcp); $frame->send;

Replies are listed 'Best First'.
Re^2: libdnet make fails
by itsayush (Initiate) on Jul 08, 2010 at 15:51 UTC
    Not sure if you are still here. For everyones benefit, ill tell you how i made it work. Since i had no need of working with Tunnel interfaces, i removed all references to tun_t / TunHandle from .xs file. And it works. Btw, you might want to use Net::Frame as thats the one which is used. Net::Packet is deprecated