Dear Steven,
>I can zip all of the files which I use to compile SWISH on NT (NT4 and
>Win2K) and email them to you if you wish.
That would be very helpful, thanks.
Chris
-----Original Message-----
From: J. Steven Harrison [SMTP:steve@sns.com]
Sent: Wednesday, February 23, 2000 11:42 AM
To: ChrisJMH@vermilion99.freeserve.co.uk
Subject: Re: [SWISH-E] Compiling Swish-E under NT using DJGPP
Chris,
I can zip all of the files which I use to compile SWISH on NT (NT4 and
Win2K) and email them to you if you wish.
At 04:18 AM 2/22/00 -0800, you wrote:
>I have been trying to compile Swish-E using DJGPP under NT4.
>
>I have set _WIN32 in the config.h file and I have DJGPP set up in the path
>correctly (as far as I know)
>
>When I come to compile, I get this:
>
>D:\SEARCH~1\SWISH&~1\SWISH-~3\src>make
>make CFLAGS="-g" check.o file.o index.o search.o error.o methods.o hash.o
>list.o
> mem.o string.o merge.o swish.o stemmer.o docprop.o fs.o http.o httpserver.o
>make.exe[1]: Entering directory `d:/search~1/swish&~1/swish-~3/src'
>gcc -c -g check.c
>In file included from swish.h:33,
> from check.c:20:
>config.h:248: warning: redefinition of `pid_t'
>d:/djgpp/include/sys/types.h:27: warning: `pid_t' previously declared here
>In file included from swish.h:40,
> from check.c:20:
>win32/dirent.h:25: redefinition of `struct dirent'
>win32/dirent.h:45: conflicting types for `DIR'
>d:/djgpp/include/dirent.h:16: previous declaration of `DIR'
>win32/dirent.h:47: conflicting types for `opendir'
>d:/djgpp/include/dirent.h:24: previous declaration of `opendir'
>win32/dirent.h:48: conflicting types for `readdir'
>d:/djgpp/include/dirent.h:25: previous declaration of `readdir'
>win32/dirent.h:49: conflicting types for `seekdir'
>d:/djgpp/include/dirent.h:36: previous declaration of `seekdir'
>win32/dirent.h:50: conflicting types for `telldir'
>d:/djgpp/include/dirent.h:37: previous declaration of `telldir'
>win32/dirent.h:51: conflicting types for `closedir'
>d:/djgpp/include/dirent.h:23: previous declaration of `closedir'
>make.exe[1]: *** [check.o] Error 1
>make.exe[1]: Leaving directory `d:/search~1/swish&~1/swish-~3/src'
>make.exe: *** [swish-e] Error 2
>
>Has anyone managed to compile Swish-E using DJGPP in Windows NT successfully?
>I would appreciate any advice because I have not been able to determine
>what I have done wrong here.
>
>Chris Humphries
---
Dr. J. Steven Harrison steve@sns.com
45034 Imnaha Court (510)623-8651 Voice/FAX
Fremont, CA 94539-6669 (510)410-3073 Cellular
(510)623-8652 Data
Systems'n'Software http://www.sns.com
Received on Wed Feb 23 07:26:04 2000