[gelöst] vdr-epg-daemon-1.3.29: error: ‘eloAlways’ was not declared in this scope

  • Hallo,


    ich versuche gerade vdr-epg-daemon-1.3.29 unter Fedora 41 zu kompilieren, das schlägt allerdings fehl mit der folgenden Meldung:

    g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -I/usr/include/mysql -I/usr/include/mysql/mysql -I/usr/include/python3.13 -I/usr/include/python3.13 -ggdb -fno-stack-protector -O -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DBINDEST='"/usr/bin"' -DTARGET='"epgd"' -DLOG_PREFIX='""' -DPLGDIR='"/usr/lib64/epgd"' -DUSEUUID -DUSEMD5 -DUSELIBXML -DUSELIBARCHIVE -DUSEJSON -DUSEGUNZIP -DSYSDWDIFO -DUSESYSD -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/libxml2 -DWITH_GZFILEOP -I/usr/include/python3.13 -I/usr/include/python3.13 -DGIT_REV='""' -o webdo.o webdo.c
    webdo.c: In member function ‘int cEpgHttpd::doLog(MHD_Connection*, json_t*)’:
    webdo.c:469:12: error: ‘eloAlways’ was not declared in this scope
     469 |       tell(eloAlways, "webif: (%d) %s\n", level, buffer);
         |            ^~~~~~~~~

    Wie kann das behoben werden ?

    Gruß MartinKG

    Fedora 41 kernel-6.12.7-200.fc41.x86_64 Gnome Desktop vdr 2.6.9 mit vdr-softhddevice plugin.

    ViewSonic VX3276 HDMI-1 <------------> HDMI NVidia Geforce-gt-1030

    ViewSonic VX3276 HDMI-2 <------------> HDMI Technotrend S2-6400

  • ich habe das Problem jetzt so gelöst, dass ich einfach in der Datei web.do.c

    eloAlways definiert habe.


    --- a/webdo.c.orig    2025-02-19 12:51:33.318643287 +0100
    +++ b/webdo.c    2025-02-19 12:52:21.993481538 +0100
    @@ -5,6 +5,7 @@
     *
     */

    +#define eloAlways 5
    #include "lib/imgtools.h"
    #include "lib/curl.h"

    Gruß MartinKG

    Fedora 41 kernel-6.12.7-200.fc41.x86_64 Gnome Desktop vdr 2.6.9 mit vdr-softhddevice plugin.

    ViewSonic VX3276 HDMI-1 <------------> HDMI NVidia Geforce-gt-1030

    ViewSonic VX3276 HDMI-2 <------------> HDMI Technotrend S2-6400

  • vdr-epg-daemon-1.3.29 lässt sich nun mit dem fix https://github.com/horchi/vdr-epg…af66834d61577f9
    kompilieren, allerdings bekomme ich bei der zukünftigen Fedora 42 mit gcc-15 die folgende Fehlermeldung:

    Quote

    gibt es hierzu auch eine Lösung ?

    Gruß MartinKG

    Fedora 41 kernel-6.12.7-200.fc41.x86_64 Gnome Desktop vdr 2.6.9 mit vdr-softhddevice plugin.

    ViewSonic VX3276 HDMI-1 <------------> HDMI NVidia Geforce-gt-1030

    ViewSonic VX3276 HDMI-2 <------------> HDMI Technotrend S2-6400

  • das Problem konnte in der Zwischenzeit vom Maintainer im Paket mariadb-connector-c-devel behoben werden.

    Gruß MartinKG

    Fedora 41 kernel-6.12.7-200.fc41.x86_64 Gnome Desktop vdr 2.6.9 mit vdr-softhddevice plugin.

    ViewSonic VX3276 HDMI-1 <------------> HDMI NVidia Geforce-gt-1030

    ViewSonic VX3276 HDMI-2 <------------> HDMI Technotrend S2-6400

  • MartinKG February 28, 2025 at 3:08 PM

    Changed the title of the thread from “vdr-epg-daemon-1.3.29: error: ‘eloAlways’ was not declared in this scope” to “[gelöst] vdr-epg-daemon-1.3.29: error: ‘eloAlways’ was not declared in this scope”.
  • Ich weiß nicht was da in "mariadb-connector-c-devel" behoben wurde, aber unter Arch baut das Paket nach wie vor nicht.

    Da ich selbst keinen Bedarf habe werde ich das auch nicht weiter analysieren und das Paket einfach aus dem Auto-Build rausnehmen.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!