Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Installation/Setup -> can't compile driver on 2.6.21, fedora 7
Post new topic  Reply to topic View previous topic :: View next topic 
can't compile driver on 2.6.21, fedora 7
PostPosted: Sun Jun 10, 2007 3:40 pm Reply with quote
jhollaba
 
Joined: 10 Jun 2007
Posts: 4




Hi,

I just got an HD-5500 card, and I'm installing a fresh fedora 7 box with 2.6.21 kernel. It seems to choke on not being able to find linux/config.h and linux/devfs_fs_kernel.h. I touched linux/config.h and it seemed to like that, but it still choked on devfs_fs_kernel.h.

Below is the output of the make (with manually touching linux/config.h as an empty file).

Any ideas? I checked the /usr/src/kernels/2.6.21-1.3194.fc7-i686 directory, and it looks like I have the kernel source installed.

James

make -C /root/Desktop/tmp/v4l-dvb/v4l
make[1]: Entering directory `/root/Desktop/tmp/v4l-dvb/v4l'
scripts/make_makefile.pl
creating symbolic links...
make -C /lib/modules/2.6.21-1.3194.fc7/build SUBDIRS=/root/Desktop/tmp/v4l-dvb/v4l
modules
make[2]: Entering directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
CC [M] /root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.o
In file included from /root/Desktop/tmp/v4l-dvb/v4l/dmxdev.h:40,
from /root/Desktop/tmp/v4l-dvb/v4l/flexcop-common.h:20,
from /root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:10:
/root/Desktop/tmp/v4l-dvb/v4l/dvbdev.h:30:35: error: linux/devfs_fs_kernel.h: No
such file or directory
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_irq_check_work':
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:119: warning: passing argument 1 of
'schedule_delayed_work' from incompatible pointer type
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_stream_control':
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:222: warning: passing argument 1 of
'schedule_delayed_work' from incompatible pointer type
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:225: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_init':
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:300: warning: passing argument 2 of
'request_irq' from incompatible pointer type
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:379:71: error: macro "INIT_WORK" passed
3 arguments, but takes just 2
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c: In function 'flexcop_pci_probe':
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:379: error: 'INIT_WORK' undeclared
(first use in this function)
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:379: error: (Each undeclared identifier
is reported only once
/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.c:379: error: for each function it appears
in.)
make[3]: *** [/root/Desktop/tmp/v4l-dvb/v4l/flexcop-pci.o] Error 1
make[2]: *** [_module_/root/Desktop/tmp/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/Desktop/tmp/v4l-dvb/v4l'
make: *** [all] Error 2
View user's profile Send private message
no need to compile HD5500 drivers in 2.6.21
PostPosted: Mon Jun 11, 2007 11:30 am Reply with quote
jhollaba
 
Joined: 10 Jun 2007
Posts: 4




Hi,

I just realized that there is no need to compile the HD5500 drivers in 2.6.21, since it appears that the modules are now built into the kernel tree.

However, now I'm having a new issue with vmalloc space in 2.6.21...which I'll post as a separate topic.

James
View user's profile Send private message
can't compile driver on 2.6.21, fedora 7
  pcHDTV Forum Index -> Installation/Setup
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