Page 1 of 1

build error!

Posted: 22 Sep 2015 13:56
by brickzj
Hi,all:
I download vlc2.2.1 source code and try to build it using belowing command:
./configure
make
During the make step, one error occured:
"codec/avcodec/video.c:438:9: error: implicit declaration of function 'avcodec_free_frame' [-Werror=implicit-function-declaration]"
My os is ubuntu tls 12.04 .4 LTS and yesterday i successfully built VLC2.1.1 in this machine.
Can anyone kindly tell me how to fix the error?
I ever guessed maybe this error is due to that i have installed vlc2.1.1, so i try to remvoe vlc2.1.1 using following command referring http://askubuntu.com/questions/572865/h ... vlc-player:
sudo apt-get remove vlc
sudo apt-get remove browser-plugin-vlc
sudo apt-get purge vlc
The above command executed successfully but the vlc application still exists and can be opened.
Can anyone kindly tell me how to remove vlc2.1.1?

In summary, I have two question:
1,How to remvoe vlc2.1.1?
2,How to build vlc2.2.1?

Re: build error!

Posted: 22 Sep 2015 14:19
by brickzj
I build vlc2.1.1 in the same directory as yesterday, it still build successfully.
When i move the vlc2.1.1 directory to another different path and directory, the make error occured with following info:
"src/vlc-2.1.1/autotools/missing: line 81: aclocal-1.14: command not found"
Can anyone kindly tell me how to fix this error?

Re: build error!

Posted: 08 Oct 2015 16:21
by Jean-Baptiste Kempf
install autotools.

Re: build error!

Posted: 05 Nov 2015 06:56
by petma
I have the same build error that the OP with version 2.2.1. It seems to be connected to libavcodec which I have installed from the repositories. Do you think I should compile it separately first?

I'm running Debian wheezy in Beaglebone Black (armhf) so trying out snapshots is very slow as I don't have cross-compilation environment set up. I don't have anything installed from the debian multimedia repos. The binary VLC works fine except is does not have RTSP support (can't understand why).

Here's the exact build output: http://pastebin.com/9tEaR1VT

Re: build error!

Posted: 05 Nov 2015 08:06
by Rémi Denis-Courmont
Your libavcodec is too recent and no longer compatible with VLC 2.2.