Skip to content
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

While trying to build i get error #25

Open
BISHER-AL-MASRI opened this issue Jul 13, 2024 · 2 comments
Open

While trying to build i get error #25

BISHER-AL-MASRI opened this issue Jul 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@BISHER-AL-MASRI
Copy link

Describe the bug
when trying to make userspace-full you get rpesented by the following error
[Compiling doomgeneric_xlib.c]
doomgeneric_xlib.c:16:26: error: initialization of 'Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
16 | static Window s_Window = NULL;
| ^~~~
doomgeneric_xlib.c: In function 'DG_Init':
doomgeneric_xlib.c:109:5: error: implicit declaration of function 'XkbSetDetectableAutoRepeat' [-Wimplicit-function-declaration]
109 | XkbSetDetectableAutoRepeat(s_Display, 1, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
doomgeneric_xlib.c: In function 'DG_DrawFrame':
doomgeneric_xlib.c:137:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
137 | KeySym sym = XKeycodeToKeysym(s_Display, e.xkey.keycode, 0);
| ^~~~~~
In file included from doomgeneric_xlib.c:11:
/sysroot/usr/include/X11/Xlib.h:1683:15: note: declared here
1683 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
doomgeneric_xlib.c:144:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
144 | KeySym sym = XKeycodeToKeysym(s_Display, e.xkey.keycode, 0);
| ^~~~~~
/sysroot/usr/include/X11/Xlib.h:1683:15: note: declared here
1683 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
doomgeneric_xlib.c: In function 'DG_SetWindowTitle':
doomgeneric_xlib.c:198:89: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign]
198 | XChangeProperty(s_Display, s_Window, XA_WM_NAME, XA_STRING, 8, PropModeReplace, title, strlen(title));
| ^~~~~
| |
| const char *
In file included from /sysroot/usr/include/X11/Xlib.h:47:
/sysroot/usr/include/X11/Xlib.h:2085:5: note: expected 'const unsigned char ' but argument is of type 'const char '
2085 | _Xconst unsigned char
/
data */,
| ^
make: *** [Makefile:50: build/doomgeneric_xlib.o] Error 1

To Reproduce
Steps to reproduce the behavior:

  1. git clone the repo with all submodules
  2. run make userspace-full

Expected behavior
for it to build without any error

Screenshots
image

Environment (please complete the following information):

  • Host OS: Arch Linux
  • Host OS Version: Linux 6.9.3
@BISHER-AL-MASRI BISHER-AL-MASRI added the bug Something isn't working label Jul 13, 2024
@redmine4404
Copy link
Contributor

same thing here, but i have to run make before running make userspace-full in order to make jinx work.

@NSG650
Copy link
Owner

NSG650 commented Jul 16, 2024

The port is broken right now so delete the file under recipes and continue building.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants