Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot compile HVR-1300 drivers
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
stpierre1982
n00b
n00b


Joined: 25 Aug 2005
Posts: 47

PostPosted: Sat Aug 09, 2008 10:28 am    Post subject: cannot compile HVR-1300 drivers Reply with quote

Hello, i've a Hauppauge HVR-1300 TV card and i'm trying to compile drivers.

Kernel drivers doesn't work ans i've found another driver form
http://linuxtv.org/hg/~rmcc/hvr-1300/
http://gentoo-wiki.com/HARDWARE_Hauppauge_HVR_1300

But I can't compile this driver :
Code:

# make
make -C /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l
make[1]: entrant dans le répertoire « /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l »
perl scripts/make_config_compat.pl /lib/modules/2.6.26/source ./.myconfig ./config-compat.h
creating symbolic links...
Kernel build directory is /lib/modules/2.6.26/build
make -C /lib/modules/2.6.26/build SUBDIRS=/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l  modules
make[2]: Entering directory `/usr/src/linux-2.6.26'
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-pci.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-usb.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-fe-tuner.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-i2c.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-sram.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-eeprom.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-misc.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-hw-filter.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/flexcop-dma.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-driver.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-driver.c:46:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-driver.c:38:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-cards.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-cards.c:40:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/linux/delay.h:10,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-cards.c:28:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-if.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-if.c:34:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-if.c:29:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-if.c:34:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-if.c:29:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-risc.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-risc.c:35:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-risc.c:27:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-vbi.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-vbi.c:33:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-vbi.c:26:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-i2c.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-i2c.c:34:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-i2c.c:30:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-gpio.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-gpio.c:35:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-gpio.c:29:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-gpio.c:35:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-gpio.c:29:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-input.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-input.c:28:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/module.h:9,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-input.c:21:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-audio-hook.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-audio-hook.h:8,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-audio-hook.c:8:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:94:1: warning: "clamp" redefinedIn file included from include/asm/system.h:10,
                 from include/asm/processor.h:17,
                 from include/linux/prefetch.h:14,
                 from include/linux/list.h:6,
                 from include/linux/wait.h:22,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttvp.h:32,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-audio-hook.h:8,
                 from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/bttv-audio-hook.c:8:
include/linux/kernel.h:379:1: warning: this is the location of the previous definition
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cpia2_v4l.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cpia2_usb.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cpia2_core.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx23885-cards.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx23885-video.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx23885-vbi.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx23885-core.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx23885-i2c.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx23885-dvb.o
  CC [M]  /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx25840-core.o
In file included from /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx25840-core.c:42:/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h: In function 'v4l2_i2c_drv_init':
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:197: warning: assignment from incompatible pointer type
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx25840-core.c: At top level:
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx25840-core.c:71: error: conflicting type qualifiers for 'addr_data'
/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/../linux/include/media/v4l2-i2c-drv-legacy.h:41: error: previous declaration of 'addr_data' was here
make[3]: *** [/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l/cx25840-core.o] Error 1
make[2]: *** [_module_/root/Desktop/hvr-1300-a6ddaabaa2d6/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.26'
make[1]: *** [default] Erreur 2
make[1]: quittant le répertoire « /root/Desktop/hvr-1300-a6ddaabaa2d6/v4l »
make: *** [all] Erreur 2
#


i'm using a 2.6.26 kernel from debian.org
i've tried to change some compilation kernel option (I2C, V4L) but without result.

someone can help me?

Thank you!
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