LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   tvtime fails to compile on -current (http://www.linuxquestions.org/questions/slackware-14/tvtime-fails-to-compile-on-current-897430/)

imitis 08-15-2011 11:41 AM

tvtime fails to compile on -current
 
cause kernel 2.6.38 does not have V4L1 API

http://raim.codingfarm.de/blog/2011/...hout-v4l1-api/

{BBI}Nexus{BBI} 08-15-2011 01:09 PM

Quote:

But Devin Heitmueller from KernelLabs invested some time to remove the parts from tvtime that still needed the old API....
Did you compile using the source code from the mercurial repo? At what point did the compile fail? Please post the error output for further assistance.

imitis 08-15-2011 03:51 PM

Code:

if gcc -DHAVE_CONFIG_H -I. -I. -I..    `/usr/bin/freetype-config --cflags`  -Wal
l -pedantic -I. -DDATADIR="\"/usr/share/tvtime\"" -DCONFDIR="\"/etc/tvtime\"" -D
FIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\"" -I.
./plugins  -I/usr/include/libxml2  -O3 -fomit-frame-pointer -std=gnu99 -MT tvti
me-videoinput.o -MD -MP -MF ".deps/tvtime-videoinput.Tpo" \
  -c -o tvtime-videoinput.o `test -f 'videoinput.c' || echo './'`videoinput.c; \
then mv -f ".deps/tvtime-videoinput.Tpo" ".deps/tvtime-videoinput.Po"; \
else rm -f ".deps/tvtime-videoinput.Tpo"; exit 1; \
fi
videoinput.c:38:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[2]: *** [tvtime-videoinput.o] Error 1
make[2]: Leaving directory `/tmp/SBo/tvtime-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/tvtime-1.0.2'
make: *** [all] Error 2

using the changed version worked out and i can watch my tv again :D


All times are GMT -5. The time now is 03:57 PM.