Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2003 13:48:44 +0300
From:      "Sergey A. Osokin" <osa@freebsd.org.ru>
To:        Jesse Guardiani <jesse@wingnet.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libxine-1.0.r2_2 build failure on FreeBSD 5.2-RC1
Message-ID:  <20031224104844.GP35515@freebsd.org.ru>
In-Reply-To: <bsb2ja$miv$2@sea.gmane.org>
References:  <200312191230.35940.jesse@wingnet.net> <bsb2ja$miv$2@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 23, 2003 at 10:53:14PM -0500, Jesse Guardiani wrote:
> Jesse Guardiani wrote:
> 
> > libxine is failing with this message:
> > 
> > input_cdda.c: In function `read_cdrom_frames':
> > input_cdda.c:669: error: storage size of `cdda' isn't known
> > input_cdda.c:680: error: `CDIOCREADAUDIO' undeclared (first use in this
> > function) input_cdda.c:680: error: (Each undeclared identifier is reported
> > only once input_cdda.c:680: error: for each function it appears in.)
> > input_cdda.c:669: warning: unused variable `cdda'
> > gmake[4]: *** [input_cdda.lo] Error 1
> > gmake[4]: Leaving directory
> > `/usr/ports/multimedia/libxine/work/xine-lib-1-rc2/src/input' gmake[3]:
> > *** [all-recursive] Error 1 gmake[3]: Leaving directory
> > `/usr/ports/multimedia/libxine/work/xine-lib-1-rc2/src/input' gmake[2]:
> > *** [all-recursive] Error 1 gmake[2]: Leaving directory
> > `/usr/ports/multimedia/libxine/work/xine-lib-1-rc2/src' gmake[1]: ***
> > [all-recursive] Error 1 gmake[1]: Leaving directory
> > `/usr/ports/multimedia/libxine/work/xine-lib-1-rc2' gmake: *** [all] Error
> > 2 *** Error code 2
> > 
> > I saw a thread about CDIOCREADAUDIO removal on -CURRENT back in Sept 2003.
> > Does anyone have a patch for this yet?
> > 
> > Here's my machine data:
> > 
> > FreeBSD trevarthan.int.wingnet.net 5.2-RC1 FreeBSD 5.2-RC1 #0: Sun Dec  7
> > 22:15:14 GMT 2003    
> > root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386

Try to add to input_cdda.c something like this:
#ifndef CDIOCREADAUDIO
struct ioc_read_audio
{
        u_char address_format;
        union msf_lba address;
        int nframes;
        u_char* buffer;
};
        
#define CDIOCREADAUDIO _IOWR('c',31,struct ioc_read_audio)
#endif

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031224104844.GP35515>