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

X-Spam-Check-By: sourceware.org
X-Server: Advanced Direct Remailer
Message-ID: <43941EF0.6000800@ericsson.com>
Date: Mon, 05 Dec 2005 12:05:20 +0100
From: Nenad Antic <nenad DOT antic AT ericsson DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6 Mnenhy/0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Call for testing Cygwin snapshot (problem with getline?)
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> <20051205102147 DOT GM2999 AT calimero DOT vinschen DOT de>
In-Reply-To: <20051205102147.GM2999@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Corinna Vinschen wrote, on 12/5/2005 11:21 AM:

>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
>
>  
>
Actually, I didn't mean that this happens only when building vith 
mod_perl (event though that's how if ran into it). It happens when 
configuring apache (1.33 and 1.34, at least), even with the fixes that 
exist in the cygwin packages. AFAIK apache builds fine on linux (did it 
on a debian installation roughly a year ago, don't have access to any 
linux box at the moment so I can't test it side to side) and linux 
distros normally have glibc included, don't they(?).

/nenad



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