[Slack] - Installazione dsniff

Problema:

/record.c: In function `record_save’:
  ./record.c:130: `R_NOOVERWRITE’ undeclared (first use in this function)
  ./record.c:130: (Each undeclared identifier is reported only once
  ./record.c:130: for each function it appears in.)
  ./record.c:130: warning: passing arg 2 of pointer to function from
  incompatible pointer type
  ./record.c:130: too few arguments to function
  ./record.c: In function `record_dump’:
  ./record.c:143: structure has no member named `seq’
  ./record.c:143: `R_NEXT’ undeclared (first use in this function)
  ./record.c: In function `record_init’:
  ./record.c:167: warning: assignment makes pointer from integer without a cast
  ./record.c: In function `record_close’:
  ./record.c:206: too few arguments to function
  make: *** [record.o] Error 1

Soluzione:

This little fix will allow dsniff to install on any slackware box…

Change directory to /usr/include

Create a symbolic link with:
ln -s db3/db_185.h db_185.h

Then do a ./configure, make, make install.

.