[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
*** This bug is a duplicate of bug 273727 *** https://bugs.launchpad.net/bugs/273727 Hi, I downloaded this version: http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz not working with the last kernel properly compiled debian way: Linux 2.6.27.8 #1 SMP Wed Dec 24 17:03:01 CET 2008 i686 GNU/Linux So?? /usr/src/modules/gspcav1-20071224# make make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspcav1-20071224 CC=cc modules make[1]: Entering directory `/usr/src/linux-2.6.27.8' CC [M] /usr/src/modules/gspcav1-20071224/gspca_core.o /usr/src/modules/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory /usr/src/modules/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_ioctl’: /usr/src/modules/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’ /usr/src/modules/gspcav1-20071224/gspca_core.c: At top level: /usr/src/modules/gspcav1-20071224/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer /usr/src/modules/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type /usr/src/modules/gspcav1-20071224/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer /usr/src/modules/gspcav1-20071224/gspca_core.c: In function ‘spca50x_create_sysfs’: /usr/src/modules/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’ /usr/src/modules/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’ /usr/src/modules/gspcav1-20071224/gspca_core.c: In function ‘spca5xx_probe’: /usr/src/modules/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment make[2]: *** [/usr/src/modules/gspcav1-20071224/gspca_core.o] Error 1 make[1]: *** [_module_/usr/src/modules/gspcav1-20071224] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27.8' make: *** [default] Error 2 -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
*** This bug is a duplicate of bug 273727 *** https://bugs.launchpad.net/bugs/273727 Hi, i've marked this as dupe from bug #273727. Please take into account that gspca modules are being introduced to the kernel, so the chances are that you don't need to compile it anymore. Please check the mentioned bug and bug #292086, bug #144745 and bug #260918 Regards, ** This bug has been marked a duplicate of bug 273727 gspca does not compile anymore -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
** Changed in: gspca (Ubuntu) Status: New => Confirmed -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
sudo gedit /usr/src/linux- headers-2.6.24-16-generic/scripts/Makefile.build Delete -> # If the save-* variables changed error out ifeq ($(KBUILD_NOPEDANTIC),) ifneq ("$(save-cflags)","$(CFLAGS)") $(error CFLAGS was changed in "$(kbuild-file)". Fix it to use EXTRA_CFLAGS) endif endif Save -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Update: > protorox wrote on 2008-04-28: (permalink) > >You should download the lastest version: >http://mxhaard.free.fr/download.html >It in fact DOES compile! True! I downloaded it, compiled it and my cam works perfectly -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Same here (I built my custom tuxonice 2.6.24-3 kernel and I had to add alsa, pulseaudio, nvidia, etc with module-assistant. Added them successfully. Then I tryed to add gspca-source and BOOM! the same error :( ) P. S. on 2.6.24-16 and 2.6.24-17 everything was fine, but I didn't have to buildit. I just installed gspca-source and the webcam started working. BUT on my custom kernel, of course, I must build it my self. And I get that error So, how can I fix CFLAGS to EXTRA_CFLAGS ? -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Recently I succeed compiling and installing perfectly GSPCA from webpage, but no Video0 appears whe plug my camera :( -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
I didn't could use my webcam :( Still waiting a solution or a request for more specific info in order to solve it. -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
My webcam is working for me now but I've no idea why. I have made absolutely no effort to get it working since I filed this bug report. -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Don't work for me :(. Kubuntu Hardy kernel 2.6.24-16-rt Quickcam Messenger With GSPCA source package occurs the same as Rott With GSPCA from webpage: make -C /lib/modules/`uname -r`/build SUBDIRS=/home/otomo/Desktop/gspcav1-20071224 CC=cc modules make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.24-16-rt' CC [M] /home/otomo/Desktop/gspcav1-20071224/gspca_core.o CC [M] /home/otomo/Desktop/gspcav1-20071224/decoder/gspcadecoder.o LD [M] /home/otomo/Desktop/gspcav1-20071224/gspca.o Building modules, stage 2. MODPOST 1 modules CC /home/otomo/Desktop/gspcav1-20071224/gspca.mod.o LD [M] /home/otomo/Desktop/gspcav1-20071224/gspca.ko make[1]: se sale del directorio `/usr/src/linux-headers-2.6.24-16-rt' -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Thanks, that worked for me. -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
You should download the lastest version: http://mxhaard.free.fr/download.html It in fact DOES compile! -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Same Problem here. Kernelversion is the same as stonerl's. -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Problem also occurs with 2.6.24-16-generic. I attached the logfile. ** Attachment added: "gspca-source.buildlog.2.6.24-16-generic.1207994804" http://launchpadlibrarian.net/13377249/gspca-source.buildlog.2.6.24-16-generic.1207994804 -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Same problem here. Error message is the same as above. -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213762] Re: gspca module won't build - "CFLAGS was changed" error
Same problem here /usr/bin/make -C /usr/src/modules/gspca KERNEL_VERSION=2.6.24-15-generic │ 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 │ modules │ make[3]: Entering directory `/usr/src/linux-headers-2.6.24-15-generic' │ scripts/Makefile.build:46: *** CFLAGS was changed in │ "/usr/src/modules/gspca/Makefile". Fix it to use EXTRA_CFLAGS. Stop. │ make[3]: *** [_module_/usr/src/modules/gspca] Error 2 │ make[3]: Leaving directory `/usr/src/linux-headers-2.6.24-15-generic' │ 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 2 -- gspca module won't build - "CFLAGS was changed" error https://bugs.launchpad.net/bugs/213762 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs