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: 1166140" data-attributes="member: 377555"><p>Hi</p><p></p><p>I updated to kernel 6.11.3-200.fc40 .</p><p></p><p>There are a bunch of warnings for min3 and max3 redefinitions like this when I try to compile the blindscan driver:</p><p></p><p>[ICODE]/home/ryle/blindscan_kernel/neumo_media_build/v4l/compat.h:239:9: warning: "max3" redefined</p><p> 239 | #define max3(x, y, z) max((typeof(x))max(x, y), z)</p><p> | ^~~~</p><p>./include/linux/minmax.h:176:9: note: this is the location of the previous definition</p><p> 176 | #define max3(x, y, z) \</p><p> | ^~~~[/ICODE]</p><p></p><p>and at least one compilation error:</p><p>[ICODE]/home/ryle/blindscan_kernel/neumo_media_build/v4l/bttv-gpio.c:61:19: error: initialization of 'int (*)(struct device *, const struct device_driver *)' from incompatible pointer type 'int (*)(struct device *, struct device_driver *)' [-Wincompatible-pointer-types]</p><p> 61 | .match = &bttv_sub_bus_match,</p><p> | ^</p><p>/home/ryle/blindscan_kernel/neumo_media_build/v4l/bttv-gpio.c:61:19: note: (near initialization for 'bttv_sub_bus_type.match')</p><p>make[4]: *** [scripts/Makefile.build:244: /home/ryle/blindscan_kernel/neumo_media_build/v4l/bttv-gpio.o] Error 1[/ICODE]</p><p></p><p>In the mean time, I managed to compile the driver adding </p><p></p><p>[ICODE]EXTRA_CFLAGS += -Wno-incompatible-pointer-types[/ICODE]</p><p>to</p><p>[ICODE]~/blindscan_kernel/neumo_media_build/v4l/Makefile[/ICODE]</p><p></p><p>not pretty, but it worked.</p></blockquote><p></p>
[QUOTE="RyLe, post: 1166140, member: 377555"] Hi I updated to kernel 6.11.3-200.fc40 . There are a bunch of warnings for min3 and max3 redefinitions like this when I try to compile the blindscan driver: [ICODE]/home/ryle/blindscan_kernel/neumo_media_build/v4l/compat.h:239:9: warning: "max3" redefined 239 | #define max3(x, y, z) max((typeof(x))max(x, y), z) | ^~~~ ./include/linux/minmax.h:176:9: note: this is the location of the previous definition 176 | #define max3(x, y, z) \ | ^~~~[/ICODE] and at least one compilation error: [ICODE]/home/ryle/blindscan_kernel/neumo_media_build/v4l/bttv-gpio.c:61:19: error: initialization of 'int (*)(struct device *, const struct device_driver *)' from incompatible pointer type 'int (*)(struct device *, struct device_driver *)' [-Wincompatible-pointer-types] 61 | .match = &bttv_sub_bus_match, | ^ /home/ryle/blindscan_kernel/neumo_media_build/v4l/bttv-gpio.c:61:19: note: (near initialization for 'bttv_sub_bus_type.match') make[4]: *** [scripts/Makefile.build:244: /home/ryle/blindscan_kernel/neumo_media_build/v4l/bttv-gpio.o] Error 1[/ICODE] In the mean time, I managed to compile the driver adding [ICODE]EXTRA_CFLAGS += -Wno-incompatible-pointer-types[/ICODE] to [ICODE]~/blindscan_kernel/neumo_media_build/v4l/Makefile[/ICODE] not pretty, but it worked. [/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