<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><b>Sziasztok!</b><div><br></div><div>Segitsegetek kernem! Uj vagyok ebben a temaban es Mac OS X ala MacPorts segitsegevel probalom felvasalni az Mplayert (kodolas celjabol), de x264-es kiegeszito hibaval elszall, es nem tudok mit kezdeni vele, megakadtam.</div><div><br></div><div><span class="Apple-style-span" style="font-weight: bold; ">Amit probaltam: </span></div><div>- Lekapni az ffmpeg-et, es az x264-et es ugy felrakni az Mplayert sikertelenul (ugyanis az ffmpeg-et az osszes kiegeszitovel sikerult felraknom elotte)</div><div>- Patch-eket keresni a hibahoz, osszesen 3-at talaltam, de egyik sem mukodott valamiert (lehet, hogy az en hibambol kifolyolag)</div><div><br></div><div><b>Amit kernek:</b></div><div>- Valaki (lepesrol-lepesre, ha lehet) probalja leirni hogyan is kellene patch-elni, vagy mit ronthattam el amikor probalkoztam, vagy irja le az otletet, hogy miert keletkezik a hiba, hogyan lehetne javitani</div><div><br></div><div>- Esetleg, ha nem nagy keres csinalja nekem meg valaki ezt, hogy ne szenvedjek vele. Feltoltottem a keletkezett fajlokat (az egyik sajat keszitesu x264.diff, libx264.c, libx264.c.orig, libx264.c.rej) egy csomagba. Letoltes: <a href="http://dl.getdropbox.com/u/5904/libx264.c.zip">http://dl.getdropbox.com/u/5904/libx264.c.zip</a> </div><div><br></div><div>Remelem erthetoen irtam le mindent. </div><div><br></div><div><b>Koszonom a segitsegetek!</b></div><div>kemeng</div><div><br></div><div>Ui.:</div><div>Mac OS X 10.5.6, MacPorts 1.7.1</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-weight: bold; ">-------------------------------------------</span></div><div><br></div><div><span class="Apple-style-span" style="font-weight: bold; ">Eredeti hibauzenet:</span></div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">local/include -c -o libx264.o libx264.c</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c: In function 'X264_init':</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:165: error: 'x264_param_t' has no member named 'b_bframe_adaptive'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:228: error: 'struct <anonymous>' has no member named 'b_bidir_me'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:229: error: 'struct <anonymous>' has no member named 'b_bframe_rdo'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:254: error: 'struct <anonymous>' has no member named 'psz_rc_eq'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">make[1]: *** [libx264.o] Error 1</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">make: *** [libavcodec/libavcodec.a] Error 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; color: rgb(255, 0, 0); ">Error: Status 1 encountered during processing.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><b>Executing: /opt/local/bin/port install MPlayer +xvid +esd +man_all_lang +darwin_8 +lirc +twolame +binary_codecs +theora +x11 +dts +faac +speex +macosx +dv +sdl +osd +x264 +smb +caca +fribidi +aa +darwin</b></div><div><font class="Apple-style-span" face="'Lucida Grande'"><b>--------------------------------------------</b></font></div></div><div><br></div><div><b>Patch-ek:</b></div><div>- <a href="http://bugs.gentoo.org/show_bug.cgi?id=240347">http://bugs.gentoo.org/show_bug.cgi?id=240347</a> (itt ket verzio talalhato)</div><div>- <a href="http://trac.macports.org/ticket/18551">http://trac.macports.org/ticket/18551</a> (egy az egyben ugyanaz a hibauzenet, mint nalam)</div><div><br></div><div>Ha TextEdit-tel letrehozom a .diff allomanyt, majd patch-elni probalom a libx264.c fajlt, akkor mindharom verzio eseten hasonlo uzenetet kapok (az alabbi a masodik linkben talalhato patch utan keletkezik - vagyis a fentebb csatolt sajat keszitesu x264.diff hasznalata utan)</div><div><br></div><div>177:Desktop gabor$ patch -p0 < /Users/gabor/Desktop/x.264.diff</div><div><div>patching file libx264.c</div><div>Hunk #2 succeeded at 164 with fuzz 2.</div><div>Hunk #3 FAILED at 229.</div><div>1 out of 3 hunks FAILED -- saving rejects to file libx264.c.rej</div><div>177:Desktop gabor$ </div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-weight: bold; ">-------------------------------------------</span></div><div><pre><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: normal;"><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">Miutan sehogy sem birtam veluk, probaltam<b> manualisan</b> vegrehajtani a libx264.c fajlban a valtoztatasokat, de ismet hibat kaptam (Erre mar vegkepp nem mernek megeskudni, hogy jol csinaltam - az alabbi hibauzenet masodik patch-ben javasolt javitasok utan keletkezett):</span></font></pre></span></font></pre></div><div><br></div></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c: In function 'X264_frame':</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:73: error: 'avctx' undeclared (first use in this function)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:73: error: (Each undeclared identifier is reported only once</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:73: error: for each function it appears in.)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:78: warning: ISO C90 forbids mixed declarations and code</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c: In function 'X264_init':</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">libx264.c:259: error: 'struct <anonymous>' has no member named 'psz_rc_eq'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">make[1]: *** [libx264.o] Error 1</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">make: *** [libavcodec/libavcodec.a] Error 2</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; color: rgb(255, 0, 0); ">Error: Status 1 encountered during processing.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "><b>Executing: /opt/local/bin/port install MPlayer +xvid +esd +man_all_lang +darwin_8 +lirc +twolame +binary_codecs +theora +x11 +dts +faac +speex +macosx +dv +sdl +osd +x264 +smb +caca +fribidi +aa +darwin</b></div><div><br></div><div><font class="Apple-style-span" face="'Lucida Grande'"><b><br></b></font></div></div><div><br></div></body></html>