Installation issue -- libnet
[root@host10 libnet]# uname -a
Linux host10.noc.sltidc.lk 2.6.18-308.4.1.el5 #1 SMP Wed Mar 28 01:54:56 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux [root@host10 libnet]# make make -C lib/ lib make[1]: Entering directory `/data/software/libnet/lib' gcc -O2 -Wall -Werror -Wno-unused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -I../include -Iinclude -DTARGET_LINUX -c -o drivers/internet.o drivers/internet.c cc1: warnings being treated as errors drivers/internet.c: In function ‘do_init_channel’: drivers/internet.c:116: warning: dereferencing type-punned pointer will break strict-aliasing rules drivers/internet.c:140: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness drivers/internet.c: In function ‘drv_recv’: drivers/internet.c:205: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness make[1]: *** [drivers/internet.o] Error 1 make[1]: Leaving directory `/data/software/libnet/lib' make: *** [lib] Error 2 [root@host10 libnet]# |
Instead of compiling libnet from source, you can easily install using yum.
Code:
yum install libnet |
May I know the way to configure yum.conf with "Extra Packages for Enterprise Linux (or EPEL) x86_64". (RHEL 5.6).
Otherwise cant update yum from my repo. Please let me know the yum.conf entries. Thanks, Prabhath |
All times are GMT -5. The time now is 02:09 PM. |