LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-25-2004, 11:58 AM   #1
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Rep: Reputation: 30
Logitech QuickCam driver compilation problems


Hello. I'm running a SuSE 9.1 system, and I am having a problem installing the Logitech QuickCam driver for Linux. I got the driver here: http://qce-ga.sourceforge.net/. I made sure all the kernel sources are installed (I'm running version 2.6.5.7.111.5, the latest I believe ). The "make all" command works, but when I try to compile it using quickcam.sh (with the argument LINUX_DIR =/usr/src/linux/, where my kernel is installed), the installation fails. Below is the whole procedure, including all the warning and errors.

Code:
 
//CALL THE "MAKE ALL" COMMAND:
linux:/home/Vitali # cd qc-usb-0.6.2
linux:/home/Vitali/qc-usb-0.6.2 # make all
make -C "/lib/modules/2.6.5-7.111.5-default/build" SUBDIRS="/home/Vitali/qc-usb-0.6.2" modules V=1 USER_OPT=""
make[1]: Entering directory `/usr/src/linux-2.6.5-7.111.5-obj/i386/default'
make -C ../../../linux-2.6.5-7.111.5 O=../linux-2.6.5-7.111.5-obj/i386/default modules
make -C /usr/src/linux-2.6.5-7.111.5-obj/i386/default           \
KBUILD_SRC=/usr/src/linux-2.6.5-7.111.5      KBUILD_VERBOSE=1   \
KBUILD_CHECK= KBUILD_EXTMOD="/home/Vitali/qc-usb-0.6.2" \
        -f /usr/src/linux-2.6.5-7.111.5/Makefile modules
mkdir -p /home/Vitali/qc-usb-0.6.2/.tmp_versions

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.111.5-obj/i386/default/Module.symvers is  missing, modules will have CONFIG_MODVERSIONS disabled.

make -f /usr/src/linux-2.6.5-7.111.5/scripts/Makefile.build obj=/home/Vitali/qc-usb-0.6.2
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-driver.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include  -I/home/Vitali/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-driver.o /home/Vitali/qc-usb-0.6.2/qc-driver.c
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-hdcs.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include  -I/home/Vitali/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_hdcs -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-hdcs.o /home/Vitali/qc-usb-0.6.2/qc-hdcs.c
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-pb0100.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include  -I/home/Vitali/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_pb0100 -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-pb0100.o /home/Vitali/qc-usb-0.6.2/qc-pb0100.c
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-vv6410.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include  -I/home/Vitali/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_vv6410 -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-vv6410.o /home/Vitali/qc-usb-0.6.2/qc-vv6410.c
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-formats.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include  -I/home/Vitali/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_formats -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-formats.o /home/Vitali/qc-usb-0.6.2/qc-formats.c
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-mjpeg.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include  -I/home/Vitali/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_mjpeg -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-mjpeg.o /home/Vitali/qc-usb-0.6.2/qc-mjpeg.c
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-memory.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include  -I/home/Vitali/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_memory -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-memory.o /home/Vitali/qc-usb-0.6.2/qc-memory.c
  ld -m elf_i386  -r -o /home/Vitali/qc-usb-0.6.2/quickcam.o /home/Vitali/qc-usb-0.6.2/qc-driver.o /home/Vitali/qc-usb-0.6.2/qc-hdcs.o /home/Vitali/qc-usb-0.6.2/qc-pb0100.o /home/Vitali/qc-usb-0.6.2/qc-vv6410.o /home/Vitali/qc-usb-0.6.2/qc-formats.o /home/Vitali/qc-usb-0.6.2/qc-mjpeg.o /home/Vitali/qc-usb-0.6.2/qc-memory.o
  Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.5-7.111.5/scripts/Makefile.modpost
  scripts/modpost -i /usr/src/linux-2.6.5-7.111.5-obj/i386/default/Module.symvers -s /dev/null /home/Vitali/qc-usb-0.6.2/quickcam.o
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.quickcam.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.5-7.111.5/include -I/usr/src/linux-2.6.5-7.111.5/ -I -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.5-7.111.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer  -DKBUILD_BASENAME=quickcam -DKBUILD_MODNAME=quickcam -DMODULE -c -o /home/Vitali/qc-usb-0.6.2/quickcam.mod.o /home/Vitali/qc-usb-0.6.2/quickcam.mod.c
  ld -m elf_i386 -r -o /home/Vitali/qc-usb-0.6.2/quickcam.ko /home/Vitali/qc-usb-0.6.2/quickcam.o /home/Vitali/qc-usb-0.6.2/quickcam.mod.o
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.111.5-obj/i386/default'
gcc -Wall -O2 -s qcset.c -o qcset -lm

//HERE, I CALL THE INSTALLATION SCRIPT (WATCH FOR PROBLEMS):

linux:/home/Vitali/qc-usb-0.6.2 # ./configure.sh
-=- Logitech QuickCam USB camera driver installer -=-
Hello! I am the (hopefully) easy-to-use, fully automated
qc-usb driver installation script.
At the moment, this is experimental, and if it doesn't work,
don't hesitate to quit this with Ctrl+C and install the
driver manually.

The driver is provided in source code form, so it has to be
compiled. This should happen automatically, but it does mean
that there are some steps required before installation.

You also need to know "root" user password to test and
install the driver.

Basically you need only to keep hitting Enter whenever you
see this prompt: --->. Sometimes you're asked root password.
Pay special attention to lines beginning with [!].
It means that some trouble has been detected.

To most important location is the path to your kernel source
or headers. This can be guessed, but you can specify it by
giving it as an argument to this script like this:
        ./quickcam.sh LINUX_DIR=/usr/src/linux

If you haven't done it yet, now it would be a good moment to
take a look at file README.

Next I'm going to check if you have some important programs installed
and if they and the kernel are of suitable version.
Press Ctrl+C to quit, Enter to continue --->
linux:/home/Vitali/qc-usb-0.6.2 #   ./quickcam.sh LINUX_DIR=/usr/src/linux
-=- Logitech QuickCam USB camera driver installer -=-
Hello! I am the (hopefully) easy-to-use, fully automated
qc-usb driver installation script.
At the moment, this is experimental, and if it doesn't work,
don't hesitate to quit this with Ctrl+C and install the
driver manually.

The driver is provided in source code form, so it has to be
compiled. This should happen automatically, but it does mean
that there are some steps required before installation.

You also need to know "root" user password to test and
install the driver.

Basically you need only to keep hitting Enter whenever you
see this prompt: --->. Sometimes you're asked root password.
Pay special attention to lines beginning with [!].
It means that some trouble has been detected.

To most important location is the path to your kernel source
or headers. This can be guessed, but you can specify it by
giving it as an argument to this script like this:
        ./quickcam.sh LINUX_DIR=/usr/src/linux

If you haven't done it yet, now it would be a good moment to
take a look at file README.
Argument found: LINUX_DIR=/usr/src/linux

Next I'm going to check if you have some important programs installed
and if they and the kernel are of suitable version.
Press Ctrl+C to quit, Enter to continue --->

/home/Vitali/qc-usb-0.6.2/quickcam.sh
/usr/bin/whoami
/bin/su
/bin/ls
/bin/cat
/usr/bin/gcc
/usr/bin/gcc
/usr/bin/make
/usr/bin/grep
/usr/bin/egrep
/usr/bin/awk
/usr/bin/sed
/usr/bin/tail
/usr/bin/head
/usr/bin/install
/usr/bin/ld
/bin/uname
/usr/bin/tr
/usr/X11R6/bin/xawtv
/usr/X11R6/bin/xdpyinfo
/bin/dmesg
/usr/bin/wc
which: no realpath in (/usr/local/linuxprinter/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin)
which: no realpath in (/usr/local/bin)
/usr/bin/readlink
gcc version: gcc version 3.3.3 (SuSE Linux)
gcc version: gcc version 3.3.3 (SuSE Linux)
Make version: GNU Make 3.80
Linker version: GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
Kernel compiler: gcc version 3.3.3 (SuSE Linux)
Looking for more necessary programs...
Found program /sbin/depmod
Found program /sbin/insmod
Found program /sbin/rmmod
Found program /sbin/modprobe
Found program /bin/mount
Found program /sbin/lsusb
depmod version: module-init-tools 3.0-pre10
insmod version: module-init-tools version 3.0-pre10
rmmod version: module-init-tools version 3.0-pre10
modprobe version: module-init-tools version 3.0-pre10
Checking whether we're root... root
[!] Running script as root.
You shouldn't run this script as root. It should work,
but is unsafe. Please run this as an ordinary user.
When root access is really needed, you will be prompted
for the root password.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->

Checking for driver source code...
Checking for write permission...

Previous round done. Now checking if you have kernel source installed.
Press Ctrl+C to quit, Enter to continue --->

Kernel source directory: /usr/src/linux
Detected kernel version is 2.6.x.
Kernel version name: 2.6.5-7.111.5-default
Kernel source version code: 132613
Driver file name: quickcam.ko
Module install directory: /lib/modules/2.6.5-7.111.5-default
Driver source directory (PWD):         /home/Vitali/qc-usb-0.6.2
Kernel source directory (LINUX_DIR):   /usr/src/linux
Module install directory (MODULE_DIR): /lib/modules/2.6.5-7.111.5-default
Utility install directory (PREFIX):    /usr/local
User options (USER_OPT):
Driver file name (use with insmod):    quickcam.ko
Kernel version code:                   132613

The QuickCam driver requires other drivers from kernel.
I'll now check if those seem to be loaded.
Press Ctrl+C to quit, Enter to continue --->

Modules loaded into the kernel:
videodev ohci_hcd udf radeon edd joydev st sd_mod ide_cd nvram sg hid sr_mod cdrom usb_storage scsi_mod usbserial parport_pc lp parport via_ircc irda ehci_hcd via_agp agpgart uhci_hcd ohci1394 speedstep_lib ieee1394 snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss ipv6 freq_table thermal processor fan button battery ac evdev snd_via82xx snd_pcm snd_timer snd_ac97_codec snd_page_alloc gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore af_packet via_rhine mii usbcore subfs nls_cp437 vfat fat nls_utf8 ntfs dm_mod reiserfs

Next round: let's see if you have a supported QuickCam.
Please plug in your USB camera before continuing.
Press Ctrl+C to quit, Enter to continue --->

I can find the following probably compatible devices:
Bus 002 Device 002: ID 046d:0840 Logitech, Inc. QuickCam Express

Another round done. Let's now compile the driver, it takes a while.
This step will also clear old unnecessary files from the directory.
Press Ctrl+C to quit, Enter to continue --->

rm -f *.o qcset show *~ .\#* .*.cmd *.mod.c *.ko
rm -rf .tmp_versions
make -C "/usr/src/linux" SUBDIRS="/home/Vitali/qc-usb-0.6.2" modules V=1 USER_OPT=""
make[1]: Entering directory `/usr/src/linux-2.6.5-7.111.5'
mkdir -p /home/Vitali/qc-usb-0.6.2/.tmp_versions

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.111.5/Module.symvers is  missing, modules will have CONFIG_MODVERSIONS disabled.

make -f scripts/Makefile.build obj=/home/Vitali/qc-usb-0.6.2
  gcc -Wp,-MD,/home/Vitali/qc-usb-0.6.2/.qc-driver.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -funit-at-a-time -march=i586 -mregparm=3 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer  -DNOKERNEL   -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /home/Vitali/qc-usb-0.6.2/.tmp_qc-driver.o /home/Vitali/qc-usb-0.6.2/qc-driver.c
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
make[2]: *** [/home/Vitali/qc-usb-0.6.2/qc-driver.o] Error 1
make[1]: *** [_module_/home/Vitali/qc-usb-0.6.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.111.5'
make: *** [quickcam.ko] Error 2
ls: quickcam.ko: No such file or directory
[!] Looks like the driver compilation failed.
Did you get any error messages above?
If asking for help, show what error messages you got.
WARNING: If you press Enter, I'll try to continue anyway,
but this probably will fail. You SHOULD press Ctrl+C now.
Press Ctrl+C to quit, Enter to continue --->

//CTRL+C, I quit at that point, because the errors seemed pretty bad...
I have no idea what to do...can someone please help me? (P.S. I don't run my Linux as root, I run it as a normal user, but I decided to try this as root. I got the same problems as I would if I'm running as a normal user).
 
Old 12-28-2004, 11:58 AM   #2
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Any ideas? (sorry for the bump, but it'd be nice to have this figured out...)
 
Old 01-05-2005, 01:44 AM   #3
benjalien
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Debian (i686/ppc/amd64)
Posts: 86

Rep: Reputation: 15
Hi,

I had the same problem, so I looked forward and found this site: http://www.seismo.ethz.ch/linux/webcam.html if you follow those (easy) instructions, you'll get a 640x480 resolution for your webcam (at least the logitech quickcal pro 300, I haven't tested others than mine)

Just post back if you have some trouble with it.
 
Old 01-07-2005, 06:39 PM   #4
evilmonkey
Member
 
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199

Original Poster
Rep: Reputation: 30
Umm..I don't really understand. I downloaded this module, I compiled it (got a pwc.ko file), and I copied it to /lib/modules/2.6.5-7.111.5-default/kernel/drivers/usb/media. What next? My SuSE box doesn't know the modprobe, or the rnmod commands. Even if it does work, what do I do next?

Cheers!
 
Old 01-25-2005, 10:38 AM   #5
jorgy
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
hey, it appears the logitech quickcam express driver problem for the 2.6.x kernel is still unsolved.
(i posted a query on it that's gotten over 100 views but still no reply). Anyway, just wondering
if anyone got to the bottom of it. My latest efforts with the 2.6.8-24.10-default kernel (SuSE
9.2 Pro) resulted in failure although with a different error from yours.

--------------
jorgy@j0rgy:~/downloads/qc-usb-0.6.2> make all
which: no depmod in (/home/jorgy/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin)
make -C "/lib/modules/2.6.8-24.10-default/build" SUBDIRS="/home/jorgy/downloads/qc-usb-0.6.2" modules V=1 USER_OPT=""
make[1]: Entering directory `/usr/src/linux-2.6.8-24.10-obj/i386/default'
make -C ../../../linux-2.6.8-24.10 O=../linux-2.6.8-24.10-obj/i386/default modules
make -C /usr/src/linux-2.6.8-24.10-obj/i386/default \
KBUILD_SRC=/usr/src/linux-2.6.8-24.10 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/home/jorgy/downloads/qc-usb-0.6.2" \
-f /usr/src/linux-2.6.8-24.10/Makefile modules
mkdir -p /home/jorgy/downloads/qc-usb-0.6.2/.tmp_versions
make -f /usr/src/linux-2.6.8-24.10/scripts/Makefile.build obj=/home/jorgy/downloads/qc-usb-0.6.2
gcc -Wp,-MD,/home/jorgy/downloads/qc-usb-0.6.2/.qc-driver.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.8-24.10/include -I/home/jorgy/downloads/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -fno-unit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.8-24.10/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /home/jorgy/downloads/qc-usb-0.6.2/.tmp_qc-driver.o /home/jorgy/downloads/qc-usb-0.6.2/qc-driver.c
/home/jorgy/downloads/qc-usb-0.6.2/qc-driver.c: In function `qc_i2c_init':
/home/jorgy/downloads/qc-usb-0.6.2/qc-driver.c:813: error: structure has no member named `timeout'
make[4]: *** [/home/jorgy/downloads/qc-usb-0.6.2/qc-driver.o] Error 1
make[3]: *** [_module_/home/jorgy/downloads/qc-usb-0.6.2] Error 2
make[2]: *** [modules] Error 2
jorgy@j0rgy:~/downloads/qc-usb-0.6.2> make all
which: no depmod in (/home/jorgy/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin)
make -C "/lib/modules/2.6.8-24.10-default/build" SUBDIRS="/home/jorgy/downloads/qc-usb-0.6.2" modules V=1 USER_OPT=""
make[1]: Entering directory `/usr/src/linux-2.6.8-24.10-obj/i386/default'
make -C ../../../linux-2.6.8-24.10 O=../linux-2.6.8-24.10-obj/i386/default modules
make -C /usr/src/linux-2.6.8-24.10-obj/i386/default \
KBUILD_SRC=/usr/src/linux-2.6.8-24.10 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/home/jorgy/downloads/qc-usb-0.6.2" \
-f /usr/src/linux-2.6.8-24.10/Makefile modules
mkdir -p /home/jorgy/downloads/qc-usb-0.6.2/.tmp_versions
make -f /usr/src/linux-2.6.8-24.10/scripts/Makefile.build obj=/home/jorgy/downloads/qc-usb-0.6.2
gcc -Wp,-MD,/home/jorgy/downloads/qc-usb-0.6.2/.qc-driver.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.8-24.10/include -I/home/jorgy/downloads/qc-usb-0.6.2 -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -fno-unit-at-a-time -march=i586 -mregparm=3 -I/usr/src/linux-2.6.8-24.10/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -DNOKERNEL -DMODULE -DKBUILD_BASENAME=qc_driver -DKBUILD_MODNAME=quickcam -c -o /home/jorgy/downloads/qc-usb-0.6.2/.tmp_qc-driver.o /home/jorgy/downloads/qc-usb-0.6.2/qc-driver.c
/home/jorgy/downloads/qc-usb-0.6.2/qc-driver.c: In function `qc_i2c_init':
/home/jorgy/downloads/qc-usb-0.6.2/qc-driver.c:813: error: structure has no member named `timeout'
make[4]: *** [/home/jorgy/downloads/qc-usb-0.6.2/qc-driver.o] Error 1
make[3]: *** [_module_/home/jorgy/downloads/qc-usb-0.6.2] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.8-24.10-obj/i386/default'
make: *** [quickcam.ko] Error 2
jorgy@j0rgy:~/downloads/qc-usb-0.6.2>

---------------------
Can anyone help point me in the right direction? or has ANYONE compiled this driver successfully?
Is it something i didnt install? Pretty frustrated really
Thanks in advance!

P.S I noticed that you run 'make' before the quickcam.sh script. I think make should be done only if you
choose to go the manual way [if the quickcam.sh fails in some way].
 
Old 02-04-2005, 10:23 AM   #6
cspangen
LQ Newbie
 
Registered: Dec 2002
Location: Jenison, MI
Distribution: S.u.S.E.
Posts: 3

Rep: Reputation: 0
Logitech QuickCam driver compilation problems

Comment line 813 in the file
/home/jorgy/downloads/qc-usb-0.6.2/qc-driver.c

That will solve the compile error.

I have solved that problem but I have still having problems compiling it. Seems to be a problem with kernel src having
one version and the boot kernel having another version. It seems to be a standard practice with SuSE kernels. They doped
the .10 off the running kernel. If I find the solution to finish compiling the driver I will post it.

Carl
 
  


Reply



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
Logitech quickcam cphase Linux - Hardware 2 04-19-2005 04:03 AM
Logitech Quickcam Messenger - Problems compiling driver Yukino Linux - Hardware 0 02-01-2005 04:03 PM
PWC driver in Mandrake 10 (Philips Toucam II, Logitech Quickcam Pro 4000, etc.) make Mandriva 0 06-19-2004 03:03 AM
Logitech QuickCam Zoom plexy Linux - Hardware 12 04-02-2004 09:54 AM
Logitech QuickCam Express driver Sumit Rajan Linux - Hardware 1 01-30-2004 05:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration