Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-17-2012, 05:30 AM   #1
Registered: Feb 2010
Location: Sri Lanka
Posts: 50

Rep: Reputation: 0
Red face Installation issue -- libnet

[root@host10 libnet]# uname -a
Linux 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]#
Old 05-17-2012, 08:03 AM   #2
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
Instead of compiling libnet from source, you can easily install using yum.

yum install libnet
Old 05-18-2012, 05:32 AM   #3
Registered: Feb 2010
Location: Sri Lanka
Posts: 50

Original Poster
Rep: Reputation: 0
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-22-2010 11:17 PM
libnet jokar.mohsen Programming 4 11-27-2009 12:48 PM
Error & warnings in installing Libnet-1.1.x & Libnet-config not found error. sakthivelbatusai Linux - Networking 0 03-14-2007 11:14 PM
libnet and libnids installation difficulties benF Linux - Software 2 12-17-2006 07:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration