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

FFmpeg trac at avcodec.org
Tue Nov 20 22:23:14 CET 2012


#282: undefined reference to `_avdevice_register_all'
-------------------------------------+-------------------------------------
             Reporter:  KSHawkEye    |                    Owner:  michael
                 Type:  defect       |                   Status:  closed
             Priority:  critical     |                Component:  build
              Version:  git          |  system
             Keywords:  undefined    |               Resolution:  invalid
  reference avdevice_register_all    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by rogerdpack):

 {{{
 $ cat sandbox/win32/ffmpeg_git/libavcodec/*.def
 EXPORTS
     _ZN6CCodec14CreateInstanceEjPKc @1
     _ZN6CCodec14DeleteInstanceEPS_ @2

 }}}

 These methods come from the "utvideo" package, I believe.  So it must be
 leaking symbols.  According to
 http://sourceware.org/binutils/docs/ld/WIN32.html unless --export-all-
 symbols is explicitly stated, if any symbol is found that is marked with
 marked with the __declspec(dllexport)  then it won't export "any other
 symbols" which must be happening here.  Maybe to avoid this type of
 rampant confusion --export-all-symbols could be added...

 Will keep investigating...

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


More information about the FFmpeg-trac mailing list