epgsearch, extrecmenu und vodcatcher unter openSUSE 11.0 - Lösung inside

  • Hi


    neue Distribution - neuer gcc - neue Probleme. Aber sie sind einfach zu lösen:


    epgsearch:

    Code
    epgsearch.c: In member function ‘void cPluginEpgsearch::CheckUTF8()’:
    epgsearch.c:471: error: ‘CODESET’ was not declared in this scope
    epgsearch.c:471: error: ‘nl_langinfo’ was not declared in this scope
    make: *** [epgsearch.o] Fehler 1


    Lösung:

    Code
    #include <langinfo.h>


    in epgsearch.c


    extrecmenu:

    Code
    tools.c: In static member function ‘static void Icons::InitCharSet()’:
    tools.c:694: error: ‘CODESET’ was not declared in this scope
    tools.c:694: error: ‘nl_langinfo’ was not declared in this scope
    make: *** [tools.o] Fehler 1


    Lösung:

    Code
    #include <langinfo.h>


    in tools.cc


    vodcatcher:

    Code
    src/Rfc822DateTime.cc: In static member function ‘static std::string Rfc822DateTime::MonthNameToNumber(std::string)’:
    src/Rfc822DateTime.cc:116: error: ‘free’ was not declared in this scope
    make: *** [src/Rfc822DateTime.o] Fehler 1


    Lösung:

    Code
    #include <cstdlib>


    in Rfc822DateTime.h


    Hoffe das hilft dem einen oder anderen.


    Mfg,
    balta

    VDR: AMD A4-3400, 4096 MB RAM, Technisat SkyStar HD2, Technisat Skystar USB HD
    openSUSE 13.1, VDR 2.0.4, vdr-xineliboutput

    Einmal editiert, zuletzt von balta ()

  • das hat mir sehr geholfen, da ich nach dem Einsatz des gcc 4.2.4 unter Woody die gleichen Probleme hatte.
    Kleine Korrektur: Bei extrecmenu ist die zu ändernde Datei natürlich tools.c


    Das gleiche problem hatte ich mit music auch, dort hat ebenfalls das Einfügen von

    Code
    #include <langinfo.h>

    in icons.c geholfen.

    VDR1: ACT-620, Asus P8B75-M LX, Intel Core i3-3240, 4 GB DDR3 RAM 1600 MHz, passive Geforce GT1030 von MSI, Sandisk 2TB SSD, 2xWinTV DualHD, Atric-IR-Einschalter. SW: Xubuntu 20.04 auf 64GB Sandisk SSD.

    VDR2: Odroid N2+ mit CoreELEC und Ubuntu in chroot, WinTV DualHD

    VDR3: Tanix TX3 mit CoreELEC und Ubuntu in chroot, WinTV DualHD

Jetzt mitmachen!

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