﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
10815	Libdv-1.0.0 will not compile	christopher	blfs-book	"I posted this on the mailing list and no one has even bothered replying.  It seems that the quality of the book is deteriorating at an alarming rate.  This library is listed in the book, and has had no upstream activity since at least 2009.  If no one can find a fix for it, then it should be removed from the book as it is useless to keep it there broken.

For some reason libdv-1.0.0 will not compile for me.  I have checked the
patches at debian and not even with the patches applied will it compile
successfully.

The error I am getting is:

encode.c:1505:2: note: within this loop
  for (;i < 16; i++) {
  ^~~
mv -f .deps/encode.Tpo .deps/encode.Plo
/bin/sh ../libtool --silent  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I..     -g -O2 -Wall -g -MT headers.lo -MD -MP -MF .deps/headers.Tpo
-c -o headers.lo headers.c
mv -f .deps/headers.Tpo .deps/headers.Plo
/bin/sh ../libtool --silent  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I..     -g -O2 -Wall -g -MT enc_input.lo -MD -MP -MF
.deps/enc_input.Tpo -c -o enc_input.lo enc_input.c
enc_input.c:1021:36: error: ‘VIDEO_MAX_FRAME’ undeclared here (not in a
function); did you mean ‘VIDEO_MODE_SECAM’?
 static struct video_mmap gb_frames[VIDEO_MAX_FRAME];
                                    ^~~~~~~~~~~~~~~
                                    VIDEO_MODE_SECAM
enc_input.c:1021:26: warning: ‘gb_frames’ defined but not used
[-Wunused-variable]
 static struct video_mmap gb_frames[VIDEO_MAX_FRAME];

Christopher"	defect	closed	highest	8.3	BOOK	SVN	medium	worksforme		
