-
Notifications
You must be signed in to change notification settings - Fork 30
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
compile issues #55
Comments
I have fixed the pointer .. kinda, best regards |
How did you fix them ? :) |
I hunted down the C language errors, that is standard&classic, as said it didn't work anyway ... |
Hi Remi, This fork seems to add VGA support and newer kernel support :) I can compile it, but no way to "insmod" it into the kernel. |
have you filed a bug report ? |
Yes I created the first issue there :) |
Hello
I have fixed the drm_prime_sg_to_page_addr_arrays issue by "https://github.com/Xilinx/XRT/issues/5943"'s hint.
Now I have this pointer issue
make CHECK="/usr/bin/sparse" -C /lib/modules/6.0.2-zen1-1-zen/build M=/home/user/dev/git/fl2000_drm modules
make[1] : on entre dans le répertoire « /usr/lib/modules/6.0.2-zen1-1-zen/build »
CC [M] /home/user/dev/git/fl2000_drm/fl2000_gem.o
/home/user/dev/git/fl2000_drm/fl2000_gem.c:273:17: erreur: initialisation de « int (*)(struct drm_gem_object *, struct iosys_map ) » depuis le type pointeur « void * ()(struct drm_gem_object ) » qui est incompatible [-Werror=incompatible-pointer-types]
273 | .vmap = fl2000_gem_prime_vmap,
| ^~~~~~~~~~~~~~~~~~~~~
/home/user/dev/git/fl2000_drm/fl2000_gem.c:273:17: note: (près de l'initialisation de « fl2000_gem_default_funcs.vmap »)
/home/user/dev/git/fl2000_drm/fl2000_gem.c:274:19: erreur: initialisation de « void ()(struct drm_gem_object *, struct iosys_map ) » depuis le type pointeur « void ()(struct drm_gem_object *, void *) » qui est incompatible [-Werror=incompatible-pointer-types]
274 | .vunmap = fl2000_gem_prime_vunmap,
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/user/dev/git/fl2000_drm/fl2000_gem.c:274:19: note: (près de l'initialisation de « fl2000_gem_default_funcs.vunmap »)
cc1 : certains avertissements sont traités comme des erreurs
make[2]: *** [scripts/Makefile.build:249 : /home/user/dev/git/fl2000_drm/fl2000_gem.o] Erreur 1
make[1]: *** [Makefile:1849 : /home/user/dev/git/fl2000_drm] Erreur 2
make[1] : on quitte le répertoire « /usr/lib/modules/6.0.2-zen1-1-zen/build »
make: *** [Makefile:23 : modules] Erreur 2
Thank you again :)
The text was updated successfully, but these errors were encountered: