[Pkg-spca5xx-devel] Bug#401347: gspca-source: fails to compile

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


Package: gspca-source
Version: 01.00.04-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 gspca-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

gspca-source recommends no packages.

-- debconf-show failed

Hi,

	This is what I see when I try to compile against linux kernel 2.6.18
from the debian package linux-source-2.6.18 (2.6.18-6):


# Build the module
/usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.18 KERNELDIR=/usr/src/linux
make[2]: Entering directory `/usr/src/modules/gspca'
/usr/bin/make -C /usr/src/linux SUBDIRS=/usr/src/modules/gspca CC=gcc-4.1 modules
make[3]: Entering directory `/usr/src/linux-source-2.6.18'
  CC [M]  /usr/src/modules/gspca/gspca_core.o
In file included from /usr/src/modules/gspca/gspca_core.c:742:
/usr/src/modules/gspca/Sunplus/spca506.h: In function 'spca506_SetNormeInput':
/usr/src/modules/gspca/Sunplus/spca506.h:120: error: 'VIDEO_MODE_NTSC' undeclared (first use in this function)
/usr/src/modules/gspca/Sunplus/spca506.h:120: error: (Each undeclared identifier is reported only once
/usr/src/modules/gspca/Sunplus/spca506.h:120: error: for each function it appears in.)
/usr/src/modules/gspca/Sunplus/spca506.h:131: error: 'VIDEO_MODE_PAL' undeclared (first use in this function)
/usr/src/modules/gspca/Sunplus/spca506.h:137: error: 'VIDEO_MODE_SECAM' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c: In function 'spca5xx_get_depth':
/usr/src/modules/gspca/gspca_core.c:883: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:885: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:891: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:894: error: 'VIDEO_PALETTE_RGB32' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c: In function 'v4l_to_spca5xx':
/usr/src/modules/gspca/gspca_core.c:1207: error: 'VIDEO_PALETTE_RGB565' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:1209: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:1211: error: 'VIDEO_PALETTE_RGB32' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:1213: error: 'VIDEO_PALETTE_YUV422P' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:1215: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c: In function 'spca50x_init_source':
/usr/src/modules/gspca/gspca_core.c:1728: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c: In function 'spca5xx_setFrameDecoder':
/usr/src/modules/gspca/gspca_core.c:1768: error: 'VIDEO_PALETTE_RGB24' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c: In function 'spca5xx_open':
/usr/src/modules/gspca/gspca_core.c:1886: warning: implicit declaration of function 'video_devdata'
/usr/src/modules/gspca/gspca_core.c:1886: warning: initialization makes pointer from integer without a cast
/usr/src/modules/gspca/gspca_core.c: In function 'spca5xx_do_ioctl':
/usr/src/modules/gspca/gspca_core.c:1996: error: 'VIDIOCGCAP' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2000: error: invalid application of 'sizeof' to incomplete type 'struct video_capability'
/usr/src/modules/gspca/gspca_core.c:2001: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2003: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2004: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2006: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2007: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2008: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2009: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2010: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2013: error: 'VIDIOCGCHAN' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2019: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2020: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2029: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2031: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2032: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2033: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2035: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2037: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2039: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2044: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2048: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2049: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2050: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2050: error: 'VIDEO_TYPE_CAMERA' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2053: error: 'VIDIOCSCHAN' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2057: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2057: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2058: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2059: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2062: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2063: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2067: error: 'VIDIOCGPICT' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2070: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2071: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2072: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2072: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2074: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2075: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2076: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2077: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2078: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2081: error: 'VIDIOCSPICT' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2087: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2090: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2091: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2091: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2096: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2097: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2099: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2101: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2102: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2103: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2107: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2108: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2111: error: 'VIDIOCGCAPTURE' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2119: error: 'VIDIOCSCAPTURE' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2122: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2124: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2128: error: 'VIDIOCSWIN' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2132: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2132: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2132: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2135: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2136: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2138: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2140: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2142: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2144: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2146: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2148: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2151: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2151: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2154: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2155: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2159: error: 'VIDIOCGWIN' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2162: error: invalid application of 'sizeof' to incomplete type 'struct video_window'
/usr/src/modules/gspca/gspca_core.c:2163: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2164: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2165: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2166: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2167: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2168: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2168: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2171: error: 'VIDIOCGMBUF' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2176: error: invalid application of 'sizeof' to incomplete type 'struct video_mbuf'
/usr/src/modules/gspca/gspca_core.c:2177: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2178: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2180: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2184: error: 'VIDIOCMCAPTURE' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2189: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2189: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2189: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2189: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2191: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2193: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2197: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2197: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2198: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2202: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2203: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2207: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2208: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2213: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2213: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2213: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2215: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2215: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2216: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2216: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2217: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2217: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2219: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2220: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2220: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2223: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2223: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2224: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2224: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2225: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2225: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2226: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2260: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2263: error: 'VIDIOCSYNC' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2314: error: 'VIDIOCGFBUF' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2317: error: invalid application of 'sizeof' to incomplete type 'struct video_buffer'
/usr/src/modules/gspca/gspca_core.c:2318: error: dereferencing pointer to incomplete type
/usr/src/modules/gspca/gspca_core.c:2321: error: 'BASE_VIDIOCPRIVATE' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2353: error: 'VIDIOCKEY' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2355: error: 'VIDIOCCAPTURE' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2357: error: 'VIDIOCSFBUF' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2359: error: 'VIDIOCGTUNER' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2360: error: 'VIDIOCSTUNER' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2362: error: 'VIDIOCGFREQ' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2363: error: 'VIDIOCSFREQ' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2365: error: 'VIDIOCGAUDIO' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c:2366: error: 'VIDIOCSAUDIO' undeclared (first use in this function)
/usr/src/modules/gspca/gspca_core.c: In function 'cd_to_spca50x':
/usr/src/modules/gspca/gspca_core.c:2573: warning: implicit declaration of function 'to_video_device'
/usr/src/modules/gspca/gspca_core.c:2573: warning: initialization makes pointer from integer without a cast
/usr/src/modules/gspca/gspca_core.c: In function 'spca50x_create_sysfs':
/usr/src/modules/gspca/gspca_core.c:2610: warning: implicit declaration of function 'video_device_create_file'
make[4]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[3]: *** [_module_/usr/src/modules/gspca] 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/gspca'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/gspca'
make: *** [kdist_build] Error


Regards,
Manolo




More information about the Pkg-spca5xx-devel mailing list