Jump to content


Photo

Trying to compile on Raspberry


  • Please log in to reply
30 replies to this topic

#1 maxmazzinghi

  • Member
  • 3 posts

0
Neutral

Posted 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.

 

 



Re: Trying to compile on Raspberry #2 WanWizard

  • Forum Moderator
    PLi® Core member
  • 41,206 posts

+651
Excellent

Posted 10 November 2017 - 19:44

It is probably related to your gcc version.

 

The brute force approach would be to add something like this to your local.conf:

CFLAGS_pn-xine-lib_append = " -Wno-error=implicit-function-declaration"

Many answers to your question can be found in our new and improved wiki.

Currently in active use: VU+Solo 4K (1xFBC, 2xS2), VU+Zero, Edision OS mini+, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

For testing purposes: XP1000, Formuler F1 (2xS2), Miraclebox Premium Micro (S2+C/T), ET7500 (S2), ET8500 (S2), Zgemma H2.H (S2+C), Zgemma H5.2TC, SAB TripleAlpha (S2+C/T), Galaxy 4K (FBC), VU Zero 4K, HD2400 (4xS2), ET10000 (4xS2), VU+Duo2 (1xS2), Edision OS nino


Re: Trying to compile on Raspberry #3 MiLo

  • PLi® Core member
  • 13,790 posts

+289
Excellent

Posted 10 November 2017 - 19:55

Compiling ON raspberry doesn't make much sense. I guess what you actually want to do is compile FOR raspberry. Just add meta-raspberry to the OE layers (next to all the others), select your board, and then build.

In the end it will be quite disappointing though, since the raspberry doesn't have any DVB capability you'll only be able to run the GUI but you'll be unable to actually watch TV or even recordings.

Note 1: "DVB" is more than just being able to play back some video formats. It's about having hardware and kernel support for digital video broadcasting.
Note 2: The raspberry pi (and its various often much better clones) actually may have sufficient hardware, it's just software support and mostly the information from the chip manufacturer (usually Broadcom) you'd need to get it to work that's lacking.
Real musicians never die - they just decompose

Re: Trying to compile on Raspberry #4 betacentauri

  • PLi® Core member
  • 4,208 posts

+208
Excellent

Posted 10 November 2017 - 20:00

He wants to use openPliPC! It's an e2, which is build without bitbake. See other thread.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Trying to compile on Raspberry #5 MiLo

  • PLi® Core member
  • 13,790 posts

+289
Excellent

Posted 10 November 2017 - 20:06

The same arguments still hold then.
Real musicians never die - they just decompose

Re: Trying to compile on Raspberry #6 maxmazzinghi

  • Member
  • 3 posts

0
Neutral

Posted 11 November 2017 - 09:47

Hello, thank you for your kind answers, my goal is to have openpli compiled on my raspberry and use it with my skystar HD usb for watching satellite tv. I already use it with VDR with great satisfaction, but I'd like to try also openpli because I think it's better than VDR.

I am NOT (unluckily) an ace in compiling linux program but I try to do my best, of course what could be a little trick for most of programmers takes me 2 days of google searching for solution but...I hope to learn something in this way... :-)

So, I try to follow the brute force attack suggested by WanWizard...but...where can I put the instruction he suggested? Inside my source code directory there's not any local.conf file..

Thank you again.

Max.


Edited by maxmazzinghi, 11 November 2017 - 09:49.


Re: Trying to compile on Raspberry #7 WanWizard

  • Forum Moderator
    PLi® Core member
  • 41,206 posts

+651
Excellent

Posted 11 November 2017 - 13:18

It should be in the ./build/conf directory.


Many answers to your question can be found in our new and improved wiki.

Currently in active use: VU+Solo 4K (1xFBC, 2xS2), VU+Zero, Edision OS mini+, Amiko Viper 2TC, Zgemma H3.2TC, Zgemma H6

For testing purposes: XP1000, Formuler F1 (2xS2), Miraclebox Premium Micro (S2+C/T), ET7500 (S2), ET8500 (S2), Zgemma H2.H (S2+C), Zgemma H5.2TC, SAB TripleAlpha (S2+C/T), Galaxy 4K (FBC), VU Zero 4K, HD2400 (4xS2), ET10000 (4xS2), VU+Duo2 (1xS2), Edision OS nino


Re: Trying to compile on Raspberry #8 Persian Prince

  • Senior Member
  • 1,567 posts

+215
Excellent

Posted 14 November 2017 - 14:29

Try https://github.com/R...eta-raspberrypi :)


If you like my post click on green arrow :)

Re: Trying to compile on Raspberry #9 Abu Baniaz

  • Senior Member
  • 657 posts

+16
Neutral

Posted 27 November 2017 - 19:27

Is there a homebuild image available to test?



Re: Trying to compile on Raspberry #10 Persian Prince

  • Senior Member
  • 1,567 posts

+215
Excellent

Posted 1 December 2017 - 18:20

I did compile PLi for RPi3 and it was ok but don't go 64Bit yet.
I can't upload it as it's about 350Mb img, Compile it yourself :)
If you can upload it please do for others ;)

Edited by Persian Prince, 1 December 2017 - 18:21.

If you like my post click on green arrow :)

Re: Trying to compile on Raspberry #11 Persian Prince

  • Senior Member
  • 1,567 posts

+215
Excellent

Posted 31 December 2017 - 12:42

Compiled and zipped img for RPi3 (32Bit):

 

http://www.mediafire....rootfs.img.zip

 

Try https://sourceforge....in32diskimager/ for installing it on your sd card ;)


If you like my post click on green arrow :)

Re: Trying to compile on Raspberry #12 Persian Prince

  • Senior Member
  • 1,567 posts

+215
Excellent

Posted 1 January 2018 - 09:57

You can check release page: https://github.com/R...errypi/releases

 

It's available for RPi2 too ;)


If you like my post click on green arrow :)

Re: Trying to compile on Raspberry #13 Persian Prince

  • Senior Member
  • 1,567 posts

+215
Excellent

Posted 2 January 2018 - 08:17

You can check release page: https://github.com/R...errypi/releases

 

It's available for RPi1 and RPi0 too :)


If you like my post click on green arrow :)

Re: Trying to compile on Raspberry #14 satenkabelgluurder

  • Senior Member
  • 104 posts

+1
Neutral

Posted 2 January 2018 - 09:58

Great, thanks for sharing



Re: Trying to compile on Raspberry #15 mrvica

  • Senior Member
  • 575 posts

+30
Good

Posted 2 January 2018 - 10:39

I tried it on RPi2, boots enigma2 (!), I connected an USB keyboard to it, I don´t know how to handle the colored buttons (red ..), they are very important, found out that space is for setup, tried media player, couldn´t play anything, could be good for testing skins or plugins, in the very beginning it is ok, thanks

Edited by mrvica, 2 January 2018 - 10:40.


Re: Trying to compile on Raspberry #16 Persian Prince

  • Senior Member
  • 1,567 posts

+215
Excellent

Posted 2 January 2018 - 11:12

Yeah it's for test and develop only as a RPi won't be a STB for sure, For the keyboard you need to test these things:

https://github.com/t...0f8bfe9f67c94c0

https://github.com/R...iver/rclirc.cpp


If you like my post click on green arrow :)

Re: Trying to compile on Raspberry #17 opala

  • Member
  • 1 posts

0
Neutral

Posted 3 January 2018 - 21:51

Can RPI3 works on openPliPC just for using plugin IPTV-player,

 

thanks,..



Re: Trying to compile on Raspberry #18 hshah

  • Member
  • 1 posts

0
Neutral

Posted 26 February 2018 - 01:44

Compiled and zipped img for RPi3 (32Bit):

 

http://www.mediafire....rootfs.img.zip

 

Try https://sourceforge....in32diskimager/ for installing it on your sd card ;)

 

Has it all been removed now?



Re: Trying to compile on Raspberry #19 Persian Prince

  • Senior Member
  • 1,567 posts

+215
Excellent

Posted 26 February 2018 - 10:57

 

Compiled and zipped img for RPi3 (32Bit):

 

http://www.mediafire....rootfs.img.zip

 

Try https://sourceforge....in32diskimager/ for installing it on your sd card ;)

 

Has it all been removed now?

 

Yes test images are only for test, what's your RPi version? I can compile again ;)


If you like my post click on green arrow :)

Re: Trying to compile on Raspberry #20 frankviana

  • Senior Member
  • 305 posts

+1
Neutral

Posted 13 March 2018 - 19:50

 

 

Compiled and zipped img for RPi3 (32Bit):

 

http://www.mediafire....rootfs.img.zip

 

Try https://sourceforge....in32diskimager/ for installing it on your sd card ;)

 

Has it all been removed now?

 

Yes test images are only for test, what's your RPi version? I can compile again ;)

 

 

Hi friend. I have a rpi2 and 3. Post here again, please. Any way to use my TBS 5925 usb tuner?


Octagon SX88, Vu+ Zero 4K, Mecool K1/K2/K3, Azamerica s2010, Nazabox Xgame, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Raspberry 2/3, Orange pi PC, Coolsat 5000, Dm500s. Motorized dish - 5m (20ºE - 116.8ºW). A lot of plugins...





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users