New issue
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
Void Linux errors #419
Comments
I just copied what I thought was relevant, here's the top of it: |
the releases won't build, doesn't find the kernel header so I git cloned the current repo, and that's as far as I can get. |
evdi_lib.c:
In function 'device_exists':evdi_lib.c:237:18: error: 'PATH_MAX' undeclared (first use in this function)
237 | char dev[PATH_MAX] = "";
| ^~~~~~~~
evdi_lib.c:237:18: note: each undeclared identifier is reported only once for each function it appears in
evdi_lib.c:237:14: error: unused variable 'dev' [-Werror=unused-variable]
237 | char dev[PATH_MAX] = "";
| ^~~
evdi_lib.c: In function 'does_path_links_to':
evdi_lib.c:245:24: error: 'PATH_MAX' undeclared (first use in this function)
245 | char real_path[PATH_MAX];
| ^~~~~~~~
evdi_lib.c:245:14: error: unused variable 'real_path' [-Werror=unused-variable]
245 | char real_path[PATH_MAX];
| ^~~~~~~~~
evdi_lib.c: In function 'process_opened_device':
evdi_lib.c:258:24: error: 'PATH_MAX' undeclared (first use in this function)
258 | char maps_path[PATH_MAX];
| ^~~~~~~~
evdi_lib.c:258:14: error: unused variable 'maps_path' [-Werror=unused-variable]
258 | char maps_path[PATH_MAX];
| ^~~~~~~~~
evdi_lib.c: In function 'process_opened_files':
evdi_lib.c:282:22: error: 'PATH_MAX' undeclared (first use in this function)
282 | char fd_path[PATH_MAX];
| ^~~~~~~~
evdi_lib.c:295:22: error: unused variable 'path' [-Werror=unused-variable]
295 | char path[PATH_MAX];
| ^~~~
evdi_lib.c:282:14: error: unused variable 'fd_path' [-Werror=unused-variable]
282 | char fd_path[PATH_MAX];
| ^~~~~~~
evdi_lib.c: In function 'open_device':
evdi_lib.c:412:18: error: 'PATH_MAX' undeclared (first use in this function)
412 | char dev[PATH_MAX] = "";
| ^~~~~~~~
evdi_lib.c:412:14: error: unused variable 'dev' [-Werror=unused-variable]
412 | char dev[PATH_MAX] = "";
| ^~~
evdi_lib.c: In function 'is_correct_parent_device':
evdi_lib.c:473:24: error: 'PATH_MAX' undeclared (first use in this function)
473 | char link_path[PATH_MAX];
| ^~~~~~~~
evdi_lib.c:480:14: error: unused variable 'link_resolution' [-Werror=unused-variable]
480 | char link_resolution[PATH_MAX];
| ^~~~~~~~~~~~~~~
evdi_lib.c:473:14: error: unused variable 'link_path' [-Werror=unused-variable]
473 | char link_path[PATH_MAX];
| ^~~~~~~~~
evdi_lib.c: In function 'find_unused_card_for':
evdi_lib.c:517:32: error: 'PATH_MAX' undeclared (first use in this function)
517 | char evdi_path[PATH_MAX];
| ^~~~~~~~
evdi_lib.c:524:22: error: unused variable 'evdi_drm_path' [-Werror=unused-variable]
524 | char evdi_drm_path[PATH_MAX];
| ^~~~~~~~~~~~~
evdi_lib.c:517:22: error: unused variable 'evdi_path' [-Werror=unused-variable]
517 | char evdi_path[PATH_MAX];
| ^~~~~~~~~
evdi_lib.c: In function 'evdi_device_to_platform':
evdi_lib.c:602:24: error: 'PATH_MAX' undeclared (first use in this function)
602 | char card_path[PATH_MAX];
| ^~~~~~~~
evdi_lib.c:602:14: error: unused variable 'card_path' [-Werror=unused-variable]
602 | char card_path[PATH_MAX];
| ^~~~~~~~~
evdi_lib.c: In function 'evdi_check_device':
evdi_lib.c:632:19: error: 'PATH_MAX' undeclared (first use in this function)
632 | char path[PATH_MAX];
| ^~~~~~~~
evdi_lib.c:632:14: error: unused variable 'path' [-Werror=unused-variable]
632 | char path[PATH_MAX];
| ^~~~
evdi_lib.c: In function 'device_exists':
evdi_lib.c:241:1: error: control reaches end of non-void function [-Werror=return-type]
241 | }
| ^
evdi_lib.c: In function 'does_path_links_to':
evdi_lib.c:254:1: error: control reaches end of non-void function [-Werror=return-type]
254 | }
| ^
evdi_lib.c: In function 'evdi_check_device':
evdi_lib.c:635:1: error: control reaches end of non-void function [-Werror=return-type]
635 | }
| ^
cc1: all warnings being treated as errors
make[1]: *** [: evdi_lib.o] Error 1
make[1]: Leaving directory '/home/kzn/Compiles/evdi/library'
make: *** [Makefile:11: all] Error 2
`
The text was updated successfully, but these errors were encountered: