please explain this error
by hpc - 4/30/07 12:43 PM
Hi everyone
I tried to install a webcam vimicro (works in windows )into a pc with sempron 2600+ 512 MB memory in Linux Suse 10.2 kernel 2.6.18.8-0.1-default I found on the web the driver for this webcam gspcav1-2007426 I downloaded it to my pc and untar it into a folder i went to this folder as root and got this results Please explain
Thank you for your times and advices
hung
inux-3fyf:/home/hung # cd gspcav1-20070426
linux-3fyf:/home/hung/gspcav1-20070426 # make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/hung/gspcav1-20070426 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.18.8-0.1-obj/i386/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.18.8-0.1-obj/i386/default'
make: *** [default] Error 2
linux-3fyf:/home/hung/gspcav1-20070426 # makefile
-bash: makefile: command not found
linux-3fyf:/home/hung/gspcav1-20070426 # make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1
this is the makefile that come with this driver
VERSION = 01.00.16
DEFINES =
###
# The following flags enable experimental features.
# By default, these are enabled for development versions of the driver, and
# disabled for release versions.
# Optional: Enable driver debugging
DEFINES += -DGSPCA_ENABLE_DEBUG
# Optional: Enable direct register read/write for PAC207 development
#DEFINES += -DGSPCA_ENABLE_REGISTERPLAY
###
# The following flags enable features that aren't yet implemented, and
# therefore are disabled by default.
# Optional: Enable compression
DEFINES += -DGSPCA_ENABLE_COMPRESSION
###
# Rest of Makefile follows here. You probably won't need to touch this.
# Setup defines
DEFINES += -DCONFIG_USB_GSPCA_MODULE=1 -DMODULE -D__KERNEL__
DEFINES += -DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"$(VERSION)\"
ifneq ($(KERNELRELEASE),) # We were called by kbuild
CFLAGS += $(DEFINES)
obj-m += gspca.o
gspca-objs := gspca_core.o decoder/gspcadecoder.o
else # We were called from command line
KERNEL_VERSION = `uname -r`
KERNELDIR := /lib/modules/$(KERNEL_VERSION)/build
PWD := $(shell pwd)>>>Is this my password or root password?>>>>>
MODULE_INSTALLDIR = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb/media/
MODULE_INSTALLDIR2 = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/media/video/
default:
$(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC=$(CC) modules
<<<<<<what does the dollar sign mean/>>>>>
install:
mkdir -p $(MODULE_INSTALLDIR)
rm -f $(MODULE_INSTALLDIR)spca5xx.ko
rm -f $(MODULE_INSTALLDIR2)gspca.ko
install -c -m 0644 gspca.ko $(MODULE_INSTALLDIR)
/sbin/depmod -ae
uninstall:
rm -f $(MODULE_INSTALLDIR)gspca.ko
/sbin/depmod -aq
endif
##############################################################################
# OTHER TARGETS
##############################################################################
clean:
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
.gspca.o.cmd *.o *.ko *.mod.* .[a-z]* core *.i \
*.symvers *.err
##############################################################################

Moderator
CNET Staff
Samsung Staff
Dell Staff