LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-02-2009, 06:21 AM   #1
Panci
LQ Newbie
 
Registered: Nov 2005
Location: Italy
Distribution: Slackware 12.1
Posts: 22

Rep: Reputation: 0
Dsniff building Error Slackware 12.1


Hi,

I know that there are a lot of similar post but none of them gives a working solution...

Someone can explain me how i can compile dsniff 2.3 on my Slackware box,
is there any package or alternative,

the ./configure script doesn't give errors these are the building error

I install all the required software:

Code:
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I.       -I./missing -c ./arpspoof.c
./arpspoof.c: In function 'arp_send':
./arpspoof.c:49: warning: passing argument 1 of 'libnet_get_hwaddr' from incompatible pointer type
./arpspoof.c:49: error: too many arguments to function 'libnet_get_hwaddr'
./arpspoof.c:60: warning: passing argument 6 of 'libnet_build_ethernet' from incompatible pointer type
./arpspoof.c:60: error: too few arguments to function 'libnet_build_ethernet'
./arpspoof.c:64: error: 'ETH_H' undeclared (first use in this function)
./arpspoof.c:64: error: (Each undeclared identifier is reported only once
./arpspoof.c:64: error: for each function it appears in.)
./arpspoof.c:64: error: too few arguments to function 'libnet_build_arp'
./arpspoof.c: In function 'main':
./arpspoof.c:181: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1

Thanks
 
Old 02-02-2009, 06:22 AM   #2
Panci
LQ Newbie
 
Registered: Nov 2005
Location: Italy
Distribution: Slackware 12.1
Posts: 22

Original Poster
Rep: Reputation: 0
Now I find a binary package http://dir.filewatcher.com/d/OpenBSD...gz.139809.html

it works
 
Old 02-02-2009, 06:27 AM   #3
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Hello,

The binary package you installed is on OpenBSD package.

You say it works, then you're lucky.

Otherwise, regarding your compile error, it may be due to the fact that the dsniff package requires some other libraries that are not available in the stock Slackware. Refer to:

http://monkey.org/~dugsong/dsniff/fa...0is%20required
 
  


Reply



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
dsniff 'make' error jamil5454 Slackware 6 02-25-2009 02:45 AM
Dsniff building Error Slackware 12.1 Panci Slackware 4 02-18-2009 02:50 PM
Dsniff on slackware? mustangfanatic01 Slackware 3 03-06-2006 12:19 AM
compiling dsniff on slackware 10.2 new problem downsys Linux - Networking 0 02-15-2006 06:33 PM
dsniff 'make' error heffdini Linux - Software 2 01-20-2004 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:37 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