monome / serialosc

multi-device, bonjour-capable monome OSC server

Home Page:http://monome.org/docs/serialosc/osc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault on RPI Zero W - Raspberry Pi OS 20-08-20

nordseele opened this issue · comments

Environment :

Device: Raspberry PI Zero W (Armv6)
OS: Raspberry Pi OS 20-08-20 (same errors with the previous OS).

I tried to install Serialosc on a RPI Zero W following the instructions found on this page https://monome.org/docs/serialosc/raspbian/

Installing with the package fails so I tried to compile from source. Here are the details.

Install with the package:

  • The service doesn't seem to start automatically.
systemctl status serialosc.service
   serialosc.service
   Loaded: loaded (/lib/systemd/system/serialosc.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
  • Running serialoscd manually returns a "Segmentation fault".

Compiling from source:

Serialosc won't compile easily.
./waf returns a lot of warnings/errors. Here's the full output of ./waf -v

fb8fb18e09497794481795e7107ab1575d5fe725_2_1162x1000

Changing line 257 of serialosc/wscript to
conf.env.append_unique("CFLAGS", ["-std=c99", "-Wall", "-Wno-error"])
Serialosc will compile but serialoscd is not found

Capture d’écran 2020-08-30 à 14 33 40

But after a reboot running serialoscd is working this time...

Capture d’écran 2020-08-30 à 14 36 32

@nordseele i've updated the libuv subdmodule in v1.4.4, but it no longer uses gyp, so the current waf script to build gyp projects can no longer be used with it.

alternatively, you can use waf with system libuv (installing libuv1-dev on RPi should be sufficient) or use cmake to build serialosc with bundled libuv as described in the README.

i am going to close this issue for now, but please feel free to reopen if the problem persists.