[softhddevice] Compile Error: Unkown type name 'atomic_t'


  • Ich wurde gerade darauf hingewiesen, dass softhddevice nicht mehr auf Arch Linux kompiliert.


    Wenn ich das richtig verstehe, kommt das indirekt über: #include <alsa/iatomic.h>
    Und kommt dann von dort aus dem Kernel über include/linux/atomic.h


    Das scheint allerdings keine Userspace API (mehr) zu sein, denn es wird nicht in /usr/include platziert


    linux-api-headers platziert die Userspace Kernel API in /usr/include
    Buildskript für linux-api-headers: https://projects.archlinux.org…ackages/linux-api-headers


    Es gibt eine libatomic_ops. Vorausgesetzt, die mach das gleiche, wäre das wohl die bessere Wahl. Ich weiß weder, was atomic_t ist, noch was libatomic_ops macht. Ich habe nur den ähnlichen Namen bemerkt.
    https://www.archlinux.org/pack…tra/x86_64/libatomic_ops/

  • Dann ist dein Alsa zu alt oder zu neu.


    Mein Alsa (alsa-lib-1.0.27.2) enthält die Funktionen alle im Headerfile.


    Zur Not kann man dann dieses einfach kopieren.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Arch Linux nutzt alsa-lib-1.0.28 - da sind die ganzen atomic Definitionen rausgeflogen: http://git.alsa-project.org/?p…3110f7b12640e204d0c15ac8d

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Die Frage ist benutzt noch wer GCC Version kleiner 4.7?


    http://gcc.gnu.org/onlinedocs/…_005fatomic-Builtins.html


    Dann könnte man den Code auf die Atomic GNU CC Builtins umbauen.


    Ansonsten das alte Alsa Headerfile kopieren und den #include auf lokal umbauen.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

  • Ubuntu 12.04 Precise hat noch gcc 4.6.3.
    Da es noch einige Zeit unterstützt wird, allerdings auch lib64asound2 1.0.25 mitbringt (also altes alsa), wäre es schön, wenn die alten Sachen nicht ganz rausfliegen würden.


    Lars.

  • Ich habe nun meine Version eingescheckt.


    Mit GCC >= 4.7 werden die Built-ins verwendet, für ältere wird auf alsa zurückgegriffen.


    Johns


    p.s.:
    gettext-0.19.1 ist kaputt. dummes GNU.

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

    Einmal editiert, zuletzt von johns ()

  • Hi,


    ich versuche gerade softhddevice unter yavdr-0.5 zu kompilieren (Precise 12.04), bekomme aber folgende Fehlermeldung:

    Code
    In file included from softhddev.c:66:0:
    iatomic.h:34:26: schwerwiegender Fehler: alsa/iatomic.h: Datei oder Verzeichnis nicht gefunden
    Kompilierung beendet.
    make[1]: *** [softhddev.o] Fehler 1


    Kann mir jemand nochmal genau erklären wie ich das behebe?

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

  • Warum denn nicht? Das Problem scheint immer noch dasselbe zu sein.

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

  • Und die Lösung steht im Thread.


    Johns

    Sag mir, wo die Developer sind. Wo sind sie geblieben? . . . . . . . . . . . . . . . . . . . . SoftHdDevice - A software and GPU emulated HD output device plugin.
    Sag mir, wo die Developer sind. Was ist geschehn?


    Client0: Crown CW02 MSI_C847MS-E33 Zotac_GT640_passiv Cine-S2 iMon-MCE / streamdev softhddevice
    Client1: Lian_Li_PC-Q09FB ASRock_H67M-ITX/HT I3-2100 ASUS_ENGT520_passiv / streamdev softhddevice
    Test: Lian_Li_PC-Q09R Asus C60M1-I / streamdev
    Server0: Dockstar TT-S2-3600-USB / streamdev
    Server2: Lian_Li_PC-Q07R Intel_DH61DL G620 WD20EARX 90W PicoPSU Cine-S2+DuoFlex-S2+DuoFlex-CT / streamdev / 22 Watt Verbrauch

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!