[cpia] Problems compiling CPIA 1.0/USB
Linux Webcam
LinuxWebcam@exchange.ware.net
Sun, 2 Jul 2000 11:32:08 -0700
I've upgraded to the 2.3.99pre9 Kernel, and I can't seem to compile the USB
version of the CPIA 1.0 drivers. The PP and base module works. I have
disabled the kernel support for CPIA, and have enabled USB-OHCI and the USB
Core, as well as V4L.
Any clues? Below, I commented out the PP defines, but it has the same
errors regardless.
TIA.
Lance
[root@linux module]# gcc -D_CPIA_DEBUG_ -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=686 -fomit-frame-pointer
-fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE
-DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_USB_MODULE cpia_usb.c -o
cpia_usb
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
/tmp/cctVbLFT.o: In function `cpia_usb_complete':
/tmp/cctVbLFT.o(.text+0x9b): undefined reference to `printk'