[FFmpeg-trac] #1736(avcodec:reopened): ffmpeg fails to build on Snow Leopard due to please_use_av_malloc macro polluting system headers

FFmpeg trac at avcodec.org
Sun Oct 14 13:28:00 CEST 2012


#1736: ffmpeg fails to build on Snow Leopard due to please_use_av_malloc macro
polluting system headers
-------------------------------------+-------------------------------------
             Reporter:  jeremyhu     |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  osx          |               Blocked By:
  regression vda                     |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by perime33):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The issue is not fixed.

 mplayer still fails to build on Snow Leopard, with error messages:

 /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/mm_malloc.h:56: error:
 implicit declaration of function 'please_use_av_malloc'
 (...)
 /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/mm_malloc.h:74: error:
 implicit declaration of function 'please_use_av_free'
 (...)
 make[1]: *** [libavcodec/vda_h264.o] Error 1


 Problem when trying to compile the latest mplayer package downloaded
 October 14th 2012 from svn://svn.mplayerhq.hu/mplayer/trunk, on Mac OS X
 Version 10.6.8.

 Compiler version:
 /usr/bin/gcc-4.2 --version
 i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

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


More information about the FFmpeg-trac mailing list