Problems recompiling mplayer2

pythagoras's picture

Forums: 

Hi,

Distribution is debian jessie. I want to enable radio support in mplayer2 so I have to recompile mplayer2 package. Here are the steps I am performing:
1) apt-get source mplayer2
2) cd mplayer2-2.0-728-g2c378c7
3) emacs debian/rules
4) adding two confflags: --enable-radio and --enable-radio-capture
5) dch -l+0.local. -- added radio support
6) dpkg-buildpackage -rfakeroot -uc -us

After this command I get this error message:


...
cc1: some warnings being treated as errors
Makefile:536: recipe for target 'stream/stream_radio.o' failed
make[2]: *** [stream/stream_radio.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/pythagoras/learning/packages/mplayer2/mplayer2-2.0-728-g2c378c7'
debian/rules:56: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/pythagoras/learning/packages/mplayer2/mplayer2-2.0-728-g2c378c7'
debian/rules:49: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

I don't have a clue where is the problem? I need help here.

Pythagoras.