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: <4267F32A.2050506@familiehaase.de> Date: Thu, 21 Apr 2005 20:38:34 +0200 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: =?UTF-8?B?w43DtSDDjcKkw47Dpw==?= CC: cygwin AT cygwin DOT com Subject: Re: compiling fails on cygwin with dsniff References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j3LIdW86028455 王 亭午 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/