Discussion:
[MPlayer-users] Latest subversion fails compilation on Fedora 25.
stan
2017-06-24 00:56:34 UTC
Permalink
I updated to the latest version in subversion, revision 37943, did a
make distclean, and ./configure, make, and the compile failed with the
errors below.


CC libavcodec/x86/hpeldsp_init.o
libavcodec/x86/hpeldsp_init.c:151:5: warning: "HAVE_X86ASM" is not defined [-Wundef]
#if HAVE_X86ASM
^~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c: In function 'hpeldsp_init_mmxext':
libavcodec/x86/hpeldsp_init.c:209:31: error: 'put_pixels16_y2_mmxext' undeclared (first use in this function)
c->put_pixels_tab[0][2] = put_pixels16_y2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c:209:31: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/x86/hpeldsp_init.c:211:31: error: 'avg_pixels16_mmxext' undeclared (first use in this function)
c->avg_pixels_tab[0][0] = avg_pixels16_mmxext;
^~~~~~~~~~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c:212:31: error: 'avg_pixels16_x2_mmxext' undeclared (first use in this function)
c->avg_pixels_tab[0][1] = avg_pixels16_x2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c:213:31: error: 'avg_pixels16_y2_mmxext' undeclared (first use in this function)
c->avg_pixels_tab[0][2] = avg_pixels16_y2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c:214:31: error: 'avg_pixels16_xy2_mmxext' undeclared (first use in this function)
c->avg_pixels_tab[0][3] = avg_pixels16_xy2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c:225:42: error: 'put_no_rnd_pixels16_x2_mmxext' undeclared (first use in this function)
c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c:226:42: error: 'put_no_rnd_pixels16_y2_mmxext' undeclared (first use in this function)
c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/x86/hpeldsp_init.c:230:35: error: 'avg_approx_pixels16_xy2_mmxext' undeclared (first use in this function)
c->avg_pixels_tab[0][3] = avg_approx_pixels16_xy2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ffbuild/common.mak:60: recipe for target 'libavcodec/x86/hpeldsp_init.o' failed
make[1]: *** [libavcodec/x86/hpeldsp_init.o] Error 1
make[1]: Leaving directory '/mnt/to_archive/accum/src/mplayer-stuff/mplayer/ffmpeg'
Makefile:740: recipe for target 'ffmpeg/libavcodec/libavcodec.a' failed
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
William Norfleet
2017-06-24 23:17:21 UTC
Permalink
Post by stan
I updated to the latest version in subversion, revision 37943, did a
make distclean, and ./configure, make, and the compile failed with the
errors below.
SNIP
Post by stan
libavcodec/x86/hpeldsp_init.c:230:35: error: 'avg_approx_pixels16_xy2_mmxext' undeclared (first use in this function)
c->avg_pixels_tab[0][3] = avg_approx_pixels16_xy2_mmxext;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ffbuild/common.mak:60: recipe for target 'libavcodec/x86/hpeldsp_init.o' failed
make[1]: *** [libavcodec/x86/hpeldsp_init.o] Error 1
make[1]: Leaving directory '/mnt/to_archive/accum/src/mplayer-stuff/mplayer/ffmpeg'
Makefile:740: recipe for target 'ffmpeg/libavcodec/libavcodec.a' failed
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2
Same here. Ubuntu 14.04.
Reimar Döffinger
2017-06-25 17:03:18 UTC
Permalink
Post by stan
I updated to the latest version in subversion, revision 37943, did a
make distclean, and ./configure, make, and the compile failed with the
errors below.
Should be fixed, though I think the failure specifically is probably
a bug in the FFmpeg build system, but I did not investigate.
It seems however that assembler optimizations might have been disable
since a while, in which case that is fixed now.
stan
2017-06-26 18:49:34 UTC
Permalink
On Fri, 23 Jun 2017 17:56:34 -0700
Post by stan
I updated to the latest version in subversion, revision 37943, did a
make distclean, and ./configure, make, and the compile failed with the
errors below.
ffbuild/common.mak:60: recipe for target
'libavcodec/x86/hpeldsp_init.o' failed
The latest revision, 37944, gets past this problem successfully.
Thanks.

However, it fails later in the compile process.

AR libavcodec/libavcodec.a
ar: libavcodec/x86/aacencdsp.o: No such file or directory
ffbuild/library.mak:20: recipe for target 'libavcodec/libavcodec.a'
failed make[1]: *** [libavcodec/libavcodec.a] Error 1
make[1]: Leaving directory
'/mnt/to_archive/accum/src/mplayer-stuff/mplayer/ffmpeg' Makefile:740:
recipe for target 'ffmpeg/libavcodec/libavcodec.a' failed make: ***
[ffmpeg/libavcodec/libavcodec.a] Error 2

This is after:
svn update
make distclean
.configure
make
stan
2017-06-28 18:46:44 UTC
Permalink
On Mon, 26 Jun 2017 11:49:34 -0700
Post by stan
On Fri, 23 Jun 2017 17:56:34 -0700
Post by stan
I updated to the latest version in subversion, revision 37943, did a
make distclean, and ./configure, make, and the compile failed with
the errors below.
ffbuild/common.mak:60: recipe for target
'libavcodec/x86/hpeldsp_init.o' failed
The latest revision, 37944, gets past this problem successfully.
Thanks.
However, it fails later in the compile process.
AR libavcodec/libavcodec.a
ar: libavcodec/x86/aacencdsp.o: No such file or directory
ffbuild/library.mak:20: recipe for target 'libavcodec/libavcodec.a'
failed make[1]: *** [libavcodec/libavcodec.a] Error 1
make[1]: Leaving directory
recipe for target 'ffmpeg/libavcodec/libavcodec.a' failed make: ***
[ffmpeg/libavcodec/libavcodec.a] Error 2
svn update
make distclean
.configure
make
The file exists, but in a different place. The compile messages show
it in the location that AR is looking,
X86ASM libavcodec/x86/aacencdsp.o
but a search shows that it is actually under
ffmpeg/aacencdsp.o
This is with the latest mplayer revision and ffmpeg updates.
Roberto Togni
2017-06-30 20:30:55 UTC
Permalink
On Wed, 28 Jun 2017 11:46:44 -0700
Post by stan
On Mon, 26 Jun 2017 11:49:34 -0700
Post by stan
On Fri, 23 Jun 2017 17:56:34 -0700
Post by stan
I updated to the latest version in subversion, revision 37943, did a
make distclean, and ./configure, make, and the compile failed with
the errors below.
ffbuild/common.mak:60: recipe for target
'libavcodec/x86/hpeldsp_init.o' failed
The latest revision, 37944, gets past this problem successfully.
Thanks.
However, it fails later in the compile process.
AR libavcodec/libavcodec.a
ar: libavcodec/x86/aacencdsp.o: No such file or directory
ffbuild/library.mak:20: recipe for target 'libavcodec/libavcodec.a'
failed make[1]: *** [libavcodec/libavcodec.a] Error 1
make[1]: Leaving directory
recipe for target 'ffmpeg/libavcodec/libavcodec.a' failed make: ***
[ffmpeg/libavcodec/libavcodec.a] Error 2
svn update
make distclean
.configure
make
The file exists, but in a different place. The compile messages show
it in the location that AR is looking,
X86ASM libavcodec/x86/aacencdsp.o
but a search shows that it is actually under
ffmpeg/aacencdsp.o
This is with the latest mplayer revision and ffmpeg updates.
Should be fixed, please test.

Ciao,
Roberto
stan
2017-07-01 02:15:37 UTC
Permalink
On Fri, 30 Jun 2017 22:30:55 +0200
Post by Roberto Togni
Should be fixed, please test.
Yes, fixed. Thank you.

Loading...