Hi,
ich habe versucht, nach den Anleitungen von wbreu und von sewn4 die xine-lib-1.2 zu kompilieren.
Wegen der Versionsabhängigkeit mit der libavcodec habe ich mir ffmpeg nach der Anleitung hier gebaut.
Nun erhalte ich von 'make' folgende Fehlermeldung:
Code
:/usr/local/src/xine-lib-1.2-cvs-2010-06-14# make
Making all in doc
make[1]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc'
Making all in man
make[2]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man'
Making all in en
make[3]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man/en'
make all-am
make[4]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man/en'
make[4]: Für das Ziel »all-am« ist nichts zu tun.
make[4]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man/en'
make[3]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man/en'
make[3]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man'
make[3]: Für das Ziel »all-am« ist nichts zu tun.
make[3]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man'
make[2]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/man'
Making all in hackersguide
make[2]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/hackersguide'
if test x"" = x"yes"; then \
echo "Please install rsvg."; \
exit 1; \
fi
if test x"" != x"yes"; then \
touch architecture.png; \
sleep 1; \
touch architecture.svg; \
fi
if test x"" = x"yes"; then \
echo "Please install rsvg."; \
exit 1; \
fi
if test x"" != x"yes"; then \
touch library.png; \
sleep 1; \
touch library.svg; \
fi
if test x"" = x"yes"; then \
echo "Please install rsvg."; \
exit 1; \
fi
if test x"" != x"yes"; then \
touch overlays.png; \
sleep 1; \
touch overlays.svg; \
fi
if test x"" = x"yes"; then \
echo "Please install rsvg."; \
exit 1; \
fi
if test x"" != x"yes"; then \
touch post_frame.png; \
sleep 1; \
touch post_frame.svg; \
fi
make[2]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/hackersguide'
Making all in faq
make[2]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/faq'
if test x"" = x"yes"; then \
echo "Please install xmlto."; \
exit 1; \
fi
if test x"" != x"yes"; then \
touch faq.txt; \
sleep 1; \
touch faq.docbook; \
fi
if test x"" = x"yes"; then \
echo "Please install xmlto."; \
exit 1; \
fi
if test x"" != x"yes"; then \
touch faq.html; \
sleep 1; \
touch faq.docbook; \
fi
make[2]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc/faq'
make[2]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc'
make[2]: Für das Ziel »all-am« ist nichts zu tun.
make[2]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc'
make[1]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/doc'
Making all in m4
make[1]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/m4'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/m4'
Making all in po
make[1]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/po'
make[1]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/po'
Making all in misc
make[1]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/misc'
make -C ../src/xine-engine libxine.la
make[2]: Entering directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/src/xine-engine'
/bin/sh ../../libtool --tag=CC --mode=link gcc -O0 -I/usr/local/include -fvisibility=hidden -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 -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -Wl,--gc-sections -weak libxine-interface.la -version-info 2:0:0 -g -o libxine.la -rpath /usr/local/lib xine.lo metronom.lo configfile.lo buffer.lo load_plugins.lo video_decoder.lo buffer_types.lo audio_decoder.lo video_out.lo audio_out.lo resample.lo events.lo video_overlay.lo osd.lo spu.lo scratch.lo demux.lo vo_scale.lo xine_interface.lo post.lo broadcaster.lo io_helper.lo input_rip.lo input_cache.lo info_helper.lo refcounter.lo alphablend.lo -pthread -ldl -lz -lm ../../src/xine-utils/libxineutils.la ../../lib/libxineposix.la -lrt -lresolv -lnsl ../../contrib/libxdg-basedir/libxdg-basedir.la -L/usr/local/lib -lavutil
gcc -shared .libs/xine.o .libs/metronom.o .libs/configfile.o .libs/buffer.o .libs/load_plugins.o .libs/video_decoder.o .libs/buffer_types.o .libs/audio_decoder.o .libs/video_out.o .libs/audio_out.o .libs/resample.o .libs/events.o .libs/video_overlay.o .libs/osd.o .libs/spu.o .libs/scratch.o .libs/demux.o .libs/vo_scale.o .libs/xine_interface.o .libs/post.o .libs/broadcaster.o .libs/io_helper.o .libs/input_rip.o .libs/input_cache.o .libs/info_helper.o .libs/refcounter.o .libs/alphablend.o -Wl,--whole-archive ./.libs/libxine-interface.a ../../src/xine-utils/.libs/libxineutils.a ../../lib/.libs/libxineposix.a ../../contrib/libxdg-basedir/.libs/libxdg-basedir.a -Wl,--no-whole-archive -ldl -lz -lm -lrt -lresolv -lnsl -L/usr/local/lib -lavutil -Wl,--gc-sections -pthread -Wl,-soname -Wl,libxine.so.2 -o .libs/libxine.so.2.0.0
/usr/bin/ld: /usr/local/lib/libavutil.a(base64.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavutil.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libxine.la] Fehler 1
make[2]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/src/xine-engine'
make[1]: *** [../src/xine-engine/libxine.la] Fehler 2
make[1]: Leaving directory `/usr/local/src/xine-lib-1.2-cvs-2010-06-14/misc'
make: *** [all-recursive] Fehler 1
Display More
Ich hab' schon versucht, 'gcc' mit der Option '-fPIC' direkt aufzurufen, aber der Fehler bleibt der gleiche, so dass ich ein grundlegenderes Problem vermute.
Grüße joker