Skip to contentSkip to conversation

The gspca from the repository is not compile

DISCUSSION Alex 2 participants 3 messages Jan 1, 2009 – Jan 2, 2009 Media (V4L/DVB)

lore
Share & tools
lore

Alex

author
#0 lore raw

Hello,

My system is Fedora 9, the kernel is 2.6.27.9-73.fc9.i686. I have the package kernel-devel installed.

I have obtained the sources fo the gspca using the command "hg clone http://linuxtv.org/hg/~jfrancois/gspca/".

I run "make menuconfig" without changes and without erros.
When I run make I got the following error after several seconds of compiling:
--------------------------------------------------------------------------------------------------------------------
 CC [M]  /root/Documents/linuxTv/gspca/v4l/bttv-i2c.o
  CC [M]  /root/Documents/linuxTv/gspca/v4l/bttv-gpio.o
  CC [M]  /root/Documents/linuxTv/gspca/v4l/bttv-input.o
In file included from /root/Documents/linuxTv/gspca/v4l/bttvp.h:36,
                 from /root/Documents/linuxTv/gspca/v4l/bttv-input.c:28:
include/linux/pci.h:1126: error: expected declaration specifiers or '...' before '(' token include/linux/pci.h:1126: error: expected declaration specifiers or '...' before '(' token include/linux/pci.h:1126: error: static declaration of 'ioremap_nocache' follows non-static declaration include/asm/io_32.h:111: error: previous declaration of 'ioremap_nocache' was here include/linux/pci.h: In function 'ioremap_nocache':
include/linux/pci.h:1127: error: number of arguments doesn't match prototype include/asm/io_32.h:111: error: prototype declaration
include/linux/pci.h:1131: error: 'pdev' undeclared (first use in this function) include/linux/pci.h:1131: error: (Each undeclared identifier is reported only once include/linux/pci.h:1131: error: for each function it appears in.) include/linux/pci.h:1131: error: 'bar' undeclared (first use in this function) make[3]: *** [/root/Documents/linuxTv/gspca/v4l/bttv-input.o] Error 1
make[2]: *** [_module_/root/Documents/linuxTv/gspca/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.27.9-73.fc9.i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/Documents/linuxTv/gspca/v4l'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------

The output of the " hg log -l1" is:
--------------------------------------------------------------------------------------------------------------------
changeset:   10167:2b2568c40385
tag:         tip
user:        Jean-Francois Moine <[email protected]> date:        Thu Jan 01 17:20:42 2009 +0100 summary:     gspca - common: Simplify the debug macros.
--------------------------------------------------------------------------------------------------------------------

So the sources is up-to-date at the moment of compiling.

Can somebody suggest the way to compile the sources?

Best regards,
Alex.

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw

Am Donnerstag, den 01.01.2009, 11:06 -0800 schrieb Alex:

Quoted 41 lines

Hello,

My system is Fedora 9, the kernel is 2.6.27.9-73.fc9.i686. I have the package kernel-devel installed.

I have obtained the sources fo the gspca using the command "hg clone http://linuxtv.org/hg/~jfrancois/gspca/".

I run "make menuconfig" without changes and without erros.
When I run make I got the following error after several seconds of compiling:
--------------------------------------------------------------------------------------------------------------------
CC [M] /root/Documents/linuxTv/gspca/v4l/bttv-i2c.o
CC [M] /root/Documents/linuxTv/gspca/v4l/bttv-gpio.o
CC [M] /root/Documents/linuxTv/gspca/v4l/bttv-input.o
In file included from /root/Documents/linuxTv/gspca/v4l/bttvp.h:36,
from /root/Documents/linuxTv/gspca/v4l/bttv-input.c:28:
include/linux/pci.h:1126: error: expected declaration specifiers or '...' before '(' token include/linux/pci.h:1126: error: expected declaration specifiers or '...' before '(' token include/linux/pci.h:1126: error: static declaration of 'ioremap_nocache' follows non-static declaration include/asm/io_32.h:111: error: previous declaration of 'ioremap_nocache' was here include/linux/pci.h: In function 'ioremap_nocache':
include/linux/pci.h:1127: error: number of arguments doesn't match prototype include/asm/io_32.h:111: error: prototype declaration
include/linux/pci.h:1131: error: 'pdev' undeclared (first use in this function) include/linux/pci.h:1131: error: (Each undeclared identifier is reported only once include/linux/pci.h:1131: error: for each function it appears in.) include/linux/pci.h:1131: error: 'bar' undeclared (first use in this function) make[3]: *** [/root/Documents/linuxTv/gspca/v4l/bttv-input.o] Error 1
make[2]: *** [_module_/root/Documents/linuxTv/gspca/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.27.9-73.fc9.i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/Documents/linuxTv/gspca/v4l'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------

The output of the " hg log -l1" is:
--------------------------------------------------------------------------------------------------------------------

changeset:   10167:2b2568c40385
tag:         tip
user:        Jean-Francois Moine <[email protected]>
date:        Thu Jan 01 17:20:42 2009 +0100
summary:     gspca - common: Simplify the debug macros.
Quoted 9 lines

--------------------------------------------------------------------------------------------------------------------

So the sources is up-to-date at the moment of compiling.

Can somebody suggest the way to compile the sources?

Best regards,
Alex.

Hi,

this is only the beginning of a series of recent compile troubles.

We had for a while snapshots of v4l-dvb to allow to come over such times caused by kernel sync down ported from upstream and maybe should have them again for such periods.

For now, either checkout a slightly older snapshot or disable conflicting stuff with "make menuconfig" or fix it.

It starts with bttv-input, goes over cx23885, cx88xx, saa7134-alsa and several dvb frontends, but gspca is not involved.

Cheers,
Hermann

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw

Am Donnerstag, den 01.01.2009, 20:31 +0100 schrieb hermann pitton:

Quoted 60 lines

Am Donnerstag, den 01.01.2009, 11:06 -0800 schrieb Alex:

Quoted 41 lines

Hello,

My system is Fedora 9, the kernel is 2.6.27.9-73.fc9.i686. I have the package kernel-devel installed.

I have obtained the sources fo the gspca using the command "hg clone http://linuxtv.org/hg/~jfrancois/gspca/".

I run "make menuconfig" without changes and without erros.
When I run make I got the following error after several seconds of compiling:
--------------------------------------------------------------------------------------------------------------------
CC [M] /root/Documents/linuxTv/gspca/v4l/bttv-i2c.o
CC [M] /root/Documents/linuxTv/gspca/v4l/bttv-gpio.o
CC [M] /root/Documents/linuxTv/gspca/v4l/bttv-input.o
In file included from /root/Documents/linuxTv/gspca/v4l/bttvp.h:36,
from /root/Documents/linuxTv/gspca/v4l/bttv-input.c:28:
include/linux/pci.h:1126: error: expected declaration specifiers or '...' before '(' token include/linux/pci.h:1126: error: expected declaration specifiers or '...' before '(' token include/linux/pci.h:1126: error: static declaration of 'ioremap_nocache' follows non-static declaration include/asm/io_32.h:111: error: previous declaration of 'ioremap_nocache' was here include/linux/pci.h: In function 'ioremap_nocache':
include/linux/pci.h:1127: error: number of arguments doesn't match prototype include/asm/io_32.h:111: error: prototype declaration
include/linux/pci.h:1131: error: 'pdev' undeclared (first use in this function) include/linux/pci.h:1131: error: (Each undeclared identifier is reported only once include/linux/pci.h:1131: error: for each function it appears in.) include/linux/pci.h:1131: error: 'bar' undeclared (first use in this function) make[3]: *** [/root/Documents/linuxTv/gspca/v4l/bttv-input.o] Error 1
make[2]: *** [_module_/root/Documents/linuxTv/gspca/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.27.9-73.fc9.i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/Documents/linuxTv/gspca/v4l'
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------

The output of the " hg log -l1" is:
--------------------------------------------------------------------------------------------------------------------

changeset:   10167:2b2568c40385
tag:         tip
user:        Jean-Francois Moine <[email protected]>
date:        Thu Jan 01 17:20:42 2009 +0100
summary:     gspca - common: Simplify the debug macros.
Quoted 9 lines

--------------------------------------------------------------------------------------------------------------------

So the sources is up-to-date at the moment of compiling.

Can somebody suggest the way to compile the sources?

Best regards,
Alex.

Hi,

this is only the beginning of a series of recent compile troubles.

We had for a while snapshots of v4l-dvb to allow to come over such times caused by kernel sync down ported from upstream and maybe should have them again for such periods.

Quoted 6 lines

For now, either checkout a slightly older snapshot or disable conflicting stuff with "make menuconfig" or fix it.

It starts with bttv-input, goes over cx23885, cx88xx, saa7134-alsa and several dvb frontends, but gspca is not involved.

Looking closer, this is Fedora 9 and 10 specific and caused by a 2.6.28 down port to 2.6.27.

Details are already at the linux-dvb ML and workarounds are suggested.

http://linuxtv.org/pipermail/linux-dvb/2009-January/031198.html

Hermann

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list