# Openpht compiling error

**URL:** <https://forums.plex.tv/t/openpht-compiling-error/337724>\
**Category:** Dev/API Corner\
**Created:** [November 27, 2018, 4:14am UTC](https://forums.plex.tv/t/openpht-compiling-error/337724 "2018-11-27T04:14:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elaniel300\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/e/e480ec/32.png) [@elaniel300\_gmail\_com](https://forums.plex.tv/u/elaniel300_gmail_com)\
**Post date:** [November 27, 2018, 4:14am UTC](https://forums.plex.tv/t/openpht-compiling-error/337724/1 "2018-11-27T04:14:15Z")

</div>

not sure if this is the right place but…im trying to compile openpht from here ([https://github.com/RasPlex/OpenPHT-Embedded](https://github.com/RasPlex/OpenPHT-Embedded)) for the arm s905 soc since im having issues playing 5.1 audio with current build however im getting an error when compiling, if anybody has any info about this or how to compile it and care to share, i will appreciate it. thanks

edit: log here ([https://pastebin.com/7ka1TsvH](https://pastebin.com/7ka1TsvH)) and [screenshot](https://scontent-mia3-2.xx.fbcdn.net/v/t1.0-9/46990555_2213290332016424_889174001115463680_n.jpg?_nc_cat=104&_nc_ht=scontent-mia3-2.xx&oh=b27a769fef267cb5cef50d6613431fb4&oe=5C6588A9)

i following this steps accordingly and [this](https://forums.plex.tv/t/up-to-date-instructions-on-rebuilding-native/150490/5) and [this](https://forums.plex.tv/t/errors-building-openpht-from-source/183256/2) for guidance.

"cd ~

sudo apt-get update

sudo apt install build-essential

wget [https://github.com/Veisen/OpenPHT/archive/master.zip](https://github.com/Veisen/OpenPHT/archive/master.zip) or git clone [https://github.com/RasPlex/OpenPHT-Embedded](https://github.com/RasPlex/OpenPHT-Embedded)

unzip openpht-2.0.zip

cd OpenPHT-Embedded-openpht-2.0

DISTRO=OpenPHT PROJECT=S905 ARCH=arm make image" for guidance.

---

<div class="post-metadata">

**Author:** ![didster](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@didster](https://forums.plex.tv/u/didster)\
**Post date:** [November 27, 2018, 10:34am UTC](https://forums.plex.tv/t/openpht-compiling-error/337724/2 "2018-11-27T10:34:59Z")

</div>

> [@elaniel300\_gmail\_com](#):
>
> DISTRO=OpenPHT PROJECT=S905 ARCH=arm make image

Is this how you are invoking the compile? As far as I am aware, there is no such project called “S905” - see the /projects directory in the source for supported projects (or the readme here [GitHub - RasPlex/OpenPHT-Embedded: OpenPHT-Embedded is OpenPHT running on LibreELEC](https://github.com/RasPlex/OpenPHT-Embedded))

What actual device are you compiling for? You probably want something like `DISTRO=OpenPHT PROJECT=WeTek_Play ARCH=arm make image` if you are using the WeTek play. Or are you just looking to rebuild OpenPHT, (i.e. the program) not OpenPHT-embedded (i.e. the OS)?

---

<div class="post-metadata">

**Author:** ![elaniel300\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/e/e480ec/32.png) [@elaniel300\_gmail\_com](https://forums.plex.tv/u/elaniel300_gmail_com)\
**Post date:** [November 27, 2018, 9:35pm UTC](https://forums.plex.tv/t/openpht-compiling-error/337724/3 "2018-11-27T21:35:06Z")

</div>

OpenPHT-Embedded is available for s905 arm soc and more

reference here:

> **[OpenPHT - Plex Home Theater 1.9 FOR S905 S805 S912 WeTek Play 2 and other...](https://forum.libreelec.tv/thread/10409-openpht-plex-home-theater-1-9-for-s905-s805-s912-wetek-play-2-and-other-devices/)**
>
> hello here is Plex Home Theater based on LibreELEC 8.0 from kszaq
> 
> edit: new version of OpenPHT 1.9 is based od LibreELEC 8.2 by kszaq and it can be updated form LibreELEC 8.2
> 
> all patches from kszaq builds are inserted
> 
> compiled version is for...

  

> **[RasPlex/OpenPHT](https://github.com/RasPlex/OpenPHT)**
>
> OpenPHT is a community driven fork of Plex Home Theater - RasPlex/OpenPHT

  

> **[Veisen/OpenPHT](https://github.com/Veisen/OpenPHT)**
>
> OpenPHT for AML. Contribute to Veisen/OpenPHT development by creating an account on GitHub.

  

> **[RasPlex/OpenPHT-Embedded](https://github.com/RasPlex/OpenPHT-Embedded)**
>
> OpenPHT-Embedded is OpenPHT running on LibreELEC. Contribute to RasPlex/OpenPHT-Embedded development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [February 25, 2019, 9:48pm UTC](https://forums.plex.tv/t/openpht-compiling-error/337724/4 "2019-02-25T21:48:31Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
