Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Driver Issues -> Compile Failed
Post new topic  Reply to topic View previous topic :: View next topic 
Compile Failed
PostPosted: Fri Apr 06, 2007 9:17 pm Reply with quote
bigby
 
Joined: 06 Apr 2007
Posts: 1




I just got the 5500 and upgraded to the 2.6.20 kernel. Everything, including ivtv for the pvr350 and my ATI for TV-out is working fine. I cannot get the 5500 to work, and I am assuming I have to compile the pchdtv "v4l-dvb" code. When I do 'make', I keep getting:

[code]make -C /lib/modules/2.6.20.4/build SUBDIRS=/root/pchdtv/v4l-dvb/v4l modules
make[2]: Entering directory `/usr/src/linux-2.6.20.4'
CC [M] /root/pchdtv/v4l-dvb/v4l/flexcop-pci.o
In file included from /root/pchdtv/v4l-dvb/v4l/flexcop-pci.c:10:
/root/pchdtv/v4l-dvb/v4l/flexcop-common.h:11:26: linux/config.h: No such file or directory
In file included from /root/pchdtv/v4l-dvb/v4l/dmxdev.h:40,
from /root/pchdtv/v4l-dvb/v4l/flexcop-common.h:20,
from /root/pchdtv/v4l-dvb/v4l/flexcop-pci.c:10:
/root/pchdtv/v4l-dvb/v4l/dvbdev.h:30:35: linux/devfs_fs_kernel.h: No such file or directory
/root/pchdtv/v4l-dvb/v4l/flexcop-pci.c: In function `flexcop_pci_irq_check_work':
/root/pchdtv/v4l-dvb/v4l/flexcop-pci.c:119: warning: passing arg 1 of `schedule_delayed_work' from incompatible pointer type[/code]

I have no idea where "linux/config.h" is at...nor how to fix it.
View user's profile Send private message
PostPosted: Fri Apr 27, 2007 7:44 pm Reply with quote
pcHDTV_tech
 
Joined: 16 Dec 2004
Posts: 295




The HD5500 should be fully supported in kernel 2.6.20. Please do a
Code:
> dmesg | grep cx88


and post the results here.

Rusty
View user's profile Send private message Visit poster's website
PostPosted: Mon Jul 30, 2007 8:53 am Reply with quote
dan.daugherty
 
Joined: 30 Jul 2007
Posts: 2




I get the same problem. Not sure what not finding a header in the source package has to do with a driver from the kernel, but here is my dmesg output.

cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47,autodetected]
cx88[0]/0: found at 0000:01:06.0, rev: 5, irq: 17, latency: 20, mmio: 0xf6000000
tuner 0-0043: chip found @ 0x86 (cx88[0])
tuner 0-0061: chip found @ 0xc2 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/2: cx2388x 8802 Driver Manager
cx88[0]/2: found at 0000:01:06.2, rev: 5, irq: 17, latency: 64, mmio: 0xf8000000
cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47,autodetected]
tuner 0-0043: chip found @ 0x86 (cx88[0])
tuner 0-0061: chip found @ 0xc2 (cx88[0])
cx88[0]/2: cx2388x 8802 Driver Manager
cx88[0]/2: found at 0000:01:06.2, rev: 5, irq: 17, latency: 64, mmio: 0xf8000000
cx88[0]/0: found at 0000:01:06.0, rev: 5, irq: 17, latency: 20, mmio: 0xf6000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx8802_register_driver() ->registering driver type=dvb access=shared
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47]
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
View user's profile Send private message
PostPosted: Wed Aug 01, 2007 9:15 pm Reply with quote
azipmpls
 
Joined: 29 Jul 2007
Posts: 2




Same here on Mythdora 4.0
Code:

[mythtv@localhost v4l-dvb]$ make
make -C /home/mythtv/v4l-dvb/v4l
make[1]: Entering directory `/home/mythtv/v4l-dvb/v4l'
scripts/make_makefile.pl
creating symbolic links...
make -C /lib/modules/2.6.20-1.2944.fc6/build SUBDIRS=/home/mythtv/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/kernels/2.6.20-1.2944.fc6-i686'
  CC [M]  /home/mythtv/v4l-dvb/v4l/flexcop-pci.o
In file included from /home/mythtv/v4l-dvb/v4l/flexcop-pci.c:10:
/home/mythtv/v4l-dvb/v4l/flexcop-common.h:11:26: error: linux/config.h: No such file or directory
In file included from /home/mythtv/v4l-dvb/v4l/dmxdev.h:40,
                 from /home/mythtv/v4l-dvb/v4l/flexcop-common.h:20,
                 from /home/mythtv/v4l-dvb/v4l/flexcop-pci.c:10:
/home/mythtv/v4l-dvb/v4l/dvbdev.h:30:35: error: linux/devfs_fs_kernel.h: No such file or directory
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_irq_check_work':
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:119: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_stream_control':
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:222: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:225: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_init':
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:300: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:379:71: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_probe':
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:379: error: 'INIT_WORK' undeclared (first use in this function)
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:379: error: (Each undeclared identifier is reported only once
/home/mythtv/v4l-dvb/v4l/flexcop-pci.c:379: error: for each function it appears in.)
make[3]: *** [/home/mythtv/v4l-dvb/v4l/flexcop-pci.o] Error 1
make[2]: *** [_module_/home/mythtv/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.20-1.2944.fc6-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/mythtv/v4l-dvb/v4l'
make: *** [all] Error 2
[mythtv@localhost v4l-dvb]$ dmesg | grep cx88
cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47,autodetected]
cx88[0]/2: cx2388x 8802 Driver Manager
cx88[0]/2: found at 0000:00:07.2, rev: 5, irq: 10, latency: 32, mmio: 0xe9000000
cx88[0]/0: found at 0000:00:07.0, rev: 5, irq: 10, latency: 32, mmio: 0xeb000000
tuner 0-0043: chip found @ 0x86 (cx88[0])
tuner 0-0061: chip found @ 0xc2 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx8802_register_driver() ->registering driver type=dvb access=shared
CORE cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47]
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
[mythtv@localhost v4l-dvb]$
View user's profile Send private message
does fully supported include IR ??
PostPosted: Fri Feb 15, 2008 1:30 pm Reply with quote
mordkoff
 
Joined: 29 Aug 2007
Posts: 1




I am trying to get the IR blaster to work. I don't need anything fancy, as I will just be recording two or three IR commands and then playing them back from a program...no actual remote involved. I just want a way to control an external device that has a IR receiver.

I understand that my kernel already supports this (see below) but as I understand things, the pre-built drivers do not support IR, so I think I need to build them.

I deleted all references to linux/config.h as that file is now obsolete. Now I get a new error (see below).

So my question is, does the kernel support IR and if not, when will a set of sources be made available that will compile for my kernel?

JLM

Code:

make -C /lib/modules/2.6.23.8/build SUBDIRS=/usr/src/v4l-dvb-FC5/v4l  modules
make[2]: Entering directory `/usr/src/linux-2.6.23.8'
  CC [M]  /usr/src/v4l-dvb-FC5/v4l/flexcop-pci.o
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c: In function 'flexcop_pci_irq_check_work':
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:119: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c: In function 'flexcop_pci_stream_control':
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:222: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:225: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c: In function 'flexcop_pci_init':
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:297: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:374:71: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c: In function 'flexcop_pci_probe':
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:374: error: 'INIT_WORK' undeclared (first use in this function)
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:374: error: (Each undeclared identifier is reported only once
/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.c:374: error: for each function it appears in.)
make[3]: *** [/usr/src/v4l-dvb-FC5/v4l/flexcop-pci.o] Error 1
make[2]: *** [_module_/usr/src/v4l-dvb-FC5/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.23.8'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/v4l-dvb-FC5/v4l'
make: *** [all] Error 2




[jlm@qa5 v4l-dvb-FC5]$ /sbin/!!
/sbin/lsmod | grep cx88
cx88_dvb               15492  0
cx88_vp3054_i2c         6528  1 cx88_dvb
video_buf_dvb           8580  1 cx88_dvb
cx8802                 17796  1 cx88_dvb
cx8800                 30056  0
cx88xx                 60964  3 cx88_dvb,cx8802,cx8800
ir_common              33540  1 cx88xx
i2c_algo_bit            9220  2 cx88_vp3054_i2c,cx88xx
tveeprom               17680  1 cx88xx
videodev               28160  4 vga2usb,usbvideo,cx8800,cx88xx
compat_ioctl32          5376  2 usbvideo,cx8800
v4l2_common            18688  4 tuner,cx8800,cx88xx,videodev
video_buf              22532  5 cx88_dvb,video_buf_dvb,cx8802,cx8800,cx88xx
btcx_risc               7944  3 cx8802,cx8800,cx88xx
i2c_core               21760  9 dvb_pll,lgdt330x,cx88_vp3054_i2c,tuner,cx88xx,i2c_algo_bit,tveeprom,nvidia,i2c_i801



[jlm@qa5 v4l-dvb-FC5]$ uname -a
Linux qa5.zz1.local 2.6.23.8 #1 SMP Tue Dec 11 13:46:28 EST 2007 i686 i686 i386 GNU/Linux
View user's profile Send private message AIM Address Yahoo Messenger
PostPosted: Wed Jan 13, 2010 8:00 pm Reply with quote
TylerSontag
 
Joined: 11 Jan 2010
Posts: 1




I get the same error... heres some info

Code:
tag@tagcenter:/usr/local/src/v4l-dvb$ sudo make
make -C /usr/local/src/v4l-dvb/v4l
make[1]: Entering directory `/usr/local/src/v4l-dvb/v4l'
echo "No version yet."
No version yet.
uname -r|perl -ne 'if (/^([0-9]*)\.([0-9])*\.([0-9]*)(.*)$/) { printf ("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",$1,$2,$3,$1,$2,$3,$4); };' > ./.version
make[1]: Leaving directory `/usr/local/src/v4l-dvb/v4l'
make[1]: Entering directory `/usr/local/src/v4l-dvb/v4l'
scripts/make_makefile.pl
creating symbolic links...
make -C /lib/modules/2.6.31-17-generic/build SUBDIRS=/usr/local/src/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.31-17-generic'
  CC [M]  /usr/local/src/v4l-dvb/v4l/flexcop-pci.o
In file included from /usr/local/src/v4l-dvb/v4l/flexcop-pci.c:10:
/usr/local/src/v4l-dvb/v4l/flexcop-common.h:11:26: error: linux/config.h: No such file or directory
In file included from /usr/local/src/v4l-dvb/v4l/dmxdev.h:40,
                 from /usr/local/src/v4l-dvb/v4l/flexcop-common.h:20,
                 from /usr/local/src/v4l-dvb/v4l/flexcop-pci.c:10:
/usr/local/src/v4l-dvb/v4l/dvbdev.h:30:35: error: linux/devfs_fs_kernel.h: No such file or directory
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_irq_check_work':
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:119: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
include/linux/workqueue.h:213: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_stream_control':
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:222: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
include/linux/workqueue.h:213: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:225: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
include/linux/workqueue.h:233: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_init':
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:300: error: 'SA_SHIRQ' undeclared (first use in this function)
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:300: error: (Each undeclared identifier is reported only once
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:300: error: for each function it appears in.)
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:300: warning: passing argument 2 of 'request_irq' from incompatible pointer type
include/linux/interrupt.h:116: note: expected 'irq_handler_t' but argument is of type 'enum irqreturn_t (*)(int,  void *, struct pt_regs *)'
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:379:71: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_probe':
/usr/local/src/v4l-dvb/v4l/flexcop-pci.c:379: error: 'INIT_WORK' undeclared (first use in this function)
make[3]: *** [/usr/local/src/v4l-dvb/v4l/flexcop-pci.o] Error 1
make[2]: *** [_module_/usr/local/src/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-17-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/local/src/v4l-dvb/v4l'
make: *** [all] Error 2
Code:

tag@tagcenter:/usr/local/src/v4l-dvb$ dmesg | grep cx88
[   20.314125] cx88/0: cx2388x v4l2 driver version 0.0.7 loaded
[   20.314171] cx8800 0000:03:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   20.314426] cx88[0]: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47,autodetected], frontend(s): 1
[   20.314428] cx88[0]: TV tuner type 64, Radio tuner type -1
[   20.315988] cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.7 loaded
[   20.857930] tuner 0-0043: chip found @ 0x86 (cx88[0])
[   20.890619] tuner 0-0061: chip found @ 0xc2 (cx88[0])
[   21.059409] input: cx88 IR (pcHDTV HD5500 HDTV) as /devices/pci0000:00/0000:00:1e.0/0000:03:04.0/input/input5
[   21.059458] cx88[0]/0: found at 0000:03:04.0, rev: 5, irq: 16, latency: 64, mmio: 0xfd000000
[   21.059469] IRQ 16/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[   21.059505] cx88[0]/0: registered device video0 [v4l2]
[   21.059524] cx88[0]/0: registered device vbi0
[   21.069409] cx88[0]/2: cx2388x 8802 Driver Manager
[   21.069423] cx88-mpeg driver manager 0000:03:04.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   21.069431] cx88[0]/2: found at 0000:03:04.2, rev: 5, irq: 16, latency: 64, mmio: 0xfb000000
[   21.069434] IRQ 16/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[   21.071022] cx88_audio 0000:03:04.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   21.071031] IRQ 16/cx88[0]: IRQF_DISABLED is not guaranteed on shared IRQs
[   21.071051] cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
[   22.195030] cx88/2: cx2388x dvb driver version 0.0.7 loaded
[   22.195033] cx88/2: registering cx8802 driver, type: dvb access: shared
[   22.195036] cx88[0]/2: subsystem: 7063:5500, board: pcHDTV HD5500 HDTV [card=47]
[   22.195037] cx88[0]/2: cx2388x based DVB/ATSC card
[   22.195039] cx8802_alloc_frontends() allocating 1 frontend(s)
[   22.760241] DVB: registering new adapter (cx88[0])


I currently have the card working with mythtv right now, I at first didn't think i needed a driver since im running ubuntu 910, but the qualitys not that good and the stream its recording is huge (3 gigs per hour) I don't know if the driver will help with either but i thought id try
View user's profile Send private message
Make fail on 2.6.31.13
PostPosted: Mon Jun 21, 2010 8:09 pm Reply with quote
Brotherred
 
Joined: 30 Apr 2010
Posts: 3
Location: Muskegon, MI




I am on Mandriva 2010.0 and just installed the sources and restarted. It seems a lot of people need help here. PLEASE.

_________________
Those that do not know pay for it. (mine)
View user's profile Send private message AIM Address Yahoo Messenger
Having the same problem as others
PostPosted: Wed Jun 30, 2010 7:49 pm Reply with quote
Brotherred
 
Joined: 30 Apr 2010
Posts: 3
Location: Muskegon, MI




I ment to say I am having the very same problem as others and it seems clear we all need help with it.

_________________
Those that do not know pay for it. (mine)
View user's profile Send private message AIM Address Yahoo Messenger
Compile Failed
  pcHDTV Forum Index -> Driver Issues
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
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin