apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: Problem Build Latest Win32 CVS Release
Date Fri, 16 Mar 2001 03:42:45 GMT
"William A. Rowe, Jr." <admin@rowe-clan.net> writes:

> 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.

hmmm... it was done properly to start with... I don't know why Ian was
getting this error

> > 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 ;-)

found that out too :)  done...

> > 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.

not tonight... dead code anyway...  maybe useful if EAFNOSUPPORT could
be exposed to callers of APR

> Other than that, looks like you are all over this (as in... on top
> of it :-)

not really...

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...



Mime
View raw message