Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-22-2014, 03:34 PM
|
#1
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,321
|
guvcview fails to compile on 14.1 32 bit system.
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.
Suggestions?
|
|
|
01-22-2014, 05:05 PM
|
#2
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,256
Rep:
|
General answer: send an email to the maintainer of the SlackBuild, or to the Slackbuilds-users mailing list.
|
|
|
01-24-2014, 02:38 PM
|
#3
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,321
Original Poster
|
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.
Hope this helps anyone with similar problems.
|
|
|
01-24-2014, 02:40 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,793
|
You can use this command to check for missed packages during upgrade
slackpkg install-new
|
|
|
01-24-2014, 03:02 PM
|
#5
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
the error is in file /usr/include/linux/v4l2-controls.h which come from package kernel-headers, if you can't fix it, reinstall or repackage it
|
|
|
01-24-2014, 03:31 PM
|
#6
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,321
Original Poster
|
Willysr,
I ran 'slackpkg install-new' however nothing showed up as missing.
gengisdave,
I reinstalled the kernel headers
Quote:
kernel-headers-3.10.17_smp-x86-3
|
and was able to build guvcview without problems.
Thank-you both for your help. This thread is solved.
|
|
|
All times are GMT -5. The time now is 07:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|