Re: [Boa-devel] 0.94.14rc8 compilation problem
Brought to you by:
jnelson
From: Jon N. <jn...@ja...> - 2002-12-14 17:31:18
|
On Sat, 14 Dec 2002, [ISO-8859-1] Frédéric L. W. Meunier wrote: > I'm at my first attempt to compile Boa on Cygwin and get rid of > the Windows Apache port. > > I used --prefix=/usr --enable-access-control --disable-debug > > The only tests which failed: > > checking for working mmap... no > checking for tm.tm_gmtoff... no > checking for tm.tm_zone... no > checking for sockaddr_in.sin_len... no Well, without a working mmap, there's not a great deal you can do. You might consider setting MAX_FILE_MMAP to 0, or ask on this list. I don't have access (or desire to work with) a Cygwin platform. However, Boa is reported to work there. > Now to the problem: > > gcc-2.exe -O2 -pipe -DACCESS_CONTROL -I. -I. -c -o request.o request.c > request.c: In function `get_request': > request.c:87: `sa_family_t' undeclared (first use in this function) > request.c:87: (Each undeclared identifier is reported only once > request.c:87: for each function it appears in.) > request.c:87: parse error before `0xdead' > make[1]: *** [request.o] Error 1 > make[1]: Leaving directory `/cygdrive/g/Linux/boa-0.94.14rc8/src' > make: *** [boa] Error 2 Hmm. Well, sa_family_t might be too new -- I'll whip up a quick autoconf test and patch for that. -- Democracy is two wolves and a sheep voting on what to have for dinner. Liberty is two wolves attempting to have a sheep for dinner and finding a well-informed, well-armed sheep. Jon Nelson <jn...@ja...> C and Python Code Gardener |