[gelöst] xvdr compiliert nicht

  • Code
    *** Plugin xvdr:
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -D__KERNEL_STRICT_NAMES -D__user= -D__u8=uint8_t -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/src/dvb/media_build/linux/include/uapi -c -DPLUGIN_NAME_I18N='"xvdr"' -DXVDR_VERSION='"0.9.8"' -I/usr/local/src/vdr-1.7.37/include -I./src -o src/net/msgpacket.o src/net/msgpacket.c
    src/net/msgpacket.c: In member function âvoid MsgPacket::Init(uint16_t, uint16_t, uint32_t)â:
    src/net/msgpacket.c:118: error: âhtobe32â was not declared in this scope
    src/net/msgpacket.c: In member function âvoid MsgPacket::setClientID(uint16_t)â:
    src/net/msgpacket.c:125: error: âhtobe16â was not declared in this scope
    ...


    irgendwie fehlt das endian -zeugs vermute ich - wobei ein #include <endian.h> in msgpacket.c nicht geholfen hat.


    Hat jemand eine Lösung?

    2 Mal editiert, zuletzt von magicamun ()

  • danke - war auf ner alten Maschine - geht jetzt

Jetzt mitmachen!

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