compiling fails on cygwin with dsniff
Gerrit P. Haase
gp@familiehaase.de
Thu Apr 21 18:46:00 GMT 2005
王 亭午 wrote:
> 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.)
>
"Berkeley DB with 1.85 compatibility" is enabled in the Berkeley DB
packages, please install the latest 'db' package:
- db-4.2.52-1 or at least:
- libdb4.2
- libdb4.2-devel
Gerrit
--
=^..^=
Action Soccer: http://www.action-soccer.de/?lv=de&id=505
(german online game)
--
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/
More information about the Cygwin
mailing list