Chris Humphries wrote:
> 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'
> 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.
Looks potentially simple to me ;-) You probably need to rewrite a
couple things in the code. OR, you could try my code
patched/screwed-around for MinGWin32 (GCC Win32):
Microsoft's compilers require dirent to compile many Unix-based
programs. You probably do not need this with DJGPP. Remove all
references to win32/dirent.h and win32/dirent.c from the code and
Makefile. (includes and the makefile's linker line) Also, the regex
library will make you want to rip your hair out. You'll have to figure
out how to link it. I didn't spend the time to get GNU make on Win32 to
playe nice with it. You tell it to build win32/regex.c and it calls the
output regex.o instead of win32/regex.o... DJGPP may work right,
Open Server Architecture Project - http://www.opensa.org/
Dave's Web - http://www.webaugur.com/dave/
ICQ Universal Internet Number - 412039
E-Mail - firstname.lastname@example.org
Received on Tue Feb 22 08:30:00 2000