LINUX.ORG.RU

perl Net-Arping


0

0

Никак не могу собрать модуль Net-Arping-0.02 для perl, все ругается нехорошими словами. Ругается как я понял именно на libnet. Либнет и pcap брал последние (stable vers.) Вобщем все как написанов в Net-Arping-0.02.README, но результат такой же... OC стоит Linux SuSE 9 Enterprise. Сам модуль (весит 4k) находится на http://ftp.citkit.ru/pub/CPAN/authors/id/C/CR/CRAZYDJ

В чем может быть проблема? Help...HELP

================================ [root@angel]:# make cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasin g -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686 -fmessag e-length=0 -Wall -g -Wall -pipe -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/u sr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE" -D_BSD_SOURCE -D__BSD_SOURCE -D__FAV OR_BSD -DHAVE_NET_ETHERNET_H Arping.c Arping.xs: In function `XS_Net__Arping_send_arp': Arping.xs:116: warning: implicit declaration of function `libnet_name_resolve' Arping.xs:124: warning: passing arg 1 of `libnet_select_device' from incompatible poin ter type Arping.xs:124: error: too many arguments to function `libnet_select_device' Arping.xs:130: warning: implicit declaration of function `libnet_open_link_interface' Arping.xs:130: warning: assignment makes pointer from integer without a cast Arping.xs:135: warning: implicit declaration of function `libnet_get_ipaddr' Arping.xs:140: error: `LIBNET_IP_H' undeclared (first use in this function) Arping.xs:140: error: (Each undeclared identifier is reported only once Arping.xs:140: error: for each function it appears in.) Arping.xs:143: warning: implicit declaration of function `libnet_init_packet' Arping.xs:148: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible pointer type Arping.xs:148: error: too many arguments to function `libnet_get_hwaddr' Arping.xs:148: warning: assignment from incompatible pointer type Arping.xs:156: warning: passing arg 6 of `libnet_build_ethernet' from incompatible poi nter type Arping.xs:156: error: too few arguments to function `libnet_build_ethernet' Arping.xs:161: warning: passing arg 12 of `libnet_build_arp' from incompatible pointer type Arping.xs:161: error: too few arguments to function `libnet_build_arp' Arping.xs:185: warning: implicit declaration of function `libnet_write_link_layer' Arping.xs:196: warning: implicit declaration of function `libnet_close_link_interface' Arping.xs:197: warning: implicit declaration of function `libnet_destroy_packet' make: *** [Arping.o] Error 1 ======================


Re: perl Net-Arping

ставьте асплинух если не хотите секса

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.