Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Satellite TV receivers & systems support forums
Satellite PC Card Receivers, Internet by Satellite
neumoDVB
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="RyLe" data-source="post: 1150367" data-attributes="member: 377555"><p>Hi</p><p></p><p>With each kernel update from Fedora, I have to recompile the blindscan drivers.</p><p></p><p>Going from 6.2.X to 6.3.X, I had to modify</p><p>[ICODE]blindscan_kernel/media_build/v4l/Makefile[/ICODE]</p><p>to add</p><p>[ICODE]EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types[/ICODE]</p><p>otherwise there were blocking errors.</p><p>It went ok for a few kernel updates.</p><p></p><p>Now Fedora pushes the 6.4.4-200 and I have a new error when I try to compile the drivers (a matching kernel-devel is installed) :</p><p></p><p>[ICODE]</p><p>/home/ryle/blindscan_kernel/media_build/v4l/dvbdev.c: In function 'init_dvbdev':</p><p>./include/linux/export.h:27:22: warning: passing argument 1 of 'class_create' from incompatible pointer type [-Wincompatible-pointer-types]</p><p> 27 | #define THIS_MODULE (&__this_module)</p><p> | ~^~~~~~~~~~~~~~~</p><p> | |</p><p> | struct module *</p><p>/home/ryle/blindscan_kernel/media_build/v4l/dvbdev.c:1103:34: note: in expansion of macro 'THIS_MODULE'</p><p> 1103 | dvb_class = class_create(THIS_MODULE, "dvb");</p><p> | ^~~~~~~~~~~</p><p>In file included from ./include/linux/device.h:31,</p><p> from ./include/linux/input.h:19,</p><p> from /home/ryle/blindscan_kernel/media_build/v4l/compat.h:47:</p><p>./include/linux/device/class.h:230:54: note: expected 'const char *' but argument is of type 'struct module *'</p><p> 230 | struct class * __must_check class_create(const char *name);</p><p> | ~~~~~~~~~~~~^~~~</p><p>/home/ryle/blindscan_kernel/media_build/v4l/dvbdev.c:1103:21: error: too many arguments to function 'class_create'</p><p> 1103 | dvb_class = class_create(THIS_MODULE, "dvb");</p><p> | ^~~~~~~~~~~~</p><p>./include/linux/device/class.h:230:29: note: declared here</p><p> 230 | struct class * __must_check class_create(const char *name);</p><p> | ^~~~~~~~~~~~</p><p>make[3]: *** [scripts/Makefile.build:252: /home/ryle/blindscan_kernel/media_build/v4l/dvbdev.o] Error 1</p><p></p><p>[/ICODE]</p><p></p><p></p><p>If I simply try to patch it using <a href="https://github.com/esibun/LookingGlass/commit/22979967062113105af7356b51c655dc27ae2fa7" target="_blank">this technique</a>, I also have to modify</p><p></p><p>[ICODE]/blindscan_kernel/media/drivers/media/pci/ddbridge/ddbridge-core.c[/ICODE] because of</p><p>[ICODE].owner = THIS_MODULE,[/ICODE] that doesn't exist in the class anymore</p><p></p><p>and then</p><p></p><p>[ICODE]blindscan_kernel/media/drivers/media/pci/tbsmod/tbsmod.c[/ICODE] because of the same error listed for blindscan_kernel/media_build/v4l/dvbdev.c</p><p></p><p>It compiles, it installs, but it crashes when it loads as the modifications I made are probably stupid without reading what the rest of the code does.</p><p></p><p>I could use some help <img src="https://www.satellites.co.uk/styles/default/xenforo/smilies/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p><p></p><p>I'll revert to booting the previous kernel in the mean time.</p></blockquote><p></p>
[QUOTE="RyLe, post: 1150367, member: 377555"] Hi With each kernel update from Fedora, I have to recompile the blindscan drivers. Going from 6.2.X to 6.3.X, I had to modify [ICODE]blindscan_kernel/media_build/v4l/Makefile[/ICODE] to add [ICODE]EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types[/ICODE] otherwise there were blocking errors. It went ok for a few kernel updates. Now Fedora pushes the 6.4.4-200 and I have a new error when I try to compile the drivers (a matching kernel-devel is installed) : [ICODE] /home/ryle/blindscan_kernel/media_build/v4l/dvbdev.c: In function 'init_dvbdev': ./include/linux/export.h:27:22: warning: passing argument 1 of 'class_create' from incompatible pointer type [-Wincompatible-pointer-types] 27 | #define THIS_MODULE (&__this_module) | ~^~~~~~~~~~~~~~~ | | | struct module * /home/ryle/blindscan_kernel/media_build/v4l/dvbdev.c:1103:34: note: in expansion of macro 'THIS_MODULE' 1103 | dvb_class = class_create(THIS_MODULE, "dvb"); | ^~~~~~~~~~~ In file included from ./include/linux/device.h:31, from ./include/linux/input.h:19, from /home/ryle/blindscan_kernel/media_build/v4l/compat.h:47: ./include/linux/device/class.h:230:54: note: expected 'const char *' but argument is of type 'struct module *' 230 | struct class * __must_check class_create(const char *name); | ~~~~~~~~~~~~^~~~ /home/ryle/blindscan_kernel/media_build/v4l/dvbdev.c:1103:21: error: too many arguments to function 'class_create' 1103 | dvb_class = class_create(THIS_MODULE, "dvb"); | ^~~~~~~~~~~~ ./include/linux/device/class.h:230:29: note: declared here 230 | struct class * __must_check class_create(const char *name); | ^~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:252: /home/ryle/blindscan_kernel/media_build/v4l/dvbdev.o] Error 1 [/ICODE] If I simply try to patch it using [URL='https://github.com/esibun/LookingGlass/commit/22979967062113105af7356b51c655dc27ae2fa7']this technique[/URL], I also have to modify [ICODE]/blindscan_kernel/media/drivers/media/pci/ddbridge/ddbridge-core.c[/ICODE] because of [ICODE].owner = THIS_MODULE,[/ICODE] that doesn't exist in the class anymore and then [ICODE]blindscan_kernel/media/drivers/media/pci/tbsmod/tbsmod.c[/ICODE] because of the same error listed for blindscan_kernel/media_build/v4l/dvbdev.c It compiles, it installs, but it crashes when it loads as the modifications I made are probably stupid without reading what the rest of the code does. I could use some help :) I'll revert to booting the previous kernel in the mean time. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Satellite TV receivers & systems support forums
Satellite PC Card Receivers, Internet by Satellite
neumoDVB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top