Moderator Control Panel ]

v170330 driver with Fedora Kernel 4.11.3 compile fails.

It's important to keep your driver and software updated.

v170330 driver with Fedora Kernel 4.11.3 compile fails.

Postby andyharvey » Sat Jun 10, 2017 11:16 pm

Trying to compile drivers with Fedora kernel 4.11.3-202.fc25.x86_64 fails.

First with:

/harvs/tmp/TBS/BUILD_4.11.3-202/linux-tbs-drivers/v4l/saa7146_vbi.c: In function 'vbi_workaround':
/harvs/tmp/TBS/BUILD_4.11.3-202/linux-tbs-drivers/v4l/saa7146_vbi.c:117:6: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
if(signal_pending(current)) {
^~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Fixed this by adding :

#include <linux/sched/signal.h>

to linux/include/media/v4l2-common.h & ./linux/drivers/media/rc/lirc_dev.c


Then hit the following:

/harvs/tmp/TBS/BUILD_4.11.3-202/linux-tbs-drivers/v4l/videobuf-dma-sg.c:444:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.fault = videobuf_vm_fault,
^~~~~~~~~~~~~~~~~
/harvs/tmp/TBS/BUILD_4.11.3-202/linux-tbs-drivers/v4l/videobuf-dma-sg.c:444:11: note: (near initialization for 'videobuf_vm_ops.fault')

I have not found the solution to this yet.
andyharvey
 
Posts: 5
Joined: Wed Mar 25, 2015 5:00 pm

Re: v170330 driver with Fedora Kernel 4.11.3 compile fails.

Postby steven » Sun Jun 11, 2017 9:54 pm

Hi

Please have a try with this driver :
#wget http://www.tbsdtv.com/download/document ... 19.tar.bz2
# sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/
#tar jxvf media_build-latest.tar.bz2
#cd media_build
#./install.sh
#reboot

Thanks

Kind Regards

steven
steven
 
Posts: 2057
Joined: Fri Aug 06, 2010 3:23 pm

Re: v170330 driver with Fedora Kernel 4.11.3 compile fails.

Postby andyharvey » Sun Jun 11, 2017 11:01 pm

Thanks,
that version works ok.

The install.shj/patch-kernel.sh scripts seem debian biased, they use dpkg-query, which isn't on my Fedora system but it worked ok despite that.
andyharvey
 
Posts: 5
Joined: Wed Mar 25, 2015 5:00 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 1 guest

cron