[Mplayer-users] Mandrake 8.1...

Goetz Waschk waschk at informatik.uni-rostock.de
Tue Oct 2 12:55:12 CEST 2001


Am Sonntag, 30. September 2001, 18:49:56 Uhr MET, schrieb Tobias Andersson:
> make[1]: Leaving directory `/home/tobias/download/MPlayer-20010930/loader'
> make -C loader/DirectShow
> make[1]: Entering directory
> `/home/tobias/download/MPlayer-20010930/loader/Direc
> tShow'
> gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
> -I. -I.
> . -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib
> /glib/include -I/usr/X11R6/include -DNOAVIFILE_HEADERS -fexceptions  -o
> DS_Audio
> Dec.o DS_AudioDec.cpp
> 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 
>    __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
> make[1]: Leaving directory
> `/home/tobias/download/MPlayer-20010930/loader/Direct
> Show'
> make: *** [loader/DirectShow/libDS_Filter.a] Error 2

> Is it a problem with gcc 3.0.1 headers or something else? Thankfull for
> all advice!
Hi,
I'm using Mandrake 8.1 too, this problem occures with optimization enabled.
If you substitute -O2 with -O0 this file compiles. Unfortunately the MMX
stuff breaks without optimization. So better use gcc-2.96.

-- 
   Götz Waschk <> student of computer science  <> university Rostock    
 http://www.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list