LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2009, 02:22 AM   #1
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Rep: Reputation: 32
unable to build gspca from Alien Bob Slackbuilds package


Hi,
I am trying to build gspca, to get video running in Kopete on my Slackware install (kernel 2.6.30). As instructed at Alien Bob's site, I did the following

Quote:
lftp -c "open http://www.slackware.com/~alien/slackbuilds/gspcav1/; mirror build"

Then -

Quote:
cd build/
sh gscav1.Slackbuild
as root.

Here is the output of the last command -
Quote:
++
|| gspcav1-20071224
++
Extracting the source archive(s) for gspcav1...
gspcav1-20071224/
gspcav1-20071224/decoder/
gspcav1-20071224/decoder/gspcadecoder.c
gspcav1-20071224/decoder/gspcadecoder.h
gspcav1-20071224/decoder/gspcadecoder-OSX.c
gspcav1-20071224/decoder/gspcadecoder-OSX.h
gspcav1-20071224/Makefile
gspcav1-20071224/Vimicro/
gspcav1-20071224/Vimicro/vc032x_sensor.h
gspcav1-20071224/Vimicro/zc3xx.h
gspcav1-20071224/Vimicro/cs2102.h
gspcav1-20071224/Vimicro/vc032x.h
gspcav1-20071224/Vimicro/pas106b.h
gspcav1-20071224/Vimicro/icm105a.h
gspcav1-20071224/Vimicro/hv7131b.h
gspcav1-20071224/Vimicro/hv7131c.h
gspcav1-20071224/Vimicro/pb0330.h
gspcav1-20071224/Vimicro/ov7630c.h
gspcav1-20071224/Vimicro/mc501cb.h
gspcav1-20071224/Vimicro/tas5130c_vf0250.h
gspcav1-20071224/Vimicro/ov7620.h
gspcav1-20071224/Vimicro/tas5130c.h
gspcav1-20071224/Vimicro/hdcs2020.h
gspcav1-20071224/Etoms/
gspcav1-20071224/Etoms/et61xx51.h
gspcav1-20071224/Sonix/
gspcav1-20071224/Sonix/sn9cxxx.h
gspcav1-20071224/Sonix/sonix.h
gspcav1-20071224/utils/
gspcav1-20071224/utils/spcagamma.h
gspcav1-20071224/utils/spcausb.h
gspcav1-20071224/utils/spcaCompat.h
gspcav1-20071224/Conexant/
gspcav1-20071224/Conexant/cx11646.h
gspcav1-20071224/Conexant/cxlib.h
gspcav1-20071224/Pixart/
gspcav1-20071224/Pixart/pac207-OSX.h
gspcav1-20071224/Pixart/pac7311.h
gspcav1-20071224/Pixart/pac207.h
gspcav1-20071224/changelog
gspcav1-20071224/license
gspcav1-20071224/gspca_core.c
gspcav1-20071224/Transvision/
gspcav1-20071224/Transvision/tv8532.h
gspcav1-20071224/Makefile.kld
gspcav1-20071224/gspca.h
gspcav1-20071224/Sunplus/
gspcav1-20071224/Sunplus/spca501.dat
gspcav1-20071224/Sunplus/spca505.dat
gspcav1-20071224/Sunplus/spca508.dat
gspcav1-20071224/Sunplus/spca561-OSX.h
gspcav1-20071224/Sunplus/spca506.h
gspcav1-20071224/Sunplus/spca561.h
gspcav1-20071224/Sunplus/spca501_init.h
gspcav1-20071224/Sunplus/spca508_init-OSX.h
gspcav1-20071224/Sunplus/spca508_init.h
gspcav1-20071224/Sunplus/spca501_init-OSX.h
gspcav1-20071224/Sunplus/spca505_init.h
gspcav1-20071224/Sunplus-jpeg/
gspcav1-20071224/Sunplus-jpeg/spca500.dat
gspcav1-20071224/Sunplus-jpeg/jpeg_qtables.h
gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h
gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.dat
gspcav1-20071224/Sunplus-jpeg/spca500_init.h
gspcav1-20071224/gspca_build
gspcav1-20071224/READ_AND_INSTALL
gspcav1-20071224/Mars-Semi/
gspcav1-20071224/Mars-Semi/mr97311.h
gspcav1-20071224/cutlog.py
gspcav1.SlackBuild: line 164: [: 30-smp: integer expression expected
patching file Makefile
Building ...
make -C /lib/modules/2.6.30-smp/build SUBDIRS=/tmp/build/tmp-gspcav1/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.30'
CC [M] /tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.o
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
In file included from /tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:845:
/tmp/build/tmp-gspcav1/gspcav1-20071224/utils/spcausb.h: In function ‘spca_set_interface’:
/tmp/build/tmp-gspcav1/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function ‘warn’
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: At top level:
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2615: warning: initialization from incompatible pointer type
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: In function ‘gspca_attach_bridge’:
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:2802: error: implicit declaration of function ‘info’
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/tmp/build/tmp-gspcav1/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/tmp/build/tmp-gspcav1/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30'
make: *** [default] Error 2
install: cannot stat `gspca.ko': No such file or directory
gspcav1.SlackBuild FAILED at line 183!

Where am I going wrong?

Eagerly awaiting your response,
 
Old 08-02-2009, 02:55 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
It looks as if you left some gspca out of your kernel.
 
Old 08-02-2009, 02:59 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,303

Rep: Reputation: Disabled
The gspcav1 driver written by Michel Xhaard is no longer maintained and does not compile on 2.6.29 or newer kernels. Nobody cared to write a patch because the gspca driver is now part of the kernel.
If your particular webcam is not supported by the gspca driver in the 2.6.30 kernel then you are out of luck.

Eric
 
Old 08-03-2009, 08:05 AM   #4
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
The webcam works fine on Skype and Cheese. It is only with Kopete, that I am having problems. I heard the Skype is about close down, so I was looking for alternatives.
 
Old 08-03-2009, 12:31 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,303

Rep: Reputation: Disabled
If it works in Skype then there is no driver issue - you have proven that your Slackware supports that webcam. This is an application issue, with Kopete. You could possibly have selected the wrong type of video4linux device or something like that.

Eric
 
Old 08-03-2009, 11:01 PM   #6
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
Ok!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alien Bob GCC 3.4 Package Woodsman Slackware 2 03-01-2008 02:52 PM
faac 1.26 fix when using slackbuilds build script Carpo Slackware 3 10-20-2007 03:09 AM
attn: mr. alien bob your wiki, rss info Old_Fogie Slackware 2 08-18-2006 06:17 AM
One for Alien Bob cwwilson721 Slackware 28 08-15-2006 04:26 PM
Are there any SlackBuilds for Firefox 1.5 (build from source) spinner_0 Slackware 7 01-18-2006 04:48 AM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration