X-Spam-Check-By: sourceware.org
Message-ID: <43D6680D.8010309@caltanet.it>
Date: Tue, 24 Jan 2006 18:46:53 +0100
From: Simone Crestani <ilpippo@caltanet.it>
User-Agent: Mozilla Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Errors compiling cdrtools under cygwin 1.5.19
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,
I found out that cygwin 1.5.19 gives some problems when I try to compile 
cdrtools and cdrdao.
I've just sent an e-mail to Jörg Shilling asking for support, here's 
what I wrote:

    I've got problems trying to compile 'cdrtools' with new Cygwin
    release 1.5.19
    When I simply call 'make' (without any parameter) I've got a lot of
    errors like this:

    ../include/schily.h:189: error: conflicting types for 'getline'
    /usr/include/sys/stdio.h:31: error: previous declaration of 'getline'
    was here

    I've got this problem both with cdrtools 2.01.01a03 and 2.01.01a04, and
    also with the scsilib of cdrdao 1.2.1.
    I've never had any problem with previous versions of Cygwin, the only
    thing that changed since last time I compiled cdrtools is the
    upgrade of
    the cygwin package from 1.5.18 to 1.5.19.

    Looking at the cygwin website, I discovered that getline implementation
    has just been added to the new release of Cygwin, as you can see here:
    http://cygwin.com/ml/cygwin-announce/2006-01/msg00032.html

    I hope this problem can be easily solved... Anyway, thanks for your
    great work!
    Simone


This is what he answered:

    Try to convince cygwin to remove their non-conforming interface
    definition.

    The getline() iterface I use goes back to 1982 and has been used in
    a commercial
    UNIX clone for a long time.


    Jörg


I don't know if cygwin's interface can easily be changed, but 
considering that Jörg doesn't seem to be willing to modify his code, 
what do you think that could be done to solve this problem?
I hope that a solution can be found, because cdrdao and cdrtools are 
really great software...
Thanks
Simone

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

