Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: X-Originating-Email: [odin_forever_321 AT hotmail DOT com] X-Sender: odin_forever_321 AT hotmail DOT com From: =?gb2312?B?zfUgzaTO5w==?= To: cygwin AT cygwin DOT com Subject: compiling fails on cygwin with dsniff Date: Wed, 13 Apr 2005 21:00:56 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-OriginalArrivalTime: 13 Apr 2005 13:00:57.0262 (UTC) FILETIME=[D55FC4E0:01C54028] Note-from-DJ: This may be spam 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/