Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6544 closed defect (fixed)

Compile error: libavdevice.so: undefined reference to `ff_reverse'

Reported by: bermond Owned by:
Priority: normal Component: avdevice
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Summary of the bug:
I'm getting the following error during link stage when trying to compile ffmpeg git master:

libavdevice/libavdevice.so: undefined reference to `ff_reverse'
collect2: error: ld returned 1 exit status
make: *** [Makefile:141: ffprobe_g] Error 1
make: *** Waiting for unfinished jobs....
libavdevice/libavdevice.so: undefined reference to `ff_reverse'
collect2: error: ld returned 1 exit status
make: *** [Makefile:141: ffserver_g] Error 1
libavdevice/libavdevice.so: undefined reference to `ff_reverse'
collect2: error: ld returned 1 exit status
make: *** [Makefile:141: ffplay_g] Error 1
libavdevice/libavdevice.so: undefined reference to `ff_reverse'
collect2: error: ld returned 1 exit status
make: *** [Makefile:141: ffmpeg_g] Error 1

A git bisect shows that this is being caused by commit 9b937958907daaddade139c36ce33c6eac269631.

How to reproduce:

./configure \
        --prefix='/usr' \
        --extra-cflags='-I/opt/cuda/include' \
        --extra-ldflags='-L/opt/cuda/lib64 -Wl,-rpath -Wl,/opt/intel/mediasdk/lib64' \
        \
        --enable-rpath \
        --enable-gpl \
        --enable-version3 \
        --enable-nonfree \
        --enable-shared \
        --disable-static \
        --enable-gray \
        --enable-avresample \
        \
        --enable-avisynth \
        --enable-bzlib \
        --enable-chromaprint \
        --enable-frei0r \
        --enable-gcrypt \
        --enable-gmp \
        --enable-gnutls \
        --enable-iconv \
        --enable-ladspa \
        --enable-libass \
        --enable-libbluray \
        --enable-libbs2b \
        --enable-libcaca \
        --enable-libcelt \
        --enable-libcdio \
        --enable-libdc1394 \
        --enable-libfdk-aac \
        --enable-libflite \
        --enable-fontconfig \
        --enable-libfreetype \
        --enable-libfribidi \
        --enable-libgme \
        --enable-libgsm \
        --enable-libiec61883 \
        --enable-libilbc \
        --enable-libkvazaar \
        --enable-libmodplug \
        --enable-libmp3lame \
        --enable-libopencore-amrnb \
        --enable-libopencore-amrwb \
         \
        --enable-libopenh264 \
        --enable-libopenjpeg \
        --enable-libopenmpt \
        --enable-libopus \
        --enable-libpulse \
        --enable-librsvg \
        --enable-librubberband \
        --enable-librtmp  \
        --enable-libshine \
        --enable-libsmbclient \
        --enable-libsnappy \
        --enable-libsoxr \
        --enable-libspeex \
        --enable-libssh \
        --enable-libtesseract \
        --enable-libtheora \
        --enable-libtwolame \
        --enable-libv4l2 \
        --enable-libvidstab \
        --enable-libvmaf \
        --enable-libvo-amrwbenc \
        --enable-libvorbis \
        --enable-libvpx \
        --enable-libwavpack \
        --enable-libwebp \
        --enable-libx264 \
        --enable-libx265 \
        --enable-libxavs \
        --enable-libxcb \
        --enable-libxcb-shm \
        --enable-libxcb-xfixes \
        --enable-libxcb-shape \
        --enable-libxvid \
        --enable-libzimg \
        --enable-libzmq \
        --enable-libzvbi \
        --enable-lzma \
        --enable-decklink \
        --enable-libmysofa \
        --enable-openal \
        --enable-opencl \
        --enable-opengl \
        --enable-openssl \
        --enable-sdl2 \
        --enable-xlib \
        --enable-zlib \
        \
        --enable-cuda \
        --enable-cuda-sdk \
        --enable-cuvid \
        --enable-libmfx \
        --enable-libnpp \
        --enable-nvenc \
        --enable-omx \
        --enable-omx-rpi \
        --enable-vaapi \
        --enable-vdpau \
        --enable-videotoolbox
make -j8

System information:
ffmpeg: git master
OS: Arch Linux x86_64
Compiler: gcc 7.1.1
DeckLink_SDK: 10.9.3

Change History (2)

comment:1 by James, 7 years ago

Analyzed by developer: set
Component: build systemavdevice
Reproduced by developer: set
Resolution: fixed
Status: newclosed

comment:2 by bermond, 7 years ago

I can confirm that it's working now.

Thank you for fixing this! (and for a really fast fix)

Note: See TracTickets for help on using tickets.