Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

error: unknown type name ‘Window’ #20

Open
swkim101 opened this issue Jul 30, 2024 · 0 comments
Open

error: unknown type name ‘Window’ #20

swkim101 opened this issue Jul 30, 2024 · 0 comments

Comments

@swkim101
Copy link

qemu/qemu@fbd57c7 solves this issue. Will make a PR soon.

$ python3 build.py --system --cc gcc
(...)
In file included from /mnt/hdd1/sungwoo/qasan/qemu/include/ui/egl-context.h:5,
                 from ui/egl-context.c:3:
/mnt/hdd1/sungwoo/qasan/qemu/include/ui/egl-helpers.h:46:55: error: unknown type name ‘Window’
   46 | EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);
      |                                                       ^~~~~~
In file included from ui/egl-helpers.c:21:
/mnt/hdd1/sungwoo/qasan/qemu/include/ui/egl-helpers.h:46:55: error: unknown type name ‘Window’
   46 | EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);
      |                                                       ^~~~~~
make: *** [/mnt/hdd1/sungwoo/qasan/qemu/rules.mak:69: ui/egl-context.o] Error 1
make: *** Waiting for unfinished jobs....
ui/egl-helpers.c:276:55: error: unknown type name ‘Window’
  276 | EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win)
      |                                                       ^~~~~~
make: *** [/mnt/hdd1/sungwoo/qasan/qemu/rules.mak:69: ui/egl-helpers.o] Error 1
In file included from ui/egl-headless.c:5:
/mnt/hdd1/sungwoo/qasan/qemu/include/ui/egl-helpers.h:46:55: error: unknown type name ‘Window’
   46 | EGLSurface qemu_egl_init_surface_x11(EGLContext ectx, Window win);
      |                                                       ^~~~~~
make: *** [/mnt/hdd1/sungwoo/qasan/qemu/rules.mak:69: ui/egl-headless.o] Error 1
Traceback (most recent call last):
  File "/mnt/hdd1/sungwoo/qasan/build.py", line 252, in <module>
    assert (os.system(cmd) == 0)
AssertionError
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant