LINUX.ORG.RU

Mplayer + gcc 4


0

0

Пару страниц назад данная проблема уже была, человек её успешно решил, но метод решения не описал. Проблемма состоит в том, что Mplayer не хочет собератьсяс помощь gcc4.

/MPlayer-1.0pre7try2 # ./configure
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.0.2, bad
Checking for gcc version ... 4.0.2, bad
Checking for gcc-3.4 version ... not found
Checking for gcc-3.3 version ... not found
Checking for gcc-3.2 version ... not found
Checking for gcc-3.1 version ... not found
Checking for gcc3 version ... not found
Checking for gcc-3.0 version ... not found
Checking for cc version ... 4.0.2, bad

*** Please downgrade/upgrade C compiler to version gcc-2.95.x or gcc-3.x! ***

You are not using a supported compiler. We do not have the time to make sure
everything works with compilers other than the ones we use. Use either the
same compiler as we do, or use --disable-gcc-checking but DO *NOT* REPORT BUGS
unless you can reproduce them after recompiling with a 2.95.x or 3.x version!

Note for gcc 2.96 users: Some versions of this compiler are known to miscompile
mplayer and lame (which is used for mencoder). If you get compile errors,
first upgrade to the latest 2.96 release (minimum 2.96-85) and try again.
If the problem still exists, try with gcc 3.x (or 2.95.x) *BEFORE* reporting
bugs!

GCC 2.96 IS NOT AND WILL NOT BE SUPPORTED BY US !

*** For details please read DOCS/HTML/en/users-vs-dev.html ***


Error: Bad gcc version

Check "configure.log" if you do not understand why it failed.

неужели прийдется ставить GCC3. или есть другой метод ?

anonymous

Боже, да возьми версию с CVS!

full gcc 4 support for IA-32 and AMD-64 ports

anonymous
()

Возможно(!), что решением в прошлом случае являлось чтение сообщения об ошибке и документации:

./configure --disable-gcc-checking

либо, как сказано выше, CVS-версия.

Obidos ★★★★★
()
Ответ на: комментарий от Obidos

С gcc проблему решили, за что огромное спасибо, но вот еще одна ошибка всплыла, что делать ??

make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/root/MPlayer-1.0pre7/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

anonymous
()
Ответ на: комментарий от anonymous

По ТОЛЬКО этому сообщению ничего не понятно.

Да... и ещё. mplayer-cvs может иногда не собираться...

Deleted
()
Ответ на: комментарий от anonymous

/MPlayer-1.0pre7 # make
make -C libavcodec LIBPREF=lib LIBSUF=.a
make[1]: Entering directory `/root/MPlayer-1.0pre7/libavcodec'
cc -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o libpostproc/postprocess.o libpostproc/postprocess.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from libpostproc/postprocess.c:655:
libpostproc/postprocess_template.c: In function ‘do_a_deblock_MMX2’:
libpostproc/postprocess_template.c:2901: error: memory input 4 is not directly addressable
libpostproc/postprocess_template.c: In function ‘postProcess_MMX2’:
libpostproc/postprocess_template.c:3510: warning: pointer targets in passing argument 6 of ‘blockCopy_MMX2’ differ in signedness
libpostproc/postprocess_template.c:3656: warning: pointer targets in passing argument 6 of ‘blockCopy_MMX2’ differ in signedness
libpostproc/postprocess_template.c:3757: warning: pointer targets in passing argument 4 of ‘tempNoiseReducer_MMX2’ differ in signedness
libpostproc/postprocess_template.c:3781: warning: pointer targets in passing argument 4 of ‘tempNoiseReducer_MMX2’ differ in signedness
make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/root/MPlayer-1.0pre7/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.