Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gspcav1 won't compile with 2.6.28-gentoo-r5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
boris_qd
Apprentice
Apprentice


Joined: 29 Aug 2005
Posts: 158
Location: Bonn/Germany

PostPosted: Thu Jun 11, 2009 1:57 pm    Post subject: gspcav1 won't compile with 2.6.28-gentoo-r5 Reply with quote

After upgrading my kernel I can't get the webcam module to build.

Code:

make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNELDIR=/usr/src/linux default
make -C /usr/src/linux M=/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.28-gentoo-r5'
  CC [M]  /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.o
  CC [M]  /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/decoder/gspcadecoder.o
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: At top level:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’:
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo-r5'
make: *** [default] Error 2
 *
 * ERROR: media-video/gspcav1-20071224 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3272:  Called linux-mod_src_compile
 *             environment, line 2533:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CROSS_COMPILE=${CHOST}-                                              LDFLAGS=\"$(get_abi_LDFLAGS)\"                                          ${BUILD_FIXES}                                               ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KERNELDIR=/usr/src/linux default
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/gspcav1-20071224/temp/environment'.
 *



Code:

uname -a
Linux mantis 2.6.28-gentoo-r5 #2 SMP Fri May 29 14:08:40 EDT 2009 i686 Intel(R) Pentium(R) M processor 1.80GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
ganderatc
n00b
n00b


Joined: 01 Feb 2006
Posts: 21

PostPosted: Fri Jun 12, 2009 6:06 am    Post subject: Reply with quote

Use the GSPCA drivers built into the kernel?
Back to top
View user's profile Send private message
boris_qd
Apprentice
Apprentice


Joined: 29 Aug 2005
Posts: 158
Location: Bonn/Germany

PostPosted: Fri Jun 12, 2009 11:18 am    Post subject: Reply with quote

I'll take a look. Back when I first installed they either weren't in the kernel or they didn't work (I don't remember which).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum