Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <019301bea7b9$fa762e30$94a590ce@sara.finaltouch.com> From: "Robert Lebowitz" To: Subject: Help compiling swish++ using cygwin Date: Wed, 26 May 1999 15:54:42 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0190_01BEA790.116ABE50" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 ------=_NextPart_000_0190_01BEA790.116ABE50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I employ the very useful text indexing tool, swish++, developed by Paul = Lucas (see URL http://www.best.com/~pjl/) in a number of applications I work = with. I recently had a situation where I needed to use a text indexing = tool on Win95/98 machines, so I thought I'd try to compile swish++ with = cygwin. Much to my surprise, although the two parts of the application = that I require, the index and search utilities both compile without any = errors, and index appears to properly index html files, each time I run = the search utility, I'm treated to the following error: STATUS_ACCESS_VIOLATION I've also examined the output after recompiling with the -g option = specified, and identifed the line in the source where the problem = appears to be occuring, yet neither Paul nor I can make heads or tails = of why this is occuring. The program is written in very "vanilla" C++, and compiles "out of the = box" under both Solaris and Linux with g++. =20 Can someone suggest common problems that I might look for when trying to = compile using cygwin. Note: swish++ makes use of mmap() to speeding up = indexing and searches. The error in question appears to occur when = reading in the index file.... Rob ------=_NextPart_000_0190_01BEA790.116ABE50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I employ the very useful text = indexing tool,=20 swish++, developed by Paul Lucas
(see URL http://www.best.com/~pjl/)  = in a=20 number of applications I work with.  I recently had a situation = where I=20 needed to use a text indexing tool on Win95/98 machines, so I thought = I'd try to=20 compile swish++ with cygwin.  Much to my surprise, although the two = parts=20 of the application that I require, the index and search utilities both = compile=20 without any errors, and index appears to properly index html files, each = time I=20 run the search utility, I'm treated to the following error:
 
STATUS_ACCESS_VIOLATION
 
I've also examined the output after recompiling with = the -g=20 option specified, and identifed the line in the source where the problem = appears=20 to be occuring, yet neither Paul nor I can make heads or tails of why = this is=20 occuring.
 
The program is written in very "vanilla" = C++, and=20 compiles "out of the box" under both Solaris and Linux with = g++. =20
 
Can someone suggest common problems that I might = look for when=20 trying to compile using cygwin.  Note:  swish++ makes use of = mmap() to=20 speeding up indexing and searches.  The error in question appears = to occur=20 when reading in the index file....
 
Rob
------=_NextPart_000_0190_01BEA790.116ABE50 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------=_NextPart_000_0190_01BEA790.116ABE50--