[gentoo-user] dsniff-2.3-r10 compile error
Hi guys: I have the following error when compiling dsniff-2.3-r10: In file included from ./filesnarf.c:28: ./nfs_prot.h:265: error: expected specifier-qualifier-list before 'n' In file included from ./filesnarf.c:28: ./nfs_prot.h:265:3: warning: no newline at end of file ./nfs_prot.h:6:1: error: unterminated #ifndef rpcgen -c nfs_prot.x -o nfs_prot.c make: *** [filesnarf.o] Error 1 make: *** Waiting for unfinished jobs !!! ERROR: net-analyzer/dsniff-2.3-r10 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile dsniff-2.3-r10.ebuild, line 64: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Any suggestion? -- Shaochun Wang [EMAIL PROTECTED] GPG Fingerprint: 70C2 6945 0E46 E08B 419A 007C AC5C F21F 358A 0833 You can get my publickey from the following url: http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dsniff-2.3-r10 compile error
Shaochun Wang wrote: Hi guys: I have the following error when compiling dsniff-2.3-r10: In file included from ./filesnarf.c:28: ./nfs_prot.h:265: error: expected specifier-qualifier-list before 'n' In file included from ./filesnarf.c:28: ./nfs_prot.h:265:3: warning: no newline at end of file ./nfs_prot.h:6:1: error: unterminated #ifndef rpcgen -c nfs_prot.x -o nfs_prot.c make: *** [filesnarf.o] Error 1 make: *** Waiting for unfinished jobs !!! ERROR: net-analyzer/dsniff-2.3-r10 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile dsniff-2.3-r10.ebuild, line 64: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Any suggestion? Please, include the output from emerge -pv category/package in order to expose the USE flags you are trying to emerge with. My *wild guess* is that there is something wrong with dsniff and the nfs flag. So if I were you I would try to emerge with: USE=-nfs emerge dsniff -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dsniff-2.3-r10 compile error
I solve this problem in dsniff-2.3-r10 by applying the following patch: --- /tmp/sshcrypto.c2000-11-29 05:23:28.0 +0800 +++ sshcrypto.c 2006-12-09 01:58:57.0 +0800 @@ -15,6 +15,11 @@ #include sys/types.h #include openssl/ssl.h +/* added by scwang */ +#include openssl/des.h +#include openssl/blowfish.h +/* end */ + #include err.h #include stdio.h #include stdlib.h -- Shaochun Wang [EMAIL PROTECTED] GPG Fingerprint: 70C2 6945 0E46 E08B 419A 007C AC5C F21F 358A 0833 You can get my publickey from the following url: http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg -- gentoo-user@gentoo.org mailing list