Ticket #22 (closed defect: fixed)
ffmpeg no longer compile on i386
| Reported by: | lfarkas | Owned by: | michael |
|---|---|---|---|
| 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
Change History
Changed 2 years ago by lfarkas
-
attachment
ffmpeg-0.6.1-1.20110227git.el5.viduxos.src.rpm-build.log
added
comment:2 Changed 2 years ago by lfarkas
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 Changed 2 years ago by michael
- Status changed from new to open
- Reproduced by developer set
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 Changed 2 years ago by cehoyos
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



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?