The following command returned a non-zero value

hello I’m trying to compile from source but when you run the command:

python ./makepanda/makepanda.py --everything --verbose --no-artoolkit --no-tiff --no-fmodex --no-vrpn

after a while compiling the following error message appears, and stays at about 26%:

Process exited with exit status 1 and signal code 0
Storing dependency cache.
Elapsed Time: 17 sec
The following command returned a non-zero value: g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3movies_composite2.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/python2.7 -I/usr/include/eigen3 -DMAKEPANDA= -Ipanda/src/movies -pthread -msse2 -O2 -DBUILDING_PANDA panda/src/movies/p3movies_composite2.cxx
Build terminated.

the complete console output is:
pastebin.com/LW3VzQVe

I wonder if you could offer me some help on this, I’m trying to compile panda 3d 1.8.1 with python 2.7 on Debian jessie kernel 3.12 for 64-bit PCs

The important error message from your output:

panda/src/movies/ffmpegVirtualFile.cxx:123:68: error: ‘av_open_input_file’ was not declared in this scope

This is caused by the fact that we didn’t support more recent ffmpeg versions in 1.8.1. Please downgrade ffmpeg or upgrade to the latest CVS version of the Panda3D source.