Yes I had the same error. If you read the documentation on the mplayer site
it specifically mentions this error.
*****************************************
"Q:
Great, I have gcc 3.0.1 from RedHat/Mandrake, then I'm fine--!
A:
No, since there have been/are issues with those compilers.
Use 2.95.x series for reliability (not 2.96).
Use the latest gcc 3.0.x (starting at 3.0.2) if you want to use a 3.0.x
version.
�
Q:
I tried to compile MPlayer, but I got this output:
In file included from /usr/include/g++-v3/bits/std_cwchar.h:42,
from /usr/include/g++-v3/bits/fpos.h:40,
from /usr/include/g++-v3/bits/char_traits.h:40,
from /usr/include/g++-v3/bits/std_string.h:41,
from /usr/include/g++-v3/string:31,
from libwin32.h:36,
from DS_AudioDecoder.h:4,
from DS_AudioDec.cpp:5:
/usr/include/wchar.h: In function Long long int wcstoq(const wchar_t*,
wchar_t**, int)':
/usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
`const
A:
Upgrade your glibc to the newest. On Mandrake, use 2.2.4-8mdk ."
*********************************************
The trouble is persuading gcc3.01 to install with glibc2.2.4-8
Other people have reported that ignoring all their warnings and compiling
with gcc2.96 works just fine anyway.
Derek
�
On Monday 26 November 2001 04:14, you wrote:
> I am trying to compile mplayer on mdk 8.1, I'm using gcc-3.0-3.0.2-1mdk
> from the cooker. I get this error when compiling:
>
> Dec.o DS_AudioDec.cpp
> In file included from /usr/include/g++-v3/bits/std_cwchar.h:43,
> from /usr/include/g++-v3/bits/fpos.h:40,
> from /usr/include/g++-v3/bits/std_iosfwd.h:41,
> from /usr/include/g++-v3/bits/stl_algobase.h:77,
> from /usr/include/g++-v3/bits/std_list.h:61,
> from /usr/include/g++-v3/list:31,
> from allocator.h:8,
> from outputpin.h:8,
> from DS_Filter.h:6,
> from DS_AudioDecoder.h:5,
> from DS_AudioDec.cpp:5:
> /usr/include/wchar.h: In function `long long int wcstoq(const wchar_t*,
> wchar_t**, int)':
> /usr/include/wchar.h:514: cannot convert `const wchar_t* __restrict' to
> `const __gwchar_t*' for argument `1' to `long long int
> __wcstoll_internal(const __gwchar_t*, __gwchar_t**, int, int)'
> /usr/include/wchar.h: In function `long long unsigned int wcstouq(const
> wchar_t*, wchar_t**, int)':
> /usr/include/wchar.h:520: cannot convert `const wchar_t* __restrict' to
> `const __gwchar_t*' for argument `1' to `long long unsigned int
> __wcstoull_internal(const __gwchar_t*, __gwchar_t**, int, int)'
> make[1]: *** [DS_AudioDec.o] Error 1
>
> I wonder has anyone else had similar errors and how to fix it. Do I need
> another package or something?
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com