[Pkg-spca5xx-devel] Bug#401345: spca5xx-source: fails to compile.

Manolo Díaz manolo_diaz at wanadoo.es
Sat Dec 2 20:19:33 CET 2006


Package: spca5xx-source
Version: 20060501-2
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (1001, 'testing'), (101, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages spca5xx-source depends on:
ii  bzip2                         1.0.3-6    high-quality block-sorting file co
ii  debhelper                     5.0.42     helper programs for debian/rules
ii  module-assistant              0.10.8     tool to make module package creati

spca5xx-source recommends no packages.

-- debconf-show failed

Hi,

	I can't compile this module from source. I'm using the kernel source from
the debian package linux-source-2.6.18 (2.6.18-6). This is the log:



# Build the module
/usr/bin/make -C /usr/src/modules/spca5xx KERNEL_VERSION=2.6.18 KERNELDIR=/usr/src/linux
make[2]: Entering directory `/usr/src/modules/spca5xx'
   Building SPCA5XX driver for 2.5/2.6 kernel.
   Remember: you must have read/write access to your kernel source tree.
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/spca5xx CC=gcc-4.1 modules
make[3]: Entering directory `/usr/src/linux-source-2.6.18'
  CC [M]  /usr/src/modules/spca5xx/drivers/usb/spca5xx.o
In file included from /usr/src/modules/spca5xx/drivers/usb/spca5xx.c:848:
/usr/src/modules/spca5xx/drivers/usb/spca506.h: In function 'spca506_SetNormeInput':
/usr/src/modules/spca5xx/drivers/usb/spca506.h:120: error: 'VIDEO_MODE_NTSC' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca506.h:120: error: (Each undeclared identifier is reported only once
/usr/src/modules/spca5xx/drivers/usb/spca506.h:120: error: for each function it appears in.)
/usr/src/modules/spca5xx/drivers/usb/spca506.h:131: error: 'VIDEO_MODE_PAL' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca506.h:137: error: 'VIDEO_MODE_SECAM' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'spca5xx_get_depth':/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1452: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1454: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1461: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1465: error: 'VIDEO_PALETTE_RGB32' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'v4l_to_spca5xx':
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1798: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1800: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1802: error: 'VIDEO_PALETTE_RGB32' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1804: error: 'VIDEO_PALETTE_YUV422P' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:1806: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'spca50x_init_source':
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2294: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'spca5xx_setFrameDecoder':
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2335: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'spca5xx_open':
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2392: warning: implicit declaration of function 'video_devdata'
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2392: warning: initialization makes pointer from integer without a cast
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'spca5xx_do_ioctl':
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2555: error: 'VIDIOCGCAP' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2565: error: invalid application of 'sizeof' to incomplete type 'struct video_capability'
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2566: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2567: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2568: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2569: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2570: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2571: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2573: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2574: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2582: error: 'VIDIOCGCHAN' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2595: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2596: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2603: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2604: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2606: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2607: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2608: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2610: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2611: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2617: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2622: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2623: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2624: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2624: error: 'VIDEO_TYPE_CAMERA' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2632: error: 'VIDIOCSCHAN' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2643: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2643: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2643: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2644: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2647: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2647: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2651: error: 'VIDIOCGPICT' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2660: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2661: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2663: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2663: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2666: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2667: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2668: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2669: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2670: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2680: error: 'VIDIOCSPICT' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2694: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2697: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2698: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2698: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2703: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2704: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2706: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2708: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2709: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2710: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2715: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2716: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2720: error: 'VIDIOCGCAPTURE' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2729: error: 'VIDIOCSCAPTURE' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2740: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2742: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2747: error: 'VIDIOCSWIN' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2759: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2759: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2759: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2761: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2761: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2764: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2766: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2768: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2770: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2772: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2774: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2779: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2779: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2783: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2784: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2789: error: 'VIDIOCGWIN' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2798: error: invalid application of 'sizeof' to incomplete type 'struct video_window'
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2799: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2800: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2801: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2802: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2803: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2805: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2805: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2813: error: 'VIDIOCGMBUF' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2823: error: invalid application of 'sizeof' to incomplete type 'struct video_mbuf'
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2824: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2825: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2828: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2837: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2850: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2850: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2850: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2850: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2853: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2855: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2859: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2859: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2860: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2864: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2865: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2869: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2870: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2874: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2874: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2874: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2893: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2893: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2894: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2894: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2895: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2895: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2898: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2898: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2899: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2903: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2903: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2904: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2904: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2905: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2905: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2906: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2940: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:2943: error: 'VIDIOCSYNC' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3001: error: 'VIDIOCGFBUF' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3009: error: invalid application of 'sizeof' to incomplete type 'struct video_buffer'
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3010: error: dereferencing pointer to incomplete type
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3018: error: 'BASE_VIDIOCPRIVATE' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3063: error: 'VIDIOCKEY' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3065: error: 'VIDIOCCAPTURE' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3067: error: 'VIDIOCSFBUF' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3069: error: 'VIDIOCGTUNER' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3070: error: 'VIDIOCSTUNER' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3072: error: 'VIDIOCGFREQ' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3073: error: 'VIDIOCSFREQ' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3075: error: 'VIDIOCGAUDIO' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3076: error: 'VIDIOCSAUDIO' undeclared (first use in this function)
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'cd_to_spca50x':
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3338: warning: implicit declaration of function 'to_video_device'
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer from integer without a cast
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c: In function 'spca50x_create_sysfs':
/usr/src/modules/spca5xx/drivers/usb/spca5xx.c:3448: warning: implicit declaration of function 'video_device_create_file'
make[4]: *** [/usr/src/modules/spca5xx/drivers/usb/spca5xx.o] Error 1
make[3]: *** [_module_/usr/src/modules/spca5xx] Error 2
make[3]: Leaving directory `/usr/src/linux-source-2.6.18'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/modules/spca5xx'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/spca5xx'
make: *** [kdist_build] Error 2


Regards,
Manolo




More information about the Pkg-spca5xx-devel mailing list