hi folks,
I have a problem when trying to compile omxplayer from the xwm overlay. After the struggle with ffmpeg (which I updated to version 1.0.7), I now get other compile errors (see below). I first thought, that it is due to the wrong gcc version, so I upgraded to gcc-4.7.0 as mentioned in [1]. But I still receive the same compiler errors. Then I recently (3 days ago) updated the whole system and did an rpi-update. After that, I installed the following libs, because they are mentioned in [2]. But all these actions didn't resolve the problem.

Then I read the bug report [3] which states, that ffmpeg in version > 1.x introduces it's own modified time.h file, which is causing the conflict. unfortunately, the bug does not state a solution to this problem. Can I simply delete the file or do I have to modify the source code to make it compile?

Good news. I solved the problem(s). There occured another one after fixing the issue with the time.h file from /usr/include/libavutil/. According to [1], -I /usr/lib/libavutil should never be passed to the compiler. Therefore the current omxplayer-9999-Makefile.patch has to be modified. The new $INCLUDES line is as follows:

After that, I had another error, which stated, that either libswrescale or libavrescale has to be enabled. The solution also lies in the file omxplayer-9999-Makefile.patch, where the CFLAGS variable needs to be altered, because the -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H flag is missing. The line now looks as shown below: