Dear Reinhard,
Reinhard Nissl wrote:
Hi,
I'm pleased to announce release 0.7.8 with a little delay:
In your new instructions can you add Tuomas Jormola tjormola@cc.hut.fi's suggestion of running autogen.sh with "--disable-fpic" if one has issues with newer versions of GCC (>=4.xx) and older versions of xine-lib?
Tuomas's suggestion helped me, I was able to successfully compile xine-lib (the one on your site dated Feb 13 2006) using both GCC 4.01 and 4.1. Without it, the compile would fail.
Sincerely, CR.
P.S.
Thank you Tuomas Jormola!
I demand that CR may or may not have written...
Reinhard Nissl wrote:
I'm pleased to announce release 0.7.8 with a little delay:
In your new instructions can you add Tuomas Jormola tjormola@cc.hut.fi's suggestion of running autogen.sh with "--disable-fpic" if one has issues with newer versions of GCC (>=4.xx) and older versions of xine-lib?
I don't think that this is needed for CVS HEAD. I put in a workaround for the file which I noticed had a problem: since the problem only occurs with -O1 or higher, -Os is forced for that file.
(Look in src/libffmpeg/libavcodec/i386/Makefile.am and you'll see the workaround. BTW, if somebody wants to play with -f* and no-* to see which combination of options eliminates the problem, by all means do so - and tell us, the ffmpeg people and the gcc people if you find it :-) )
However, if you're using xine-lib 1.1.1 (doable, but you need to modify a patch from an older vdr-xine), you will need this on i386 or you'll need to grab the workaround from CVS HEAD (and don't forget to re-run automake).
[snip]
Hi,
CR wrote:
In your new instructions can you add Tuomas Jormola tjormola@cc.hut.fi's suggestion of running autogen.sh with "--disable-fpic" if one has issues with newer versions of GCC (>=4.xx) and older versions of xine-lib?
What's your architecture, as configure.ac of xine-lib-1.1.1 and higher contains the following line:
configure.ac:AC_ARG_ENABLE(fpic, AC_HELP_STRING([--disable-fpic], [disable -fPIC on shared libs (default on x86)]),
Tuomas's suggestion helped me, I was able to successfully compile xine-lib (the one on your site dated Feb 13 2006) using both GCC 4.01 and 4.1. Without it, the compile would fail.
I'm running SUSE Linux 10 and successfully compiled xine-lib with this compiler:
video:~ # gcc -v Using built-in specs. Target: i586-suse-linux Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --host=i586-suse-linux Thread model: posix gcc version 4.0.2 20050901 (prerelease) (SUSE Linux) video:~ #
Bye.