dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
429 stars 78 forks source link

SIGUNUSED vs SIGSYS #131

Open addeps3 opened 6 years ago

addeps3 commented 6 years ago

(had to rewrite this from earlier) I'll submit this report here.

Compiling fails if src/pty.c:302 contains for (i = 1; i < SIGUNUSED; ++i) instead of for for (i = 1; i < SIGSYS; ++i) on some systems, such as Arch Linux because that signal seems to have a different name.

Wikipedia calls the two synonymous

Compilation finishes and kmscon runs well afterwards.

Aetf commented 6 years ago

You could try my fork, which fixes this and a few other things. And this is an updated version of its dependency: libtsm.

cirosantilli commented 6 years ago

@Aetf yours failed with:

/home/ciro/git/kmscon/src/kmscon_terminal.c:105: undefined reference to `tsm_vte_get_def_attr'

on Ubuntu 18.04.

I recommend enabling the issue tracker there.

Aetf commented 6 years ago

@cirosantilli

Oh somehow I didn't notice I've disabled the issue tracker. Please move the discussion there: Aetf/kmscon#2