LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Red face 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]#
 
Old 05-17-2012, 09:03 AM   #2
blue_print
Member
 
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.

Code:
yum install libnet
 
Old 05-18-2012, 06:32 AM   #3
pra838
Member
 
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.

Thanks,
Prabhath
 
  


Reply


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-23-2010 12:17 AM
libnet jokar.mohsen Programming 4 11-27-2009 01:48 PM
Error & warnings in installing Libnet-1.1.x & Libnet-config not found error. sakthivelbatusai Linux - Networking 0 03-15-2007 12:14 AM
libnet and libnids installation difficulties benF Linux - Software 2 12-17-2006 08:37 PM


All times are GMT -5. The time now is 12:33 PM.

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