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

[directfb] build fail #280

Open
Frestein opened this issue Dec 9, 2024 · 0 comments
Open

[directfb] build fail #280

Frestein opened this issue Dec 9, 2024 · 0 comments

Comments

@Frestein
Copy link

Frestein commented Dec 9, 2024

I got this error when building directfb 1.7.7-6:

make[3]: Entering directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7/systems/sdl'
  CC       sdlgfx.lo
  CCLD     libdirectfb_sdlgraphics.la
  CC       sdlinput.lo
  CCLD     libdirectfb_sdlinput.la
  CC       primary.lo
primary.c:328:27: error: initialization of 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreLayerRegionConfig *, CoreLayerRegionConfigFlags,  CoreSurface *, CorePalette *, CoreSurfaceBufferLock *, CoreSurfaceBufferLock *' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreLayerRegionConfig *, CoreLayerRegionConfigFlags,  struct __DFB_CoreSurface *, struct _CorePalette *, struct __DFB_CoreSurfaceBufferLock *, struct __DFB_CoreSurfaceBufferLock *)'} from incompatible pointer type 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreLayerRegionConfig *, CoreLayerRegionConfigFlags,  CoreSurface *, CorePalette *, CoreSurfaceBufferLock *)' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreLayerRegionConfig *, CoreLayerRegionConfigFlags,  struct __DFB_CoreSurface *, struct _CorePalette *, struct __DFB_CoreSurfaceBufferLock *)'} [-Wincompatible-pointer-types]
  328 |      .SetRegion         = primarySetRegion,
      |                           ^~~~~~~~~~~~~~~~
primary.c:328:27: note: (near initialization for 'primaryLayerFuncs.SetRegion')
primary.c:331:27: error: initialization of 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreSurface *, const DFBRegion *, CoreSurfaceBufferLock *, const DFBRegion *, CoreSurfaceBufferLock *)' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreSurface *, const DFBRegion *, struct __DFB_CoreSurfaceBufferLock *, const DFBRegion *, struct __DFB_CoreSurfaceBufferLock *)'} from incompatible pointer type 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreSurface *, const DFBRegion *, CoreSurfaceBufferLock *)' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreSurface *, const DFBRegion *, struct __DFB_CoreSurfaceBufferLock *)'} [-Wincompatible-pointer-types]
  331 |      .UpdateRegion      = primaryUpdateRegion,
      |                           ^~~~~~~~~~~~~~~~~~~
primary.c:331:27: note: (near initialization for 'primaryLayerFuncs.UpdateRegion')
make[3]: *** [Makefile:758: primary.lo] Error 1
make[3]: Leaving directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7/systems/sdl'
make[2]: *** [Makefile:546: all-recursive] Error 1
make[2]: Leaving directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7/systems'
make[1]: *** [Makefile:707: all-recursive] Error 1
make[1]: Leaving directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7'
make: *** [Makefile:575: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: directfb-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
directfb - exit status 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant