#303: new ffmpeg includes layout
------------------------+---------------------------------------------------
  Reporter:  kyngchaos  |       Owner:  [email protected]
      Type:  defect     |      Status:  new                      
  Priority:  major      |   Milestone:  6.4.0                    
 Component:  Raster     |     Version:  svn-develbranch6         
Resolution:             |    Keywords:                           
  Platform:  All        |         Cpu:  All                      
------------------------+---------------------------------------------------
Comment (by kyngchaos):

 Maybe it needs a different bug report, but now I get some symbols not
 found in the tests, when using a recent ffmpeg.

 {{{
 configure:11056: checking for avcodec_init in -lavcodec
 configure:11073: gcc -o conftest -Os    -L/Users/Shared/unix/ffmpeg-
 leo/lib   conftest.c -lavcodec  -lavutil    1>&5
 Undefined symbols:
   "_inflate", referenced from:
       _decode_frame in libavcodec.a(pngdec.o)
   "_inflateEnd", referenced from:
       _decode_frame in libavcodec.a(pngdec.o)
   "_inflateInit_", referenced from:
       _decode_frame in libavcodec.a(pngdec.o)
 ld: symbol(s) not found
 }}}

 If I add -lz to the test, it works.

 I don't know why the exact same test works without -lz when using an older
 ffmpeg build.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/303#comment:7>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to