<div dir="ltr"><div class="gmail_extra"><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(34,34,34)">> These functions were added in a recent release, so maybe your</span><br>

</div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">> installation is fucked up, and headers and library mismatch.</span><br></div><div class="gmail_extra"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br>

</span></div><div class="gmail_extra"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">I downloaded and built from source the ffmpeg 2.2.2 version. Removed the header files and shared library files before installing. The ffmpeg command now says version 2.2.2, so I think I did that right. I get the same errors.</span></div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Everything I see about this undefined reference to symbol has to do with linking order, i.e. your g++ command line would have the .o you are linking libraries to BEFORE the -lavcodec etc. linking flags.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I shouldn't need to link avutil explicitly to use av_malloc( ), right? Or has that been changed in more recent ffmpeg versions?</div><div class="gmail_extra">

<br></div><div class="gmail_extra">Unfortunately I have no idea what is controlling the linking order in a ROS catkin build. I will ask about that in the ROS help mailing lists.</div></div>