Compiling Dsniff on Fedora Core 2 (Solution)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




A lot of people have complained that they can't get dsniff to compile on FC2. I put up some very simple patches and instructions to get dsniff to compile on FC2 cleanly.


This assume you have Berkely db with 1.85 compatability enabled (full install of FC2 already has this).

If you use the exact versions with patches from this site, it should compile without any issues.

http://www.enzotech.net/dsniff.html
(Download patches or patched distros here. You must use exact versions specified here.)



This fixes the following errors:

Compiling libnids: (Gcc3 is more strict on ASM code)

checksum.c:32:8: missing terminating " character
checksum.c: In function `csum_partial':
checksum.c:33: error: syntax error before "jz"
checksum.c:33:12: invalid suffix "f" on integer constant
checksum.c:35:13: invalid suffix "f" on integer constant
checksum.c:37:13: invalid suffix "f" on integer constant
checksum.c:45:12: invalid suffix "f" on integer constant
checksum.c:65:13: invalid suffix "b" on integer constant
checksum.c:69:12: invalid suffix "f" on integer constant
checksum.c:74:13: invalid suffix "b" on integer constant
checksum.c:77:12: invalid suffix "f" on integer constant
checksum.c:79:12: invalid suffix "f" on integer constant
checksum.c:82:12: invalid suffix "f" on integer constant
checksum.c:87:4: missing terminating " character
checksum.c:106:24: missing terminating " character
checksum.c: In function `ip_fast_csum':
checksum.c:107: error: syntax error before "movl"
checksum.c:109:17: invalid suffix "f" on integer constant
checksum.c:116:17: invalid suffix "b" on integer constant
checksum.c:124:13: missing terminating " character
checksum.c:140:11: missing terminating " character
checksum.c: In function `csum_fold':
checksum.c:141: error: syntax error before "addl"
checksum.c:143:9: missing terminating " character
checksum.c:158:11: missing terminating " character
checksum.c: In function `csum_tcpudp_magic':
checksum.c:159: error: syntax error before "addl"
checksum.c:163:9: missing terminating " character
checksum.c:165: error: `__x' undeclared (first use in this function)
checksum.c:165: error: (Each undeclared identifier is reported only once
checksum.c:165: error: for each function it appears in.)
checksum.c:165: error: `__v' undeclared (first use in this function)
checksum.c:165: warning: no return statement in function returning non-void
checksum.c: At top level:
checksum.c:165: error: syntax error before ')' token
make[1]: *** [checksum.o] Error 1


Compiling dsniff: (Missing time.h include)

sshow.c: In function `client_to_server':
sshow.c:225: error: `CLK_TCK' undeclared (first use in this function)
sshow.c:225: error: (Each undeclared identifier is reported only once
sshow.c:225: error: for each function it appears in.)
sshow.c: In function `server_to_client':
sshow.c:273: error: `CLK_TCK' undeclared (first use in this function)
make: *** [sshow.o] Error 1


(Errors added for google love)

--
netmask


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux