Jump to content


maxmazzinghi

Member Since 10 Nov 2017
Offline Last Active 24 Apr 2018 10:19
-----

Topics I've Started

Trying to compile on Raspberry

10 November 2017 - 19:31

Hello, I started today compiling on raspberry2. I installed raspbian and cloned openpliPC then run build_libs.sh - Got 1 or 2 errors but finally everything gone well.

Than tryied to run ./buildopenpliPc.sh. I got some errors I solved googling around but now I am blocked with this error.

x11osd.c: In function ‘x11osd_scale_argb32_image’:
x11osd.c:651:25: error: implicit declaration of function ‘emms’ [-Werror=implicit-function-declaration]
     if (osd->scale_mmx) emms();   // empties the MMX state
                         ^~~~
x11osd.c:651:5: warning: nested extern declaration of ‘emms’ [-Wnested-externs]
     if (osd->scale_mmx) emms();   // empties the MMX state
     ^~
x11osd.c: In function ‘x11osd_scale_line_mmx’:
x11osd.c:761:7: error: implicit declaration of function ‘movd_m2r’ [-Werror=implicit-function-declaration]
       movd_m2r(p1,mm0);          // mm0 = p1;
       ^~~~~~~~
x11osd.c:761:7: warning: nested extern declaration of ‘movd_m2r’ [-Wnested-externs]
x11osd.c:761:19: error: ‘mm0’ undeclared (first use in this function)
       movd_m2r(p1,mm0);          // mm0 = p1;
                   ^~~
x11osd.c:761:19: note: each undeclared identifier is reported only once for each function it appears in
x11osd.c:762:7: error: implicit declaration of function ‘movq_r2r’ [-Werror=implicit-function-declaration]
       movq_r2r(mm0,mm1);         // mm1 = mm0;  copy because result of unpack overides mm1 and we need p1 later again
       ^~~~~~~~
x11osd.c:762:7: warning: nested extern declaration of ‘movq_r2r’ [-Wnested-externs]
x11osd.c:762:20: error: ‘mm1’ undeclared (first use in this function)
       movq_r2r(mm0,mm1);         // mm1 = mm0;  copy because result of unpack overides mm1 and we need p1 later again
                    ^~~
x11osd.c:763:7: error: implicit declaration of function ‘pxor_r2r’ [-Werror=implicit-function-declaration]
       pxor_r2r(mm2,mm2);         // mm2 = 0;
       ^~~~~~~~
x11osd.c:763:7: warning: nested extern declaration of ‘pxor_r2r’ [-Wnested-externs]
x11osd.c:763:16: error: ‘mm2’ undeclared (first use in this function)
       pxor_r2r(mm2,mm2);         // mm2 = 0;
                ^~~
x11osd.c:764:7: error: implicit declaration of function ‘punpcklbw_r2r’ [-Werror=implicit-function-declaration]
       punpcklbw_r2r(mm2,mm1);    // mm1 = unpacked p1 (00 AA 00 RR 00 GG 00 BB)
       ^~~~~~~~~~~~~
x11osd.c:764:7: warning: nested extern declaration of ‘punpcklbw_r2r’ [-Wnested-externs]
x11osd.c:765:20: error: ‘mm3’ undeclared (first use in this function)
       movd_m2r(dx2,mm3);         // mm3 = dx2;   from here i call dx2 = 0xd1d2
                    ^~~
x11osd.c:766:20: error: ‘mm4’ undeclared (first use in this function)
       movd_m2r(dx2,mm4);         // mm4 = dx2;
                    ^~~
x11osd.c:767:7: error: implicit declaration of function ‘punpcklwd_r2r’ [-Werror=implicit-function-declaration]
       punpcklwd_r2r(mm3,mm4);    // mm4 = 00 00 00 00 d1 d2 d1 d2;
       ^~~~~~~~~~~~~
x11osd.c:767:7: warning: nested extern declaration of ‘punpcklwd_r2r’ [-Wnested-externs]
x11osd.c:770:20: error: ‘mm5’ undeclared (first use in this function)
       movq_r2r(mm4,mm5);         // mm5 = mm4; copy
                    ^~~
x11osd.c:771:7: error: implicit declaration of function ‘pmulhuw_r2r’ [-Werror=implicit-function-declaration]
       pmulhuw_r2r(mm4,mm1);      // mm1 = mm4 * mm1 = dx2 * p1 = dx * p1 / 32768 // get from multiplication only high 16 bits
       ^~~~~~~~~~~
x11osd.c:771:7: warning: nested extern declaration of ‘pmulhuw_r2r’ [-Wnested-externs]
x11osd.c:772:7: error: implicit declaration of function ‘packuswb_r2r’ [-Werror=implicit-function-declaration]
       packuswb_r2r(mm2,mm1);     // mm1 = packed mm1
       ^~~~~~~~~~~~
x11osd.c:772:7: warning: nested extern declaration of ‘packuswb_r2r’ [-Wnested-externs]
x11osd.c:773:19: error: ‘mm6’ undeclared (first use in this function)
       movd_m2r(p2,mm6);          // mm6 = p2;
                   ^~~
x11osd.c:777:7: error: implicit declaration of function ‘psubusb_r2r’ [-Werror=implicit-function-declaration]
       psubusb_r2r(mm1,mm0);      // mm0 = mm0 - mm1 = p1 - (p1*dx/32768)
       ^~~~~~~~~~~
x11osd.c:777:7: warning: nested extern declaration of ‘psubusb_r2r’ [-Wnested-externs]
x11osd.c:778:7: error: implicit declaration of function ‘paddusb_r2r’ [-Werror=implicit-function-declaration]
       paddusb_r2r(mm0,mm6);      // mm5 = mm0 + mm5 = p1 - (p1*dx/32768) + (p2*dx/32768)
       ^~~~~~~~~~~
x11osd.c:778:7: warning: nested extern declaration of ‘paddusb_r2r’ [-Wnested-externs]
x11osd.c:780:7: error: implicit declaration of function ‘movd_r2m’ [-Werror=implicit-function-declaration]
       movd_r2m(mm6, *dst);
       ^~~~~~~~
x11osd.c:780:7: warning: nested extern declaration of ‘movd_r2m’ [-Wnested-externs]
cc1: some warnings being treated as errors
Makefile:1472: set di istruzioni per l'obiettivo "xineplug_vo_out_xshm_la-x11osd.lo" non riuscito
make[3]: *** [xineplug_vo_out_xshm_la-x11osd.lo] Errore 1
make[3]: uscita dalla directory "/home/pi/openpliPC/xine-lib/src/video_out"
Makefile:1561: set di istruzioni per l'obiettivo "install-recursive" non riuscito
make[2]: *** [install-recursive] Errore 1
make[2]: uscita dalla directory "/home/pi/openpliPC/xine-lib/src/video_out"
Makefile:601: set di istruzioni per l'obiettivo "install-recursive" non riuscito
make[1]: *** [install-recursive] Errore 1
make[1]: uscita dalla directory "/home/pi/openpliPC/xine-lib/src"
Makefile:677: set di istruzioni per l'obiettivo "install-recursive" non riuscito
make: *** [install-recursive] Errore 1

An error occured while building xine-lib

Could someone help me please?

Thank you.

 

BTW...anyone tryied to compile on raspberry?

Thank you.