PDA

View Full Version : [ubuntu] v4l-dvb compile error (implicit declaration of function 'skip_spaces')



LloydM999
August 26th, 2010, 07:17 AM
I am running Lucid Lynx. I downloaded the latest v4l-dvb package (http://linuxtv.org/hg/v4l-dvb/rev/a4c762698bcb), generated the .config file, and changed the FiredTV support to "n." However I'm still getting an error with the initial "make":

v4l-dvb/v4l/ir-sysfs.c:137: error: implicit declaration of function 'skip_spaces'

The line is tmp = skip_spaces(data), it looks like there's no .h declaration or .c definition of that method in the v4l directory.

How do I fix it, I didn't see any solutions for this on the web. Or does it even matter, I went ahead with "make install" and it installed the firmware without any errors.

-Thanks, LloydM999

Chunk of Earth
August 29th, 2010, 10:31 PM
Lloyd,

Copy and paste this patch file from Mauro (http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/21772) into a text file and save it in the v4l-dvb/linux directory of your repository. (the file name is your choice)

cd into the linux directory and run the following command

patch -p1 -i patchfile-name(replace patchfile-name with the name you gave the patch file)

You should then be able to compile and install as normal.

LloydM999
August 31st, 2010, 07:06 AM
CoE -

That patch didn't work for me. All 5 "hunks" succeeded, but "make" gave me errors in "firedtv-1394.c".


-LloydM999

Chunk of Earth
August 31st, 2010, 09:23 PM
See? I told you it would compile normally. You've now encountered a different and well-known problem. One to which the solution may be found in your original post.

LloydM999
September 1st, 2010, 07:07 AM
OK, I didn't know I had to change .config again (to not compile fired-tv) after the patch. After the change, both make and make install didn't give any errors.

mythtv-setup detected the DVB stick, but the Terrestrial channel scan didn't find any channels. I guess that's a different problem though...