Greetings community. First timer. Done quite a research but nothing helped.
I am trying to install xf86-video-fbturbo on my Raspberry Pi 3 B+ model which from my understanding is required for hardware acceleration which is required in order to play HD media. I have Arch up and running.
Cloned the git, and I ran:
$this->bbcode_second_pass_code('', 'autoreconf -vi
./configure --prefix=/usr
make')
And it broke down at "make" command.
This is the output it gave me:
$this->bbcode_second_pass_code('', ' CPPAS arm_asm.lo
CC cpuinfo.lo
CC cpu_backend.lo
CC fb_copyarea.lo
CC backing_store_tuner.lo
CC fbdev.lo
fbdev.c: In function 'FBDevPciProbe':
fbdev.c:289:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
289 | device = xf86FindOptionValue(devSection->options, "fbdev");
| ^
fbdev.c: In function 'FBDevProbe':
fbdev.c:348:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
348 | dev = xf86FindOptionValue(devSections[i]->options,"fbdev");
| ^
fbdev.c: In function 'FBDevPreInit':
fbdev.c:467:30: warning: passing argument 3 of 'fbdevHWInit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
467 | if (!fbdevHWInit(pScrn,NULL,xf86FindOptionValue(fPtr->pEnt->device->options,"fbdev")))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fbdev.c:70:
/usr/include/xorg/fbdevhw.h:22:41: note: expected 'char *' but argument is of type 'const char *'
22 | char *device);
| ~~~~~~^~~~~~
fbdev.c: In function 'FBDevCreateScreenResources':
fbdev.c:678:6: warning: implicit declaration of function 'shadowUpdateRotatePackedWeak'; did you mean 'shadowUpdateRotatePacked'? [-Wimplicit-function-declaration]
678 | shadowUpdateRotatePackedWeak() : shadowUpdatePackedWeak(),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| shadowUpdateRotatePacked
fbdev.c:678:39: warning: implicit declaration of function 'shadowUpdatePackedWeak'; did you mean 'shadowUpdatePacked'? [-Wimplicit-function-declaration]
678 | shadowUpdateRotatePackedWeak() : shadowUpdatePackedWeak(),
| ^~~~~~~~~~~~~~~~~~~~~~
| shadowUpdatePacked
fbdev.c:678:37: warning: passing argument 3 of 'shadowAdd' makes pointer from integer without a cast [-Wint-conversion]
677 | if (!shadowAdd(pScreen, pPixmap, fPtr->rotate ?
| ~~~~~~~~~~~~~~
678 | shadowUpdateRotatePackedWeak() : shadowUpdatePackedWeak(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from fbdev.c:46:
/usr/include/xorg/shadow.h:78:28: note: expected 'ShadowUpdateProc' {aka 'void (*)(struct _Screen *, struct _shadowBuf *)'} but argument is of type 'int'
78 | ShadowUpdateProc update,
| ~~~~~~~~~~~~~~~~~^~~~~~
fbdev.c: In function 'FBDevScreenInit':
fbdev.c:924:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
924 | if (!(accelmethod = xf86GetOptValString(fPtr->Options, OPTION_ACCELMETHOD)) ||
| ^
fbdev.c:945:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
945 | if (!(accelmethod = xf86GetOptValString(fPtr->Options, OPTION_ACCELMETHOD)) ||
| ^
fbdev.c:982:4: warning: implicit declaration of function 'xf86DisableRandR'; did you mean 'xf86DisableIO'? [-Wimplicit-function-declaration]
982 | xf86DisableRandR();
| ^~~~~~~~~~~~~~~~
| xf86DisableIO
fbdev.c:1040:7: error: #if with no expression
1040 | #if XV
| ^
fbdev.c: In function 'FBDevCloseScreen':
fbdev.c:1130:7: error: #if with no expression
1130 | #if XV
| ^
make[2]: *** [Makefile:552: fbdev.lo] Error 1
make[2]: Leaving directory '/home/sylend/xf86-video-fbturbo/src'
make[1]: *** [Makefile:443: all-recursive] Error 1
make[1]: Leaving directory '/home/sylend/xf86-video-fbturbo'
make: *** [Makefile:375: all] Error 2
')
Any ideas would be highly appreciated, apologies if I didn't give as much information as needed whatsoever.