delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/05/05:21:56

X-Spam-Check-By: sourceware.org
Date: Mon, 5 Dec 2005 11:21:47 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Call for testing Cygwin snapshot (problem with getline?)
Message-ID: <20051205102147.GM2999@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20051130171137 DOT GE2999 AT calimero DOT vinschen DOT de> <43941141 DOT 1030004 AT ericsson DOT com> <20051205101924 DOT GL2999 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20051205101924.GL2999@calimero.vinschen.de>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019