Many comments on several posts
> > Creating library Debug/libhttpd.lib and object Debug/libhttpd.exp
> > mod_access.obj : error LNK2001: unresolved external symbol
> > __imp__apr_ipsubnet_create@16
> > mod_access.obj : error LNK2001: unresolved external symbol
> > __imp__apr_ipsubnet_test@8
>
> oops... the darn .def file... I'm getting my windows machine up
> to date now and will work on it shortly...
No def files... please properly APR_DECLARE(rettype) apr_fn(args)
always and this doesn't become a problem again, ever.
> > and the include path of the xml project doesn't reference the
> > ./expat/lib directory in it's include path,
> > but the expat-lite directory which is now empty.
>
> I'll see what I can do... I'm pretty clumsy with the project files.
Bill Stoddard already committed that fix, but your apr.dsp fix is fine,
however...
> Index: apr.dsp
> ===================================================================
> RCS file: /home/cvspublic/apr/apr.dsp,v
> retrieving revision 1.66
> diff -u -r1.66 apr.dsp
> --- apr.dsp 2001/02/03 16:31:07 1.66
> +++ apr.dsp 2001/03/15 23:32:36
> @@ -267,6 +267,10 @@
> # End Source File
> # Begin Source File
>
> +SOURCE=.\network_io\unix\inet_pton.c
> +# End Source File
> +# Begin Source File
> +
PLEASE please (pretty please) remember to keep apr/libapr .dsp files in sync.
While it's a pain, its easier than having to keep those .def files up to date ;-)
> Index: network_io/unix/inet_pton.c
> ===================================================================
> RCS file: /home/cvspublic/apr/network_io/unix/inet_pton.c,v
> retrieving revision 1.4
> diff -u -r1.4 inet_pton.c
> --- network_io/unix/inet_pton.c 2001/03/07 17:41:37 1.4
> +++ network_io/unix/inet_pton.c 2001/03/15 23:32:40
> @@ -48,6 +48,10 @@
> #define __P(x) x
> #endif
>
> +#if !defined(EAFNOSUPPORT) && defined(WSAEAFNOSUPPORT)
> +#define EAFNOSUPPORT WSAEAFNOSUPPORT
> +#endif
> +
This needs to be APR_EAFNOSUPPORT and a status test, _please_ fix this
in the canonical errors header! Then the APR_STATUS_IS_EAFNOSUPPORT()
on Win32 compares WSAEAFNOSUPPORT, and on OS2 it will do what OS2 does.
Other than that, looks like you are all over this (as in... on top of it :-)
|