Люди подскажите как установить libnet.
Я скачал libnet-0.10.11.tar.gz
Расжал.
cd libnet
Переименовал и скопировал фаил libnet/makfiles/linux.mak
libnet/port.mak и
libnet/lib/port.mak
make
==============================================
root@ubuntu:~/soft/libnet# make make -C lib/ lib make[1]: Вход в каталог `/home/ks/soft/libnet/lib'
gcc -O2 -Wall -Werror -Wno-unused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -I../include -Iinclude -DTARGET_LINUX -c -o core/config.o core/config.c
cc1: warnings being treated as errors
core/config.c: In function ‘__libnet_internal__seek_section’:
core/config.c:87: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
core/config.c: In function ‘__libnet_internal__get_setting’:
core/config.c:111: error: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
make[1]: *** [core/config.o] Ошибка 1
make[1]: Выход из каталога `/home/ks/soft/libnet/lib'
make: *** [lib] Ошибка 2
====================================================
Подскажите что он хочет от меня.