[FFmpeg-trac] #282(FFmpeg:new): undefined reference to `_avdevice_register_all'

FFmpeg trac at avcodec.org
Thu Jun 16 06:38:43 CEST 2011


#282: undefined reference to `_avdevice_register_all'
-------------------------+-------------------------------------------------
  Reporter:  KSHawkEye   |      Owner:  michael
      Type:  defect      |     Status:  new
  Priority:  critical    |  Component:  FFmpeg
   Version:  git         |   Keywords:  undefined reference
Blocked By:              |  avdevice_register_all
Reproduced:  0           |   Blocking:
                         |   Analyzed:  0
-------------------------+-------------------------------------------------
 I'm getting:


 {{{
 ffmpeg.c:4514: undefined reference to `_avdevice_register_all'
 }}}


 when --disable-static --enable-shared is used, it seems to only happen
 when --disable-static --enable-shared is used, static builds fine.

 I believe it is related to the leading underscore _ before
 avdevice_register_all but I can't confirm that.

 I'm building for Windows and the toolchain is not the issue.

 I gave this a critical priority because FFmpeg will not build a shared
 version for Windows.

 I'm unsure of what patch broke this, but the last proven working build I
 know of is git-39dbe9b.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/282>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list