[SOLVED] guvcview fails to compile on 14.1 32 bit system.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I run the slackbuild for guvcview, I get the following errors:
Code:
make all-recursive
make[1]: Entering directory `/tmp/SBo/guvcview-src-1.7.2'
Making all in src
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.2/src'
CC audio_effects.o
CC audio_tab.o
In file included from /usr/include/linux/videodev2.h:64:0,
from v4l2uvc.h:25,
from guvcview.h:30,
from callbacks.h:28,
from audio_tab.c:29:
/usr/include/linux/v4l2-controls.h:49:0: error: unterminated #ifndef
#ifndef __LINUX_V4L2_CONTROLS_H
^
In file included from v4l2uvc.h:25:0,
from guvcview.h:30,
from callbacks.h:28,
from audio_tab.c:29:
/usr/include/linux/videodev2.h:84:1: error: expected ',' or '}' before 'enum'
enum v4l2_field {
^
make[2]: *** [audio_tab.o] Error 1
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.7.2'
make: *** [all] Error 2
I have searched the forum for similar problems. These errors are beyond my understanding. There are some problems with more than one copy of header files. However, I don't know which one I should have, and what might be an old one.
The system was recently upgraded from 14.0 to 14.1. I did a full install. I had a long list of sbopkg's to upgrade. All have worked, except guvcview, and tesseract. The errors in tesseract are similar, however, different .h files are mentioned.
Right now I would like to fix guvcview, and understand what is wrong with it. Then work on tesseract.
An update. I have compiled guvcview on my laptop, copied the sbo package on to the failing system and installed the update. I did the same with tesseract. Both programs are now at the levels listed in slackbuilds for 14.1.
The laptop I compiled the programs was a clean install, I had partitioned the disk, and formatted, installed, and the slackbuilds run.
On the failing system, I had upgraded from 14.0; so now I think the problems were caused by some old files left around, that were not updated or replaced with the upgrade process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.