Springen naar inhoud


Foto

Trying to compile on Raspberry


  • Please log in to reply
Er zijn 30 reacties in dit onderwerp

#1 maxmazzinghi

  • Member
  • 3 berichten

0
Neutral

Geplaatst op 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

  • PLi® Core member
  • 68625 berichten

+1739
Excellent

Geplaatst op 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"

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: Trying to compile on Raspberry #3 MiLo

  • PLi® Core member
  • 14045 berichten

+298
Excellent

Geplaatst op 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
  • 7185 berichten

+323
Excellent

Geplaatst op 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
  • 14045 berichten

+298
Excellent

Geplaatst op 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 berichten

0
Neutral

Geplaatst op 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.


Veranderd door maxmazzinghi, 11 november 2017 - 09:49


Re: Trying to compile on Raspberry #7 WanWizard

  • PLi® Core member
  • 68625 berichten

+1739
Excellent

Geplaatst op 11 november 2017 - 13:18

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


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: Trying to compile on Raspberry #8 Persian Prince

  • Senior Member
  • 1982 berichten

+247
Excellent

Geplaatst op 14 november 2017 - 14:29

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


Open Vision sources: https://github.com/OpenVisionE2


Re: Trying to compile on Raspberry #9 Abu Baniaz

  • PLi® Contributor
  • 2440 berichten

+62
Good

Geplaatst op 27 november 2017 - 19:27

Is there a homebuild image available to test?



Re: Trying to compile on Raspberry #10 Persian Prince

  • Senior Member
  • 1982 berichten

+247
Excellent

Geplaatst op 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 ;)

Veranderd door Persian Prince, 1 december 2017 - 18:21

Open Vision sources: https://github.com/OpenVisionE2


Re: Trying to compile on Raspberry #11 Persian Prince

  • Senior Member
  • 1982 berichten

+247
Excellent

Geplaatst op 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 ;)


Open Vision sources: https://github.com/OpenVisionE2


Re: Trying to compile on Raspberry #12 Persian Prince

  • Senior Member
  • 1982 berichten

+247
Excellent

Geplaatst op 1 januari 2018 - 09:57

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

 

It's available for RPi2 too ;)


Open Vision sources: https://github.com/OpenVisionE2


Re: Trying to compile on Raspberry #13 Persian Prince

  • Senior Member
  • 1982 berichten

+247
Excellent

Geplaatst op 2 januari 2018 - 08:17

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

 

It's available for RPi1 and RPi0 too :)


Open Vision sources: https://github.com/OpenVisionE2


Re: Trying to compile on Raspberry #14 satenkabelgluurder

  • Senior Member
  • 141 berichten

+2
Neutral

Geplaatst op 2 januari 2018 - 09:58

Great, thanks for sharing



Re: Trying to compile on Raspberry #15 mrvica

  • Senior Member
  • 1227 berichten

+82
Good

Geplaatst op 2 januari 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

Veranderd door mrvica, 2 januari 2018 - 10:40


Re: Trying to compile on Raspberry #16 Persian Prince

  • Senior Member
  • 1982 berichten

+247
Excellent

Geplaatst op 2 januari 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


Open Vision sources: https://github.com/OpenVisionE2


Re: Trying to compile on Raspberry #17 opala

  • Member
  • 1 berichten

0
Neutral

Geplaatst op 3 januari 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 berichten

0
Neutral

Geplaatst op 26 februari 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
  • 1982 berichten

+247
Excellent

Geplaatst op 26 februari 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 ;)


Open Vision sources: https://github.com/OpenVisionE2


Re: Trying to compile on Raspberry #20 frankviana

  • Senior Member
  • 472 berichten

+4
Neutral

Geplaatst op 13 maart 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?


Dreambox Two, GT-Media V8XS, GT-Media M7x, GT-Media v9 prime, Gt-Media Finder Meter 2, , TBS 6903-x v2, Octagon SF8008 single, Edision OS Mini 4k, Zgemma h9s SE, GT-Media V8UHD, Raspberry Pi 4, T95 Max + (CoreElec/Tvheadend), Freesky Triplo X, Zgemma h9 twin, Zgemma h9s, Amiko SHD 8900, Gt-Media GTC, Octagon SX88+, Octagon SX88, Vu Zero, Vu+ Zero 4K, Mecool K1/K2/K3, Azamerica s2010, Azamerica s810B, Nazabox Xgame, Koqit K1 mini, TBS 5520se, TBS 5925, TBS 6922se, Openbox X5, Openbox S9, AZBOX TITAN twin, AZBOX Premium+, AZBOX Elite , Rasp Pi, Rasp Pi 2/3, Orange Pi PC, Coolsat 5000, Dm528s, DM800se, Satlink 6933, Satlink 6960, Satlink 6932, GT-Media V8, Gt-Media V8 Meter,  PixelView PlayTV USB SBTVD ISDB-T (dib0700), Mygica S270 ISDB-T (Siano Rio). C-Band Motorized dish - 5,00m (20ºE - 116.8ºW), Ku-Band Motorized dish - 1,80m (3ºw - 116,8ºW)



1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers