[MPlayer-users] [BUG] live (gcc/g++) and libdvdnav
Jonas Jermann
jonas at zaphod.discordia.ch
Mon Aug 12 14:32:02 CEST 2002
On Mon, Aug 12, 2002 at 09:39:04AM +0100, Glyn wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Jonas Jermann wrote:
> > 2. gcc-3.1.1 with live failed at the end, 2.95.4 worked (see
> > live.log).
> >
> > debian sid, mplayer cvs, gcc 3.1.1 and 2.95.4, pentium3 (mmx,
> > sse), live from live.2002.06.07.tar.gz, ld 2.12.90.0.15
> >
> > I hope I didn't forget anything essential....
>
> Which g++, gcc and stdc++ versions do you have installed? Live is
> written in C++, so a version mismatch between the two compilers will
> explain all those linking errors.
hmm, you're right ;)) .oO(Why didn't I see it myself??)
I must have forgotten that --cc=gcc-3.1 doesn't affect the g++
version to be used... (g++-3.1 isn't default on my system)
Now I used g++ and libstdc++ 3.1.1 (is it enough just to replace
c++ with g++-3.1 at compilation time?).
> I've had this problem with woody, gcc 3.0.4 and the Live section. I
> eventually discovered that my gcc and g++ weren't the same version, and
> that I had the wrong libstdc++ installed. I had to rebuild everything
> once I'd installed the right versions. (And I had to comment out an
> "extern int errno" for the Live libraries to build with g++ 3.0.4 - YMMV)
c++ compilation works now of course, but I still would prefer a c
version (there's a uncomplete ffmpeg implementation around afaik).
Compilation at the end still fails with gcc-3.1.
Thx and Best Regards
Jonas
More information about the MPlayer-users
mailing list