Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

Rep: Reputation: 0
Dsniff building Error Slackware 12.1


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:

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

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

Original Poster
Rep: Reputation: 0
Now I find a binary package

it works
Old 02-02-2009, 06:27 AM   #3
Registered: Oct 2005
Location: France
Distribution: Slackware 14.2 64bit
Posts: 894
Blog Entries: 4

Rep: Reputation: 119Reputation: 119

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:


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
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

All times are GMT -5. The time now is 09:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration