LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2008, 02:57 PM   #1
lipun4u
Member
 
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118

Rep: Reputation: 15
Smile lib missing in hmap


I have the source of hping. Now I am trying install it in my fedora core 4.

./configure command runs correctly and after that make gives following error.

libpcap_stuff.c:20:21: error: net/bpf.h: No such file or directory
libpcap_stuff.c: In function ‘pcap_recv’:
libpcap_stuff.c:61: warning: pointer targets in assignment differ in signedness
make: *** [libpcap_stuff.o] Error 1

plz help me !!!!!!!
 
Old 10-16-2008, 03:20 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,183

Rep: Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063
Quote:
Originally Posted by lipun4u View Post
I have the source of hping. Now I am trying install it in my fedora core 4.

./configure command runs correctly and after that make gives following error.

libpcap_stuff.c:20:21: error: net/bpf.h: No such file or directory
libpcap_stuff.c: In function ‘pcap_recv’:
libpcap_stuff.c:61: warning: pointer targets in assignment differ in signedness
make: *** [libpcap_stuff.o] Error 1

plz help me !!!!!!!
You need to install the libpcap development libraries. Also, if "configure" runs correctly, you won't get ANY errors....errors are your hint that something isn't running correctly.
 
Old 10-17-2008, 03:43 AM   #3
lipun4u
Member
 
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118

Original Poster
Rep: Reputation: 15
How to diagnosis such type of errors ???
 
Old 10-20-2008, 12:10 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,183

Rep: Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063Reputation: 8063
Quote:
Originally Posted by lipun4u View Post
How to diagnosis such type of errors ???
Your question makes no sense. Are you asking how I figured that out, or how you can fix it? Fedora core 4 is ancient..the latest is version 9. Either upgrade or get libpcap from source, and compile the development libraries from it.
 
Old 10-20-2008, 03:38 PM   #5
lipun4u
Member
 
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118

Original Poster
Rep: Reputation: 15
ok...thanx
 
Old 01-28-2009, 02:44 PM   #6
maome
LQ Newbie
 
Registered: Sep 2008
Posts: 7

Rep: Reputation: 0
you need to create a symlink

Issue the following commands:
mkdir /usr/local/include/net
ln sf /usr/include/pcapbpf.h /usr/local/include/net/bpf.h
 
Old 01-28-2009, 02:45 PM   #7
maome
LQ Newbie
 
Registered: Sep 2008
Posts: 7

Rep: Reputation: 0
hping installation

Check this site on how to install hping
 
  


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
Missing Lib? Libjack? lifeforce4 Linux - Newbie 3 07-06-2008 05:55 AM
missing lib with inkscape kevin-isca Grafpup 3 06-25-2007 09:45 AM
Missing lib satimis Fedora 19 08-28-2006 03:52 PM
splashutils missing lib flying-tuxman Linux - General 2 01-08-2006 02:20 PM
Missing lib mikedh Linux - General 2 04-25-2001 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

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
Open Source Consulting | Domain Registration