[MPlayer-dev-eng] Compile with gcc4 on x86

Gianluigi Tiesi mplayer at netfarm.it
Sun Apr 17 13:07:10 CEST 2005


On Sat, Apr 16, 2005 at 02:17:42AM +0200, Diego Biurrun wrote:
> On Thu, Apr 14, 2005 at 05:01:52PM +0300, Vladimir Kondratiev wrote:
> > attached is patch to compile mplayer with gcc4.
> 
> Fails with gcc 2.95:
> 
> imdct.c: In function `imdct_do_512_sse':
> imdct.c:940: parse error before `int'
> imdct.c:967: `buf_plus_128' undeclared (first use in this function)
> imdct.c:967: (Each undeclared identifier is reported only once
> imdct.c:967: for each function it appears in.)
> imdct.c:967: `two_m_plus_four' undeclared (first use in this function)
> make[1]: *** [imdct.o] Error 1
> make[1]: Leaving directory `/usr/src/mplayer/dev/liba52'
> make: *** [liba52/liba52.a] Error 2
> 
> Patch rejected.
> 
> Diego
> 
with gcc2.95 you must put declaration at block begin

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/




More information about the MPlayer-dev-eng mailing list