We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch needed for wilc bsp and module allow for compilation on 2024.1
/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/include/linux/export.h:29:22: error: passing argument 1 of 'class_create' from incompatible pointer type [-Werror=incompatible-pointer-types] | 29 | #define THIS_MODULE (&__this_module) | | ~^~~~~~~~~~~~~~~ | | | | | struct module * | /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.c:138:38: note: in expansion of macro 'THIS_MODULE' | 138 | chc_dev_class = class_create(THIS_MODULE, "atmel"); | | ^~~~~~~~~~~ | In file included from /home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/include/linux/device.h:31, | from /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.c:8: | /home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/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/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.c:138:25: error: too many arguments to function 'class_create' | 138 | chc_dev_class = class_create(THIS_MODULE, "atmel"); | | ^~~~~~~~~~~~ | /home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/include/linux/device/class.h:230:29: note: declared here | 230 | struct class * __must_check class_create(const char *name); | | ^~~~~~~~~~~~ | cc1: some warnings being treated as errors | make[4]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/scripts/Makefile.build:243: /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.o] Error 1 | make[4]: *** Waiting for unfinished jobs.... | /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/power.c: In function 'wilc_of_parse_power_pins': | /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/power.c:28:30: error: implicit declaration of function 'of_get_named_gpio_flags'; did you mean 'of_get_named_gpio'? [-Werror=implicit-function-declaration] | 28 | power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, | | ^~~~~~~~~~~~~~~~~~~~~~~ | | of_get_named_gpio | cc1: some warnings being treated as errors | make[4]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/scripts/Makefile.build:243: /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/power.o] Error 1 | make[3]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/Makefile:1913: /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000] Error 2 | make[2]: Leaving directory '/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-build-artifacts' | make[2]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/Makefile:234: __sub-make] Error 2 | make[1]: Leaving directory '/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source' | make[1]: *** [Makefile:234: __sub-make] Error 2 | make: *** [Makefile:17: all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Patch needed for wilc bsp and module allow for compilation on 2024.1
/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/include/linux/export.h:29:22: error: passing argument 1 of 'class_create' from incompatible pointer type [-Werror=incompatible-pointer-types] | 29 | #define THIS_MODULE (&__this_module) | | ~^~~~~~~~~~~~~~~ | | | | | struct module * | /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.c:138:38: note: in expansion of macro 'THIS_MODULE' | 138 | chc_dev_class = class_create(THIS_MODULE, "atmel"); | | ^~~~~~~~~~~ | In file included from /home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/include/linux/device.h:31, | from /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.c:8: | /home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/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/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.c:138:25: error: too many arguments to function 'class_create' | 138 | chc_dev_class = class_create(THIS_MODULE, "atmel"); | | ^~~~~~~~~~~~ | /home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/include/linux/device/class.h:230:29: note: declared here | 230 | struct class * __must_check class_create(const char *name); | | ^~~~~~~~~~~~ | cc1: some warnings being treated as errors | make[4]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/scripts/Makefile.build:243: /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/bt.o] Error 1 | make[4]: *** Waiting for unfinished jobs.... | /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/power.c: In function 'wilc_of_parse_power_pins': | /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/power.c:28:30: error: implicit declaration of function 'of_get_named_gpio_flags'; did you mean 'of_get_named_gpio'? [-Werror=implicit-function-declaration] | 28 | power->gpios.reset = of_get_named_gpio_flags(of, "reset-gpios", 0, | | ^~~~~~~~~~~~~~~~~~~~~~~ | | of_get_named_gpio | cc1: some warnings being treated as errors | make[4]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/scripts/Makefile.build:243: /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000/power.o] Error 1 | make[3]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/Makefile:1913: /home/jackbonnell/dma_example_2024/build/tmp/work/u96v2_sbc_base_xczu3eg-xilinx-linux/wilc/16.1.1-r0/wilc1000] Error 2 | make[2]: Leaving directory '/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-build-artifacts' | make[2]: *** [/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source/Makefile:234: __sub-make] Error 2 | make[1]: Leaving directory '/home/jackbonnell/dma_example_2024/build/tmp/work-shared/u96v2-sbc-base-xczu3eg/kernel-source' | make[1]: *** [Makefile:234: __sub-make] Error 2 | make: *** [Makefile:17: all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command.
The text was updated successfully, but these errors were encountered: