libxine-1.0.r2_2 build failure on FreeBSD 5.2-RC1
Sergey A. Osokin
osa at freebsd.org.ru
Wed Dec 24 02:48:51 PST 2003
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 at 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
/ \
More information about the freebsd-ports
mailing list