Skip to content

Failing to build Sharp drivers Bookworm Lite 64bit #5

@dude363635

Description

@dude363635

It was building but it errored out with somethig about files not existing
Hardware:
Pi Zero 2 W
Clean install of Pi OS Lite 64bit straight from Imager
Running off seperate power supply to ensure no power loss (3A max)

Heres the error from terminal once it started trying to build sharp drivers (ctrl+c ctrl+v)

INFO : Checking to see if sharp-drm-driver is patched for overclocked SPI...
INFO : sharp-drm-driver not patched.
INFO : Patching sharp-drm.dts.
patching file /home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/sharp-drm.dts
dtc -@ -I dts -O dtb -W no-unit_address_vs_reg -o sharp-drm.dtbo sharp-drm.dts
make -C '/lib/modules/6.12.25+rpt-rpi-v8/build' M='/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver'
make[1]: Entering directory '/usr/src/linux-headers-6.12.25+rpt-rpi-v8'
CC [M] /home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/main.o
/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/main.c:67:6: warning: no previous prototype for ‘sharp_memory_set_invert’ [-Wmissing-prototypes]
67 | void sharp_memory_set_invert(int setting)
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/main.c:73:7: warning: no previous prototype for ‘sharp_memory_add_overlay’ [-Wmissing-prototypes]
73 | void* sharp_memory_add_overlay(int x, int y, int width, int height,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/main.c:80:6: warning: no previous prototype for ‘sharp_memory_remove_overlay’ [-Wmissing-prototypes]
80 | void sharp_memory_remove_overlay(void* entry)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/main.c:86:7: warning: no previous prototype for ‘sharp_memory_show_overlay’ [-Wmissing-prototypes]
86 | void* sharp_memory_show_overlay(void* storage)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/main.c:92:6: warning: no previous prototype for ‘sharp_memory_hide_overlay’ [-Wmissing-prototypes]
92 | void sharp_memory_hide_overlay(void* display)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/main.c:98:6: warning: no previous prototype for ‘sharp_memory_clear_overlays’ [-Wmissing-prototypes]
98 | void sharp_memory_clear_overlays(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/drm_iface.o
/home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/drm_iface.c:36:10: fatal error: drm/drm_fbdev_generic.h: No such file or directory
36 | #include <drm/drm_fbdev_generic.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/usr/src/linux-headers-6.12.25+rpt-common-rpi/scripts/Makefile.build:249: /home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver/src/drm_iface.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.12.25+rpt-common-rpi/Makefile:1974: /home/beepy/glowfire/beepy-sdk/src/sharp-drm-driver] Error 2
make[1]: *** [/usr/src/linux-headers-6.12.25+rpt-common-rpi/Makefile:236: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.12.25+rpt-rpi-v8'
make: *** [Makefile:43: all] Error 2
Traceback (most recent call last):
File "/home/beepy/glowfire/beepy-sdk/build-sdk.py", line 1017, in
main()
File "/home/beepy/glowfire/beepy-sdk/build-sdk.py", line 963, in main
install_sharp_drm_driver()
File "/home/beepy/glowfire/beepy-sdk/build-sdk.py", line 396, in install_sharp_drm_driver
make()
File "/home/beepy/glowfire/beepy-sdk/build-sdk.py", line 85, in make
return subprocess.check_call(['make'] + list(args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/beepy/glowfire/make-glowfire.py", line 102, in
main()
File "/home/beepy/glowfire/make-glowfire.py", line 91, in main
python('build-sdk.py')
File "/home/beepy/glowfire/make-glowfire.py", line 79, in python
return subprocess.check_call(['python'] + list(args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python', 'build-sdk.py']' returned non-zero exit status 1.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions