Opened 6 years ago

Closed 6 years ago

#4007 closed defect (invalid)

Compile error 0de1d6287ec384e795f5ef1d006589dd18ff95e9

Reported by: Hains Owned by:
Priority: normal Component: build system
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Compile error due to commit:

License: LGPL version 2.1 or later
Creating config.mak, config.h, and doc/config.texi...
config.h is unchanged
config.asm is unchanged
libavutil/avconfig.h is unchanged
hains@hains-System-Product-Name:~/FFmpeg$ make -j9
CC libavformat/img2dec.o
CC libavcodec/on2avc.o
make: * No rule to make target 'libavcodec/x86/mlpdsp.c', needed by 'libavcodec/x86/mlpdsp.o'. Stop.
* Waiting for unfinished jobs....
YASM libavcodec/x86/hevc_mc.o
STRIP libavcodec/x86/hevc_mc.o

In libavcodec/x86/Makefile line 55:


-OBJS-$(CONFIG_TRUEHD_DECODER) += x86/mlpdsp.o


-OBJS-$(CONFIG_TRUEHD_DECODER) += x86/mlpdsp_init.o

and remove in libavcodec/x86/mlpdsp_init.: (line 202) .

+ c->mlp_rematrix_channel = ff_mlp_rematrix_channel_sse4;
+ if (ARCH_X86_64 && EXTERNAL_AVX2(cpu_flags) && cpu_flags & AV_CPU_FLAG_BMI2)
+ c->mlp_rematrix_channel = ff_mlp_rematrix_channel_avx2_bmi2;

It is possible to compile FFmpeg without errors.

I am using ubuntu 14.10.

Change History (1)

comment:1 Changed 6 years ago by jamal

  • Component changed from avcodec to build system
  • Resolution set to invalid
  • Status changed from new to closed

You need to clean your build folder. You have old objects with outdated dependencies affecting your build.
Undo those changes you did to the source tree then reconfigure with: "make distclean && ./configure"

"rm libavcodec/x86/mlpdsp.{o,d} && make" should also work if you don't want to rebuild everything.

Note: See TracTickets for help on using tickets.