# Pisound installation/compilation error on Aarch64

**URL:** <https://community.blokas.io/t/pisound-installation-compilation-error-on-aarch64/1230>\
**Category:** Support\
**Created:** [June 23, 2019, 11:29am UTC](https://community.blokas.io/t/pisound-installation-compilation-error-on-aarch64/1230 "2019-06-23T11:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cakistan](https://community.blokas.io/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@cakistan](https://community.blokas.io/u/cakistan)\
**Post date:** [June 23, 2019, 11:29am UTC](https://community.blokas.io/t/pisound-installation-compilation-error-on-aarch64/1230/1 "2019-06-23T11:29:55Z")

</div>

Hi there !  
I have a Raspberry Pi 3B+ and I needed a 64 bit compatibility for one of my projects.  
So I installed Aarch64 on my Pi and it works all fine after a bit of work. Here is a screen of the present uname -a return :

> Linux rpi 5.1.14-1-ARCH #1 SMP Sat Jun 22 20:03:35 UTC 2019 aarch64 GNU/Linux

Now I tried to install the Pisound software manually, I saw in [this](https://community.blokas.io/t/what-about-64-bit-support/1165) post that there should be no compatibility problems.  
I cloned the pisound repo to my /home directory, changed `gcc-4.9` to `gcc` in /pisound-btn/Makefile, did `cd pisound` and ran `make`  
It didn’t work and returned this error message:

 ![Screenshot%20from%202019-06-23%2012-23-45](https://community.blokas.io/uploads/default/original/1X/e049ba83b5ccb1ef21cbbeea971e449f493b65ee.png)

I tried to replace dirname by ttyname as suggested by the compiler but this was followed by another error and I didn’t wanted to go down that road 😛

I have absolutely no idea what to do as I don’t understand much about the Pisound source code and don’t know this bug.  
Thanks a lot in advance for your help guys 🙂

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [June 23, 2019, 4:30pm UTC](https://community.blokas.io/t/pisound-installation-compilation-error-on-aarch64/1230/2 "2019-06-23T16:30:34Z")

</div>

Try adding `#include <libgen.h>` at the end of all includes in pisound-btn.c:

```auto
...
#include <poll.h>
#include <time.h>
#include <assert.h>
#include <libgen.h> // <--

```

---

<div class="post-metadata">

**Author:** ![cakistan](https://community.blokas.io/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@cakistan](https://community.blokas.io/u/cakistan)\
**Post date:** [June 24, 2019, 8:54am UTC](https://community.blokas.io/t/pisound-installation-compilation-error-on-aarch64/1230/3 "2019-06-24T08:54:17Z")

</div>

Thanks ! It worked !
