This is the mail archive of the
cygwin
mailing list for the Cygwin project.
compiling fails on cygwin with dsniff
- From: 王 亭午 <odin_forever_321 at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 13 Apr 2005 21:00:56 +0800
- Subject: compiling fails on cygwin with dsniff
- Bcc:
Hello,
i think i need your help!
i downloaded the more full cygwin which is about 485M. it is 1.85G after
installed. And i get the dsniff2.3. When i compiled dsniff2.3 on cygwin,it
failed. the mistake like this:
**********the mistake***********
checking for Berkeley DB with 1.85 compatibility... configure: error:
Berkeley DB with 1.85 compatibility not found
********************************
and the compiling was stopped.
so i downloaded db.1.85. but the compiling failed too,when i compiled
db.1.85 on cygwin. the mistake like this:
**************the mistake**********************
$ make
gcc -c -D__DBINTERFACE_PRIVATE -O -I. -Iinclude -I../../hash
../../hash/hash.c
In file included from ../../hash/hash.c:55:
../../hash/hash.h:106: error: field `__errno' declared as a function
../../hash/hash.c: In function `flush_meta':
../../hash/hash.c:508: error: parse error before '(' token
../../hash/hash.c: In function `hash_get':
../../hash/hash.c:539: error: parse error before '(' token
../../hash/hash.c: In function `hash_put':
../../hash/hash.c:556: error: parse error before '(' token
../../hash/hash.c:560: error: parse error before '(' token
../../hash/hash.c: In function `hash_delete':
../../hash/hash.c:577: error: parse error before '(' token
../../hash/hash.c:581: error: parse error before '(' token
../../hash/hash.c: In function `hash_seq':
../../hash/hash.c:732: error: parse error before '(' token
make: *** [hash.o] Error 1
*********************************************************
could you help me? i must use dsniff on cygwin.
(please forgive me the bad english,because my native language is Chinese.)
Thanks,
odin wang
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/