Portál AbcLinuxu, 17. července 2025 18:23


Dotaz: Mplayer, error pri kompilaci..

30.7.2007 16:25 /,;
Mplayer, error pri kompilaci..
Přečteno: 423×
Odpovědět | Admin

Ahoj, v Gentoo kompiluju mplayer, ./configure probehne v pohode..make ale pise samej warning az nakonec se ukonci s Errorem 1..

./version.sh `cc -dumpversion`
./version.sh: line 6: cd: 4.1.2: No such file or directory
./version.sh: line 7: cd: 4.1.2: No such file or directory
cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o mplayer.o mplayer.c
In file included from mplayer.c:55:
libvo/video_out.h:180: warning: redundant redeclaration of 'vo_format_name' ./libmpcodecs/img_format.h:118: warning: previous declaration of 'vo_format_name' was here
In file included from mplayer.c:58:
libvo/sub.h:106: warning: redundant redeclaration of 'suboverlap_enabled' subreader.h:6: warning: previous declaration of 'suboverlap_enabled' was here
In file included from mplayer.c:61:
libvo/x11_common.h:38: warning: redundant redeclaration of 'vo_init'
libvo/video_out.h:181: warning: previous declaration of 'vo_init' was here
In file included from mplayer.c:70:
spudec.h:21: warning: redundant redeclaration of 'spudec_draw_scaled'
spudec.h:9: warning: previous declaration of 'spudec_draw_scaled' was here
In file included from mplayer.c:174:
stream/stream_dvdnav.h:4:20: error: dvdnav.h: No such file or directory
In file included from mplayer.c:174:
stream/stream_dvdnav.h:18: error: expected specifier-qualifier-list before 'dvdnav_t'
In file included from mplayer.c:178:
libmpcodecs/dec_video.h:3: warning: redundant redeclaration of 'video_read_properties'
libmpdemux/stheader.h:119: warning: previous declaration of 'video_read_properties' was here
In file included from mplayer.c:185:
mp_core.h:114: warning: redundant redeclaration of 'ass_enabled'
gui/cfg.h:67: warning: previous declaration of 'ass_enabled' was here
mp_core.h:115: warning: redundant redeclaration of 'fixed_vo'
mp_core.h:113: warning: previous declaration of 'fixed_vo' was here
mp_core.h:120: warning: redundant redeclaration of 'vo_gamma_brightness'
libvo/video_out.h:226: warning: previous declaration of 'vo_gamma_brightness' was here

a tak dale az..

cfg-mplayer.h:68: warning: redundant redeclaration of 'vo_nomouse_input'
libvo/video_out.h:234: warning: previous declaration of 'vo_nomouse_input' was here
cfg-mplayer.h:69: warning: redundant redeclaration of 'WinID'
libvo/video_out.h:243: warning: previous declaration of 'WinID' was here
cfg-mplayer.h:93: warning: redundant redeclaration of 'enqueue'
mplayer.c:230: warning: previous definition of 'enqueue' was here
cfg-mplayer.h:98: warning: redundant redeclaration of 'xinerama_screen'
libvo/video_out.h:196: warning: previous declaration of 'xinerama_screen' was here
cfg-mplayer.h:109: warning: redundant redeclaration of 'enable_mouse_movements'
mplayer.c:87: warning: previous definition of 'enable_mouse_movements' was here
cfg-mplayer.h:110: warning: redundant redeclaration of 'use_filedir_conf'
mplayer.c:377: warning: previous declaration of 'use_filedir_conf' was here
mplayer.c: In function 'main':
mplayer.c:2665: warning: passing argument 2 of 'guiGetEvent' from incompatible pointer type
make: *** [mplayer.o] Error 1

zkousel jsem si instalovat glibc, znovu gcc..vsecky mozny veci kolem toho, smaznout mplayer a znova rozbalit nebo takovy co jsem kde pobral, ale nic..na google jsem toho moc nenasel, osobne moc netusim co to znamena...gcc mam 4.1.2, jestli jsem spravne pochopil..je totozna s verzi, kterou jsem kompiloval kernel..nevite teda prosim co s tim ?

Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

30.7.2007 17:29 Crusoe
Rozbalit Rozbalit vše Re: Mplayer, error pri kompilaci..
Odpovědět | | Sbalit | Link | Blokovat | Admin
1. Prva vec -ffast-math nepouzivaj v make.conf , dokaze to urobit zaujiiimave veci.
    
2. Ak ma oci neklamu mas povoleny -O4, to by som nerobil ale

dal by som tam radsej -O2 alebo -Os 3. Preco to nekompilujes cez emerge ? 4. Skus nainstalovat inu verziu mplayeru , Dostupne verzie: ls /usr/portage/media-video/mplayer Skompilovanie emerge =mplayer-verzia Napr. emerge =mplayer-1.0.20070622-r3 Skusil by som este emergnut niektoru masknutu verziu teda do /etc/portage/portage.keywords daj media-video/mplayer a potom emerge mplayer

30.7.2007 20:13 /,;
Rozbalit Rozbalit vše Re: Mplayer, error pri kompilaci..
v make.conf to mam nastavene na -O2 a -ffast-math tam nemam, to si mplayer nastavil sam..ja to mel z emerge, ale ukazovalo mi to tuhle chybu (http://www.abclinuxu.cz/forum/show/126409), myslel jsem si ale, ze to je normalni a mam to nejake rozhazene tady a tak jsem zkusil vlastnorucni kompilaci..ale kdyz to nejde..ted jsem zkusil tu starsi verzi..dik moc, ta uz jde ok..
stativ avatar 30.7.2007 18:18 stativ | skóre: 54 | blog: SlaNé roury
Rozbalit Rozbalit vše Re: Mplayer, error pri kompilaci..
Odpovědět | | Sbalit | Link | Blokovat | Admin
Mimochodem, na mplayer rozhodně nepoužívejte žádné optimalizace (CFLAGS). configure si je nastaví podle sebe a pokud jsou v CFLAGS už nastavené tak to často způsobuje dosti obskurní chyby.
Ať sežeru elfa i s chlupama!!! ljirkovsky.wordpress.com stativ.tk
Luboš Doležel (Doli) avatar 30.7.2007 20:46 Luboš Doležel (Doli) | skóre: 98 | blog: Doliho blog | Kladensko
Rozbalit Rozbalit vše Re: Mplayer, error pri kompilaci..
Odpovědět | | Sbalit | Link | Blokovat | Admin
Zakažte podporu dvdnav...
Elvis avatar 31.7.2007 08:31 Elvis | skóre: 15
Rozbalit Rozbalit vše Re: Mplayer, error pri kompilaci..
nebo bych ho mozna doinstaloval

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.