[GRASS-dev] Re: [GRASS GIS] #303: new ffmpeg includes layout

GRASS GIS trac at osgeo.org
Sun Jan 25 15:32:42 EST 2009


#303: new ffmpeg includes layout
------------------------+---------------------------------------------------
  Reporter:  kyngchaos  |       Owner:  grass-dev at lists.osgeo.org
      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>


More information about the grass-dev mailing list