[mythtv-users] Re: nuvexport and file too big

Matt Porter mporter at kernel.crashing.org
Tue Dec 7 23:07:03 UTC 2004


On Tue, Dec 07, 2004 at 01:54:22PM -0800, Leder, Tony wrote:
> Agreed ignore the SSH, I was getting the same problem.
> 
> I just edited a line in LVEMUX's Makefile:
> 
> WAS::::
> Gcc $(CFLAGS) $(INC) -o lvemux lvemux.c mux_out.c
> 
> CHANGED TO::::
> Gcc -D_FILE_OFFSET_BITS=64 $(CFLAGS) $(INC) -o lvemux lvemux.c mux_out.c
> 
> Did a make clean; make install and retried.  It worked, not sure if it
> will cause other problems or if there is a better way, as I am no
> programmer.

This will work fine (it's what I do as well). The only time you run into
problems with FILE_OFFSET_BITS=64 is where you link to other programs/libs
that don't have off_t redefined.  Since lvemux is a trivial standalone
app, there's no danger of that.

-Matt


More information about the mythtv-users mailing list