Page 1 of 1
Error compiling linux drivers
Posted:
Fri Jun 16, 2017 3:14 am
by garry
Hi,
I'm installing linux drivers as it is pointed here -
https://github.com/tbsdtv/linux_media/wikiWhen 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?
Re: Error compiling linux drivers
Posted:
Fri Jun 16, 2017 3:48 pm
by steven
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
Re: Error compiling linux drivers
Posted:
Fri Jun 16, 2017 6:28 pm
by garry
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?
Re: Error compiling linux drivers
Posted:
Sat Jun 17, 2017 8:44 pm
by steven
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
Re: Error compiling linux drivers
Posted:
Sat Jul 29, 2017 6:20 am
by Alfredo
Hello
The same problem happens with OpenSuSE Leap 42.3
Is there any solution?
Thanks in advance,
Alfredo
Re: Error compiling linux drivers
Posted:
Sun Jul 30, 2017 10:35 am
by steven
Hi
Please test with ubuntu , CentOS ,debian for OpenSuSE we need to have a check
Thanks
Kind Regards
steven
Re: Error compiling linux drivers
Posted:
Mon Jul 31, 2017 1:07 am
by Alfredo
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
Re: Error compiling linux drivers
Posted:
Mon Jul 31, 2017 10:00 am
by steven
Hi Alfredo
Thanks for your update : )
Kind Regards
steven