Thanks for the hint. I finally made it work!

Note to all the others having the same problem or my future me:
I roughly followed this guide
http://rpc.gehennom.org/2015/06/mellotron-on-the-raspberry-pi/ and used
the the RTMath.cpp-patch from there. atomic.h has to be patched as well,
but I used the functions atomic_add und atomic_sub from here
https://elixir.bootlin.com/linux/v4.1/source/arch/arm64/include/asm/atomic.h
.

Daniel

On 04/08/2019 15:54, Eiríkur Hallgrímsson wrote:
> You could Google for the patch used for Raspberry Pi. As I recall it
> isn't  specifically for the 32-bit ARM.
> It worked great for me on the Pi 3B+. It might just work or be easy to
> fix for aarch64.
> 
> Eirikur
> 
> 
> On 8/4/19 4:15 AM, D. Freiermuth wrote:
>> Dear linuxsampler-developers,
>>
>> I have been using linuxsampler some time on my laptop and now want to
>> set up a dedicated sound-computer based on a [Odroid
>> N2](https://www.hardkernel.com/shop/odroid-n2-with-4gbyte-ram/). While
>> compiling (natively) linuxsampler, I got the following error message:
>>
>> ```
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -D_FORTIFY_SOURCE=2
>> -Wretur n-type -ffast-math -march=armv8-a -O2 -pipe
>> -fstack-protector-strong -fno-plt -pthread -MT RTMath.lo -MD -MP -MF
>> .deps/RTMath.Tpo -c RTMath.cpp  -fPIC -DPIC -o .libs/RTMath.o
>>
>> RTMath.cpp:77:8: error: #error "Sorry, LinuxSampler lacks time stamp
>> code for your system."
>> #  error "Sorry, LinuxSampler lacks time stamp code for your system."
>>
>> RTMath.cpp:78:8: error: #error "Please report this error and the CPU
>> you are using to the LinuxSampler developers mailing list!"
>> # error "Please report this error and the CPU you are using to the Linux
>> Sampler developers mailing list!"
>> ```
>>
>> So here I am. The CPU is a Amlogic S922X (ARMv8), the architecture is
>> aarch64. (complete /proc/cpuinfo below)
>>
>> It would be great, if there were any hints making linuxsampler compile
>> on this platform.
>>
>> kind regards,
>> Daniel Freiermuth
>>
>> $ cat /proc/cpuinfo
>> processor    : 0
>> BogoMIPS     : 48.00
>> Features     : fp asimd evtstrm aes pmull sha1 sha2 crc32
>> CPU implementer      : 0x41
>> CPU architecture: 8
>> CPU variant  : 0x0
>> CPU part     : 0xd03
>> CPU revision : 4
>>
>> processor    : 1
>> BogoMIPS     : 48.00
>> Features     : fp asimd evtstrm aes pmull sha1 sha2 crc32
>> CPU implementer      : 0x41
>> CPU architecture: 8
>> CPU variant  : 0x0
>> CPU part     : 0xd03
>> CPU revision : 4
>>
>> processor    : 2
>> BogoMIPS     : 48.00
>> Features     : fp asimd evtstrm aes pmull sha1 sha2 crc32
>> CPU implementer      : 0x41
>> CPU architecture: 8
>> CPU variant  : 0x0
>> CPU part     : 0xd09
>> CPU revision : 2
>>
>> processor    : 3
>> BogoMIPS     : 48.00
>> Features     : fp asimd evtstrm aes pmull sha1 sha2 crc32
>> CPU implementer      : 0x41
>> CPU architecture: 8
>> CPU variant  : 0x0
>> CPU part     : 0xd09
>> CPU revision : 2
>>
>> processor    : 4
>> BogoMIPS     : 48.00
>> Features     : fp asimd evtstrm aes pmull sha1 sha2 crc32
>> CPU implementer      : 0x41
>> CPU architecture: 8
>> CPU variant  : 0x0
>> CPU part     : 0xd09
>> CPU revision : 2
>>
>> processor    : 5
>> BogoMIPS     : 48.00
>> Features     : fp asimd evtstrm aes pmull sha1 sha2 crc32
>> CPU implementer      : 0x41
>> CPU architecture: 8
>> CPU variant  : 0x0
>> CPU part     : 0xd09
>> CPU revision : 2
>>
>> CPU info     : 290a4000011224000005383448564d50
>> Serial               : 05033551-52b7-41a0-9d41-001e064234f3
>> Hardware     : Hardkernel ODROID-N2
>> Revision     : 0400
>>
>>
>> _______________________________________________
>> Linuxsampler-devel mailing list
>> Linuxsampler-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel
>>
> 
> -- 
> ξiríkur <https://eir1kur.blogspot.com>


_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to