Xine (mercurial) 1.2 kompiliert nicht mit aktuellem ffmpeg-svn 'post_plugin_pp_t' has no member

  • Ich versuche hier gerade Xine upzudaten aber beim Kompilieren bricht es leider mit Fehler ab. Hat hier jemand ne Idee ??


    Aktuellste ffmpeg-svn und xine-lib-1.2 (hg)


    Linux Coruscant 2.6.20.21 #1 SMP PREEMPT Tue Nov 20 09:42:05 CET 2007 i686 i686 i386 GNU/Linux


    ./autogen.sh --with-external-ffmpeg --disable-dxr3 --without-caca



    gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -D_FILE_OFFSET_BITS=64 -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 -ffast-math -fexpensive-optimizations -mtune=pentiumpro -fvisibility=hidden -I/usr/local/include -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -march=prescott -O2 -pipe -fomit-frame-pointer -MT xineplug_post_planar_la-pp.lo -MD -MP -MF .deps/xineplug_post_planar_la-pp.Tpo -c pp.c -fPIC -DPIC -o .libs/xineplug_post_planar_la-pp.o
    pp.c:28:25: error: postprocess.h: No such file or directory
    pp.c:52: error: 'PP_QUALITY_MAX' undeclared here (not in a function)
    pp.c:72: error: expected specifier-qualifier-list before 'pp_context_t'
    pp.c: In function 'set_parameters':
    pp.c:83: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:83: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type
    pp.c:87: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:87: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type
    pp.c: In function 'get_help':
    pp.c:115: error: 'pp_help' undeclared (first use in this function)
    pp.c:115: error: (Each undeclared identifier is reported only once
    pp.c:115: error: for each function it appears in.)
    pp.c:118: warning: format '%s' expects type 'char *', but argument 4 has type 'struct xine_post_api_parameter_t *'
    pp.c: In function 'pp_open_plugin':
    pp.c:185: error: 'PP_FORMAT_420' undeclared (first use in this function)
    pp.c:185: warning: assignment makes integer from pointer without a cast
    pp.c:187: error: 'PP_CPU_CAPS_MMX' undeclared (first use in this function)
    pp.c:187: error: invalid operands to binary |
    pp.c:187: error: incompatible types in assignment
    pp.c:187: warning: statement with no effect
    pp.c:189: error: 'PP_CPU_CAPS_MMX2' undeclared (first use in this function)
    pp.c:189: error: invalid operands to binary |
    pp.c:189: error: incompatible types in assignment
    pp.c:189: warning: statement with no effect
    pp.c:191: error: 'PP_CPU_CAPS_3DNOW' undeclared (first use in this function)
    pp.c:191: error: invalid operands to binary |
    pp.c:191: error: incompatible types in assignment
    pp.c:191: warning: statement with no effect
    pp.c:193: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:193: warning: statement with no effect
    pp.c:194: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:194: warning: statement with no effect
    pp.c:196: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:196: warning: passing argument 1 of 'pthread_mutex_init' from incompatible pointer type
    pp.c: In function 'pp_dispose':
    pp.c:223: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:224: error: implicit declaration of function 'pp_free_mode'
    pp.c:224: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:225: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:225: warning: statement with no effect
    pp.c:227: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:228: error: implicit declaration of function 'pp_free_context'
    pp.c:228: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:229: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:229: warning: statement with no effect
    pp.c: In function 'pp_draw':
    pp.c:277: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:277: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type
    pp.c:279: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:287: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:288: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:290: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:290: error: implicit declaration of function 'pp_get_context'
    pp.c:290: warning: statement with no effect
    pp.c:292: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:293: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:294: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:294: warning: statement with no effect
    pp.c:298: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:299: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:299: error: implicit declaration of function 'pp_get_mode_by_name_and_quality'
    pp.c:300: warning: statement with no effect
    pp.c:302: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:303: error: implicit declaration of function 'pp_postprocess'
    pp.c:307: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:307: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:310: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:310: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type
    pp.c:312: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    make[3]: *** [xineplug_post_planar_la-pp.lo] Fehler 1
    make[3]: Leaving directory `/usr/src/xine-lib-1.2/src/post/planar'
    make[2]: *** [all-recursive] Fehler 1
    make[2]: Leaving directory `/usr/src/xine-lib-1.2/src/post'
    make[1]: *** [all-recursive] Fehler 1
    make[1]: Leaving directory `/usr/src/xine-lib-1.2/src'
    make: *** [all-recursive] Fehler 1

  • Zitat

    Original von obarden


    pp.c:28:25: error: postprocess.h: No such file or directory


    Du hast FFmpeg ohne Postprocessing-Support kompiliert.


    Code
    ./configure --enable-pp --enable-gpl


    Diese beiden Switches müssen beim Konfigurieren der ffmpeg-Quellen gesetzt sein, damit Postprocessing funktioniert.

    Dr. Brömme grübelt:
    Acht Wochen, nachdem man ihm beim Kölner Straßenkarneval einen Gratiskorn angeboten hatte,
    dämmert ihm langsam, dass er einem hinterlistigen Alaafisten aufgesessen ist.

  • Doch hab ich



    ./configure --arch=i686 --cpu=i686 --enable-libmp3lame --enable-libvorbis --enable-libfaad --enable-libfaadbin --enable-libfaac --enable-swscaler --enable-libxvid --enable-libx264 --enable-liba52 --enable-libtheora --enable-liba52bin --enable-pp --disable-static --enable-shared --enable-gpl --enable-x11grab --enable-pthreads

  • Hat denn sonst keiner das Problem ?
    Ich sehe es auch auf meinem anderen VDR:


    Linux Tydirium 2.6.24 #1 SMP PREEMPT Sat Jan 26 17:21:24 CET 2008 x86_64 x86_64 x86_64 GNU/Linux


    aktuellste xine-lib-1.2 (hg) und ffmpeg (svn)


    ffmpeg configure:
    /configure --arch=x86_64 --enable-pthreads --enable-libmp3lame --enable-libvorbis --enable-libfaad --enable-libfaadbin --enable-swscaler --enable-libxvid --enable-libx264 --enable-liba52 --enable-libtheora --enable-liba52bin --enable-pp --disable-static --enable-shared --enable-gpl --enable-x11grab --extra-cflags='-fPIC' --extra-ldflags='-fPIC'




    xine make bringt den Fehler:


    gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -DNDEBUG -D_REENTRANT -DXINE_COMPILE -O3 -ffast-math -fexpensive-optimizations -fvisibility=hidden -I/usr/local/include -pipe -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g -march=nocona -O2 -pipe -MT xineplug_post_planar_la-pp.lo -MD -MP -MF .deps/xineplug_post_planar_la-pp.Tpo -c pp.c -fPIC -DPIC -o .libs/xineplug_post_planar_la-pp.o
    pp.c:28:25: error: postprocess.h: No such file or directory
    pp.c:52: error: 'PP_QUALITY_MAX' undeclared here (not in a function)
    pp.c:72: error: expected specifier-qualifier-list before 'pp_context_t'
    pp.c: In function 'set_parameters':
    pp.c:83: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:83: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type
    pp.c:87: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:87: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type
    pp.c: In function 'get_help':
    pp.c:115: error: 'pp_help' undeclared (first use in this function)
    pp.c:115: error: (Each undeclared identifier is reported only once
    pp.c:115: error: for each function it appears in.)
    pp.c:118: warning: format '%s' expects type 'char *', but argument 4 has type 'struct xine_post_api_parameter_t *'
    pp.c: In function 'pp_open_plugin':
    pp.c:185: error: 'PP_FORMAT_420' undeclared (first use in this function)
    pp.c:185: warning: assignment makes integer from pointer without a cast
    pp.c:187: error: 'PP_CPU_CAPS_MMX' undeclared (first use in this function)
    pp.c:187: error: invalid operands to binary |
    pp.c:187: error: incompatible types in assignment
    pp.c:187: warning: statement with no effect
    pp.c:189: error: 'PP_CPU_CAPS_MMX2' undeclared (first use in this function)
    pp.c:189: error: invalid operands to binary |
    pp.c:189: error: incompatible types in assignment
    pp.c:189: warning: statement with no effect
    pp.c:191: error: 'PP_CPU_CAPS_3DNOW' undeclared (first use in this function)
    pp.c:191: error: invalid operands to binary |
    pp.c:191: error: incompatible types in assignment
    pp.c:191: warning: statement with no effect
    pp.c:193: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:193: warning: statement with no effect
    pp.c:194: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:194: warning: statement with no effect
    pp.c:196: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:196: warning: passing argument 1 of 'pthread_mutex_init' from incompatible pointer type
    pp.c: In function 'pp_dispose':
    pp.c:223: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:224: error: implicit declaration of function 'pp_free_mode'
    pp.c:224: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:225: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:225: warning: statement with no effect
    pp.c:227: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:228: error: implicit declaration of function 'pp_free_context'
    pp.c:228: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:229: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:229: warning: statement with no effect
    pp.c: In function 'pp_draw':
    pp.c:277: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:277: warning: passing argument 1 of 'pthread_mutex_lock' from incompatible pointer type
    pp.c:279: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:287: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:288: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:290: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:290: error: implicit declaration of function 'pp_get_context'
    pp.c:290: warning: statement with no effect
    pp.c:292: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:293: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:294: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:294: warning: statement with no effect
    pp.c:298: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:299: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:299: error: implicit declaration of function 'pp_get_mode_by_name_and_quality'
    pp.c:300: warning: statement with no effect
    pp.c:302: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:303: error: implicit declaration of function 'pp_postprocess'
    pp.c:307: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    pp.c:307: error: 'post_plugin_pp_t' has no member named 'pp_context'
    pp.c:310: error: 'post_plugin_pp_t' has no member named 'lock'
    pp.c:310: warning: passing argument 1 of 'pthread_mutex_unlock' from incompatible pointer type
    pp.c:312: error: 'post_plugin_pp_t' has no member named 'pp_mode'
    make[3]: *** [xineplug_post_planar_la-pp.lo] Fehler 1
    make[3]: Leaving directory `/usr/src/xine-lib-1.2/src/post/planar'
    make[2]: *** [all-recursive] Fehler 1
    make[2]: Leaving directory `/usr/src/xine-lib-1.2/src/post'
    make[1]: *** [all-recursive] Fehler 1
    make[1]: Leaving directory `/usr/src/xine-lib-1.2/src'
    make: *** [all-recursive] Fehler 1

  • hi
    ich habe den selben Fehler ein kobiren
    von
    /usr/include/ffmpeg/*.* nach /usr/include
    hat hier geholfen
    es kann sein das du auch von /usr/local/include/ffmpeg/*.* nach /usr/local/include kobiren must da ich immer mit ./autogen.sh --prefix=/usr - xxx übersetze
    mfg det

    Jeder sollte sein Leben so leben können wie er/sie es möchte, frei und
    unabhängig, in der Not anderen zur Seite stehend, nie vergessen was man
    ist, eben einfach nur Mensch sein mit allen Schwächen und Stärken
    Lieber stehend sterben als ewig gebückt leben


  • Das was Du hier machst ist ganz gefährlich. Die aktuellen Header werden nicht mehr unter $PREFIX/include/ffmpeg installiert sondern unter $PREFIX/include/libavformat, $PREFIX/include/libavcodec, und so weiter.
    Die Header die zwar so beim Übersetzen von Anwendungen gefunden werden, passen definitiv NICHT zu den installierten Bibliotheken, und das führt später zu den merkwürdigsten Fehlerberichten.


    Stefan

  • Hallo, ich schliesse mich hier an. Ich kriegs auch nicht hin. Bin den ganzen Abend am rumprobieren. Aber das Kompilieren von xine bricht immer wieder mit:

    Code
    error: postprocess.h: No such file or directory

    ab. Ich hab die aktuelle FFMPEG drauf und mich an diese Beschreibung gehalten. Die Datei postprocess.h ist da. Xine schreibt beim konfigurieren, das die verwendete FFMPEG-Version mit der internen von xine übereinstimmen muss. Wie kann ich das kontrollieren?
    System ist ein Debian Etch 4.0 von der Netinst-CD. Fehlt mir vielleicht irgendein "dev"-Paket? Bei Gelegenheit poste ich die Ausgabe von xines "configure".

    Mein VDR: Hardware: Nanum SE-H100/ASRock Q1900M/Pico-PSU/GeForce GT 720/yavdr-ansible

    3 Mal editiert, zuletzt von wannseheichwas ()

  • RHS: Also bei mir läufts nicht mit dem Patch. Make hat den gleichen Effekt.
    kompilierst Du xine auch mit :
    ./autogen.sh --with-external-ffmpeg --disable-dxr3 --without-caca


    ??????


    Alle: Wie kann ich die Revision 12193 von ffmpeg runterladen ??

  • Zitat

    RHS: Also bei mir läufts nicht mit dem Patch. Make hat den gleichen Effekt.
    kompilierst Du xine auch mit :
    ./autogen.sh --with-external-ffmpeg --disable-dxr3 --without-caca


    so ein Zufall! Ich habe den Fehler auch gerade umgangen - leider noch bevor ich hier vorbeigelaufen bin:)
    Also bei mir hilft das (aehnlich RHS):



    - xine-lib von heute aus dem hg repos
    - ffmpeg von heute aus dem cvs


    Optionen beim Bau von xine-lib:

    Code
    ./autogen.sh --with-external-ffmpeg --disable-dxr3 CFLAGS=-mtune=k8
  • Zitat

    Originally posted by obarden
    Alle: Wie kann ich die Revision 12193 von ffmpeg runterladen ??


    OOps, tschuldigung, hatte nicht damit gerechnet das das zum Problem werden könnte:

    Code
    svn co -r 12193 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg


    Stefan

  • Also ich mach das so:


    ./autogen.sh noconfig


    ./configure --build=%{_target_platform} --prefix=%{_prefix} \
    --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} \
    --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \
    --datadir=%{_datadir} --includedir=%{_includedir} \
    --libdir=%{_libdir} --libexecdir=%{_libexecdir} \
    --localstatedir=%{_localstatedir} \
    --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \
    --with-xv-path=/usr/X11R6/%{_lib} \
    --infodir=%{_infodir} \
    --enable-modplug \
    --with-external-ffmpeg \
    --with-external-faad \
    --with-external-libmad \
    --enable-mmap \
    --disable-musepack \
    --enable-vdr \
    --disable-dxr3 \
    --disable-directfb \
    --disable-oss \
    --with-external-dts \
    --with-external-libdts \
    --with-internal-vcdlibs \
    --enable-pp --enable-liba52 --enable-libmp3lame --enable-libvorbis
    mit o.g. Patch im RPMBUILD

  • Danke sparkie für den Patch. Damit hats auch mir geklappt. Kann man das für Laien eingermassen plausibel erklären wo das Problem liegt?

    Mein VDR: Hardware: Nanum SE-H100/ASRock Q1900M/Pico-PSU/GeForce GT 720/yavdr-ansible

  • Zitat

    Kann man das für Laien eingermassen plausibel erklären wo das Problem liegt?


    die #include Files werden ohne Patch woanders gesucht als sie tatsaechlich liegen.
    Es passen halt nicht zu jedem Zeitpunkt die verschiedenen Projekte genau zusammen.

  • Hallo@all,


    hab hier immer noch die Problem mit dem kompilieren von xine-lib-1.2-cvs


    habe die beiden Patches die oben angegeben sind probiert und bekomme rejects!


    Ich bin gerade dabei den VDR 1.7 mit der HVR4000 und DVB-S2 Support zu bauen:
    http://www.easy-vdr.de/forum/index.php?topic=4541.0


    dabei stoße ich auf das Problem, das sich xine-lib nicht kompilieren läßt!


    ffmpeg-cvs baue ich mit folgenden Befehlen:

    Code
    cd /usr/local/src
    svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-cvs
    cd ffmpeg-cvs
    chmod +x configure
    ./configure --prefix=/usr --extra-cflags=-fPIC --enable-shared --enable-postproc --enable-gpl --enable-liba52 --enable-libmp3lame --enable-libvorbis --enable-pthreads --arch=k8
    make && make install && ldconfig


    Das läuft auch durch ohne Fehlermeldung!


    Jetzt ist xine-lib-1.2 drann mit folgenden Befehlen:

    Code
    cd /usr/local/src
    hg clone http://hg.debian.org/hg/xine-lib/xine-lib-1.2
    cd xine-lib-1.2
    apt-get install libvcdinfo-dev libvcdinfo0 automake
    ./autogen.sh --prefix=/usr --with-external-ffmpeg=/usr/local/src/ffmpeg-trunk12193 --disable-dxr3 CFLAGS=-mtune=k8
    make && make install && ldconfig


    Dabei bekomme ich folgende Fehlermeldung:


    die beiden Patches die hier angegeben sind enden mit rejects!
    der Patch von Sparkie:


    und der Patch von RHS:

    Code
    Asus1:/usr/local/src/xine-lib-1.2# patch -p1 <xine-ffmpeg-header.diff
    patching file src/combined/ffmpeg/ffmpeg_decoder.h
    Hunk #1 FAILED at 25.
    1 out of 1 hunk FAILED -- saving rejects to file src/combined/ffmpeg/ffmpeg_decoder.h.rej
    patching file src/combined/ffmpeg/ff_dvaudio_decoder.c
    Hunk #1 FAILED at 52.
    1 out of 1 hunk FAILED -- saving rejects to file src/combined/ffmpeg/ff_dvaudio_decoder.c.rej


    Kann mir jemand weiterhelfen ?
    System ist EasyVDR 0.5 RC2



    lg prudentis

    SW: EasyVDR 0.7.24
    HW: HTPC-DE02 + Asus P5QL-E, Core2 2,2 GHz, CineS2 + HDe, HD SYS=120GB 2,5" + HD-USB 1TB" # NAS 1TB, 2GB RAM L4M-USB-IR
    HW2: in Arbeit
    http://www.prudentis.org

    2 Mal editiert, zuletzt von prudentis ()

  • kann ja

    Zitat

    die beiden Patches die hier angegeben sind enden mit rejects!


    dise auflösen dan get das
    mfg det

    Jeder sollte sein Leben so leben können wie er/sie es möchte, frei und
    unabhängig, in der Not anderen zur Seite stehend, nie vergessen was man
    ist, eben einfach nur Mensch sein mit allen Schwächen und Stärken
    Lieber stehend sterben als ewig gebückt leben

  • hab jetzt den Patch von Sparkie von Hand aufgelöst, geht jedoch trotzdem nicht!



    HG von heute morgen!


    meine pp.c sieht jetzt so aus:


    warum also diese Fehler ?

    Code
    pp.c:32:27: error: postprocess.h: No such file or directory


    lg prudentis

    SW: EasyVDR 0.7.24
    HW: HTPC-DE02 + Asus P5QL-E, Core2 2,2 GHz, CineS2 + HDe, HD SYS=120GB 2,5" + HD-USB 1TB" # NAS 1TB, 2GB RAM L4M-USB-IR
    HW2: in Arbeit
    http://www.prudentis.org

    Einmal editiert, zuletzt von prudentis ()

Jetzt mitmachen!

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