Skip to content

[Error] Compilation fails: Drivers must include ... #7

@Ultrahead

Description

@Ultrahead

When I execute make, I get the following error:

make all-recursive
make[1]: Entering directory '/xf86-video-mali'
Making all in src
make[2]: Entering directory '/xf86-video-mali/src'
CC mali_dri.lo
CC mali_exa.lo
In file included from /usr/include/xorg/fb.h:37,
from /usr/include/xorg/exa.h:39,
from mali_fbdev.h:30,
from mali_exa.c:33:
/usr/include/xorg/servermd.h:51:2: error: #error Drivers must include xorg-server.h before any other xserver headers
51 | #error Drivers must include xorg-server.h before any other xserver headers
| ^~~~~
/usr/include/xorg/servermd.h:52:2: error: #error xserver code must include dix-config.h before any other headers
52 | #error xserver code must include dix-config.h before any other headers
| ^~~~~
mali_exa.c: In function 'maliDumpInfo':
mali_exa.c:524:128: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
524 | YS: 0x%x VIRT: 0x%x\n", mi.fb_xres, mi.fb_yres, (int)mi.fb_phys, (int)mi.fb_virt);
| ^

make[2]: *** [Makefile:483: mali_exa.lo] Error 1
make[2]: Leaving directory '/xf86-video-mali/src'
make[1]: *** [Makefile:435: all-recursive] Error 1
make[1]: Leaving directory '/xf86-video-mali'
make: *** [Makefile:367: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions