This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Call for testing Cygwin snapshot (problem with getline?)


On Dec  5 11:19, Corinna Vinschen wrote:
> On Dec  5 11:06, Nenad Antic wrote:
> > gcc -c  -I../os/cygwin -I../include   -DCYGWIN -DNO_DBM_REWRITEMAP 
> > -DUSE_HSREGEX  -DSHARED_CORE `../apaci` htpasswd.c
> > htpasswd.c:101: error: conflicting types for 'getline'
> > /usr/include/sys/stdio.h:31: error: previous declaration of 'getline' 
> > was here
> 
> That's a problem with the package.  Two possible causes:
> 
> - Either the mod_perl packages has no configure check for getline and
>   just tries to use its own version in htpasswd.c on some platforms,
>   in this case such a test should be added,
> 
> - or you tried to rebuild the package without configuring again.

I forgot this: Note that getline is new in 1.5.19.  The definition
of the function is compatible with the glibc definition,

  ssize_t getline (char **, size_t *, FILE *);


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]