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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-16-2008, 02:57 PM
|
#1
|
Member
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118
Rep:
|
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 !!!!!!!
|
|
|
10-16-2008, 03:20 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,183
|
Quote:
Originally Posted by lipun4u
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.
|
|
|
10-17-2008, 03:43 AM
|
#3
|
Member
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118
Original Poster
Rep:
|
How to diagnosis such type of errors ???
|
|
|
10-20-2008, 12:10 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,183
|
Quote:
Originally Posted by lipun4u
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.
|
|
|
10-20-2008, 03:38 PM
|
#5
|
Member
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118
Original Poster
Rep:
|
ok...thanx
|
|
|
01-28-2009, 02:44 PM
|
#6
|
LQ Newbie
Registered: Sep 2008
Posts: 7
Rep:
|
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
|
|
|
01-28-2009, 02:45 PM
|
#7
|
LQ Newbie
Registered: Sep 2008
Posts: 7
Rep:
|
hping installation
|
|
|
All times are GMT -5. The time now is 06:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|