I have hit a problem... and HandBrake will not compile after compiling x264, x265, fdk-aac and ffmpeg successfully.
Here are the last few lines of the output...
Code: Select all
: /usr/bin/g++ -pipe -Wl,-S -fmessage-length=0 -Wall -g0 -O3 -mfpmath=sse -msse2 -DUSE_NVENC -DUSE_X265 -I./libhb/ -I./contrib/include -I/usr/include/libxml2 -o HandBrakeCLI -Wl,--start-group test/test.o test/parsecsv.o ./libhb/libhandbrake.a -L./contrib/lib -lass -lavformat -lavfilter -lavcodec -lavutil -lswresample -lpostproc -lmp3lame -ldvdnav -ldvdread -lfribidi -lsamplerate -lswscale -lvpx -ltheoraenc -ltheoradec -lvorbis -lvorbisenc -logg -lx264 -lbluray -lfreetype -lxml2 -lbz2 -lz -ljansson -lharfbuzz -lopus -lspeex -llzma -lfontconfig -lx265 -lpthread -ldl -lm -Wl,--end-group
: ./contrib/lib/libavfilter.a(af_resample.o): In function `config_output':
: af_resample.c:(.text+0x1a1): undefined reference to `avresample_close'
: af_resample.c:(.text+0x1aa): undefined reference to `avresample_free'
: af_resample.c:(.text+0x1bd): undefined reference to `avresample_alloc_context'
: af_resample.c:(.text+0x2ae): undefined reference to `avresample_open'
: ./contrib/lib/libavfilter.a(af_resample.o): In function `request_frame':
: af_resample.c:(.text+0x49b): undefined reference to `avresample_get_out_samples'
: af_resample.c:(.text+0x4ff): undefined reference to `avresample_convert'
: ./contrib/lib/libavfilter.a(af_resample.o): In function `filter_frame':
: af_resample.c:(.text+0x595): undefined reference to `avresample_get_delay'
: af_resample.c:(.text+0x5a9): undefined reference to `avresample_get_out_samples'
: af_resample.c:(.text+0x5eb): undefined reference to `avresample_convert'
: af_resample.c:(.text+0x600): undefined reference to `avresample_available'
: ./contrib/lib/libavfilter.a(af_resample.o): In function `resample_child_class_next':
: af_resample.c:(.text+0x151): undefined reference to `avresample_get_class'
: ./contrib/lib/libavfilter.a(af_resample.o): In function `uninit':
: af_resample.c:(.text.unlikely+0xf): undefined reference to `avresample_close'
: af_resample.c:(.text.unlikely+0x18): undefined reference to `avresample_free'
: ./contrib/lib/libavfilter.a(af_resample.o): In function `init':
: af_resample.c:(.text.unlikely+0x4a): undefined reference to `avresample_get_class'
: collect2: error: ld returned 1 exit status
: ../test/module.rules:47: recipe for target 'HandBrakeCLI' failed
: make: *** [HandBrakeCLI] Error 1
-------------------------------------------------------------------------------
time end: Mon Aug 20 15:27:18 2018
duration: 10 seconds (10.83s)
result: FAILURE (code 2)
-------------------------------------------------------------------------------
...what have I done wrong?
Paully
Ubuntu 16.04.5 LTS
HandBrake 20180810154915-d667a3d-master (last successful compile with Ubuntu libraries)
x264 0.157.2932 303c484
(libswscale 4.0.0)
(libavformat 57.10.3)
built on Aug 20 2018, gcc: 5.4.0 20160609
x265 [info]: HEVC encoder version 2.8+64-ge42e7bb
x265 [info]: build info [Linux][GCC 5.4.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX XOP FMA4 FMA3 BMI1
ffmpeg version N-91646-g78d4b6b Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609