Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 May 2007 12:10:09 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Kris Kennaway" <kris@obsecurity.org>
Cc:        multimedia@freebsd.org
Subject:   Re: lxdvdrip broken
Message-ID:  <op.trw0m7qh9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20070505212530.GA10831@xor.obsecurity.org>
References:  <20070505212530.GA10831@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 05 May 2007 16:25:30 -0500, Kris Kennaway <kris@obsecurity.org> =
 =

wrote:

> =3D=3D=3D>  Building for lxdvdrip-1.62_2
> cc -L/usr/local/lib -I/usr/local/include -O2 -fno-strict-aliasing -pip=
e  =

> -march=3Dathlon-mp -I/usr/local/include  -march=3Dathlon-mp -lm -ldvdr=
ead  =

> -ldvdnav -lpthread -o lxdvdrip lxdvdrip.c streamanalyze.c ifo.c  =

> dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c  =

> dvdcopy.c requant.c cputest.c tcmemcpy.c
> lxdvdrip.c: In function `SizeOfDVDFile':
> lxdvdrip.c:941: error: syntax error before "__off64_t"
> lxdvdrip.c:943: error: syntax error before "__off64_t"
> lxdvdrip.c:952: error: structure has no member named `size'
> lxdvdrip.c:957: error: structure has no member named `parts_size'
> *** Error code 1
>
> __off64_t doesn't seem to exist in FreeBSD

Yep and here is a patch to fix the build. While I am here, respect the  =

CFLAGS too.

http://people.freebsd.org/~mezz/diff/lxdvdrip.diff

BTW: It is untest in the runtime as I never have use lxdvdrip before.

Cheers,
Mezz

> Kris


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



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