Moderator Control Panel ]

Error compiling linux drivers

Error compiling linux drivers

Postby garry » Fri Jun 16, 2017 3:14 am

Hi,

I'm installing linux drivers as it is pointed here - https://github.com/tbsdtv/linux_media/wiki
When I do
# make -j4
I receive error:
/mydir/media_build/v4l/../linux/include/media/v4l2-ioctl.h:15:32: fatal error: linux/sched/signal.h: No such file or directory
#include <linux/sched/signal.h>
^
compilation terminated.

How to fix this error?
garry
 
Posts: 38
Joined: Fri Sep 02, 2011 5:06 am

Re: Error compiling linux drivers

Postby steven » Fri Jun 16, 2017 3:48 pm

Hi

Try this package :
#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: 2239
Joined: Fri Aug 06, 2010 3:23 pm

Re: Error compiling linux drivers

Postby garry » Fri Jun 16, 2017 6:28 pm

Hi,

When I do
# ./install.sh
I get:
./patch-kernel.sh: line 3: dpkg-query: command not found
./patch-kernel.sh: line 8: dpkg-query: command not found
./patch-kernel.sh: line 13: dpkg-query: command not found
./patch-kernel.sh: line 15: apt-get: command not found
./patch-kernel.sh: line 18: dpkg-query: command not found
make[2]: *** [apply_patches] Error 1

and then:
media_build/v4l/cxd2820r_core.c:681:18: error: 'struct gpio_chip' has no member named 'dev'
priv->gpio_chip.dev = &client->dev;

I'm using SLES. Are ther ./patch-kernel.sh for SLES?
garry
 
Posts: 38
Joined: Fri Sep 02, 2011 5:06 am

Re: Error compiling linux drivers

Postby steven » Sat Jun 17, 2017 8:44 pm

Hi

For SLES system we have not tesed yet , the package we tested it works with ubuntu centos .

for SLES we need to have more check

Thanks

Kind Regards

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

Re: Error compiling linux drivers

Postby Alfredo » Sat Jul 29, 2017 6:20 am

Hello

The same problem happens with OpenSuSE Leap 42.3
Is there any solution?

Thanks in advance,

Alfredo
Alfredo
 
Posts: 48
Joined: Sun Sep 29, 2013 3:29 pm
Location: Argentina

Re: Error compiling linux drivers

Postby steven » Sun Jul 30, 2017 10:35 am

Hi

Please test with ubuntu , CentOS ,debian for OpenSuSE we need to have a check

Thanks

Kind Regards

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

Re: Error compiling linux drivers

Postby Alfredo » Mon Jul 31, 2017 1:07 am

Hi Steven

With OpenSuse 13.1, Leap 42.2 works (if I cancel in kconfig and makefile the cxd2820r modules) and it also works with Debian 8.8

Thank you
Alfredo
 
Posts: 48
Joined: Sun Sep 29, 2013 3:29 pm
Location: Argentina

Re: Error compiling linux drivers

Postby steven » Mon Jul 31, 2017 10:00 am

Hi Alfredo

Thanks for your update : )

Kind Regards

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


Return to Professional DVB-S2 Quad Tuner PCIe Card TBS6908

Who is online

Users browsing this forum: No registered users and 1 guest