Opened 13 years ago

Closed 13 years ago

#22 closed defect (fixed)

ffmpeg no longer compile on i386

Reported by: Levente Farkas Owned by: Michael Niedermayer
Priority: normal Component: ffmpeg
Version: git Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

ffmpeg-0.6.1 no longer compile while 0.6 was compile on i386 without any cpu extension (eg mmx etc) since compiler gives this error:


/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c: In function 'ff_getSwsFunc':
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1266: warning: implicit declaration of function 'sws_init_swScale_MMX2'
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1267: error: 'swScale_MMX2' undeclared (first use in this function)
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1267: error: (Each undeclared identifier is reported only once
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1267: error: for each function it appears in.)
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1269: warning: implicit declaration of function 'sws_init_swScale_3DNow'
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1270: error: 'swScale_3DNow' undeclared (first use in this function)
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1272: warning: implicit declaration of function 'sws_init_swScale_MMX'
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1273: error: 'swScale_MMX' undeclared (first use in this function)
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c: In function 'sws_scale':
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1907: warning: passing argument 1 of 'check_image_pointers' from incompatible pointer type
/builddir/build/BUILD/ffmpeg-20110227/libswscale/swscale.c:1911: warning: passing argument 1 of 'check_image_pointers' discards qualifiers from pointer target type


Attachments (1)

ffmpeg-0.6.1-1.20110227git.el5.viduxos.src.rpm-build.log (122.4 KB ) - added by Levente Farkas 13 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Carl Eugen Hoyos, 13 years ago

Please post the configure line you are using.

And since you set "Version" to "git": Is this only reproducible with 0.6.1 or also with current git?

comment:2 by Levente Farkas, 13 years ago

the first problem is that during configure it do not automatically recognize yasm (while it was recognized in 0.6) but after i manually add --enable-yasm to configure line it's still not compile.

comment:3 by Michael Niedermayer, 13 years ago

Reproduced by developer: set
Status: newopen

Your build log shows libavfilter/vf_gradfun.o
there is no such file in 0.6.1
I could reproduce this with master though

comment:4 by Carl Eugen Hoyos, 13 years ago

I do not believe the original configure line makes sense (--enable-runtime-cpudetect --disable-mmx --disable-amd3dnow)

The problem is also reproducible with current git and the following configure line (that might make sense)

./configure --disable-amd3dnow --enable-runtime-cpudetect

comment:5 by Michael Niedermayer, 13 years ago

On x86-32 this happens without any --disable-mmx/3dnow

comment:6 by Carl Eugen Hoyos, 13 years ago

./configure --cc='gcc -m32' --enable-runtime-cpudetect

works fine here...

comment:7 by Michael Niedermayer, 13 years ago

Resolution: fixed
Status: openclosed

hopefully fixed in 95c8bb0
this was a regression caused by 0fc29f2708afa4bf01014667d668376e2261e0fa

Note: See TracTickets for help on using tickets.