Rev r11212 Error on make

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
babarosa
Posts: 4
Joined: Sun Jun 12, 2011 11:41 am
Operating System: Please select

Rev r11212 Error on make

Post by babarosa » Tue Jun 28, 2011 5:19 am

Hi there,

rev r11210 compiled fine on my Xubuntu 10.04.2 32bit system. Today's rev r11212 stops the "make"-process with the following lines:

FFmpeg.o
In file included from FFmpeg.cpp:21:
FFmpeg.h:787: warning: ‘AVMetadataTag’ is deprecated (declared at /usr/include/libavformat/avformat.h:125)
FFmpeg.h:787: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:40)
FFmpeg.h:787: warning: ‘AVMetadataTag’ is deprecated
FFmpeg.h:787: warning: ‘AVMetadataTag’ is deprecated (declared at /usr/include/libavformat/avformat.h:125)
FFmpeg.h:787: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:40)
FFmpeg.h:787: warning: ‘AVMetadataTag’ is deprecated
FFmpeg.h:793: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:40)
FFmpeg.h:793: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:40)
FFmpeg.h:799: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:40)
FFmpeg.h:799: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:40)
FFmpeg.cpp: In function ‘int ufile_fopen(AVIOContext**, const wxString&, int)’:
FFmpeg.cpp:275: warning: ‘int url_open(URLContext**, const char*, int)’ is deprecated (declared at FFmpeg.h:647)
FFmpeg.cpp:275: warning: ‘int url_open(URLContext**, const char*, int)’ is deprecated (declared at FFmpeg.h:647)
FFmpeg.cpp:281: warning: ‘int url_fdopen(AVIOContext**, URLContext*)’ is deprecated (declared at FFmpeg.h:653)
FFmpeg.cpp:281: warning: ‘int url_fdopen(AVIOContext**, URLContext*)’ is deprecated (declared at FFmpeg.h:653)
FFmpeg.cpp:283: warning: ‘int url_close(URLContext*)’ is deprecated (declared at FFmpeg.h:659)
FFmpeg.cpp:283: warning: ‘int url_close(URLContext*)’ is deprecated (declared at FFmpeg.h:659)
FFmpeg.cpp: In function ‘int ufile_fopen_input(AVFormatContext**, wxString&)’:
FFmpeg.cpp:319: error: ‘AVERROR_NOMEM’ was not declared in this scope
FFmpeg.cpp:384: error: ‘AVERROR_NOFMT’ was not declared in this scope
FFmpeg.cpp:389: warning: ‘int av_open_input_stream(AVFormatContext**, AVIOContext*, const char*, AVInputFormat*, AVFormatParameters*)’ is deprecated (declared at FFmpeg.h:565)
FFmpeg.cpp:389: warning: ‘int av_open_input_stream(AVFormatContext**, AVIOContext*, const char*, AVInputFormat*, AVFormatParameters*)’ is deprecated (declared at FFmpeg.h:565)
FFmpeg.cpp: In member function ‘bool FFmpegLibs::InitLibs(wxString, bool)’:
FFmpeg.cpp:924: warning: ‘int av_register_protocol2(URLProtocol*, int)’ is deprecated (declared at FFmpeg.h:823)
FFmpeg.cpp:924: warning: ‘int av_register_protocol2(URLProtocol*, int)’ is deprecated (declared at FFmpeg.h:823)
make[1]: *** [FFmpeg.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/babarosa/audacity-read-only/src'
make: *** [audacity] Fehler 2

I updated ffmpeg yesterday from 4:0.7 to 4:0.8 from here "https://launchpad.net/~jon-severinsson/+archive/ffmpeg", so this could be responsable too for the error message ;)

It is intended for your information, maybe someone has got a clue.

Cheers, Michael

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Rev r11212 Error on make

Post by Edgar » Tue Jun 28, 2011 5:09 pm

This is from a reply to a similar post a few weeks ago, it may or may not apply to your situation:
Edgar wrote:BTW, you might also have a hard time building Audacity because the current SVN HEAD fails to build on some systems (and has failed for about 2 months):
http://audacity.238276.n2.nabble.com/Au ... 96491.html

check out:
http://forum.audacityteam.org/viewtopic ... 19&t=41848
for details on getting a SVN version which will compile if you run into problems.
Fixes for this stuff are known, but it seems the Audacity code and Ubuntu still need a few common burrs filed down before all will be good.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Rev r11212 Error on make

Post by Gale Andrews » Tue Jun 28, 2011 10:45 pm

babarosa wrote:rev r11210 compiled fine on my Xubuntu 10.04.2 32bit system. Today's rev r11212 stops the "make"-process ... I updated ffmpeg yesterday from 4:0.7 to 4:0.8 from here "https://launchpad.net/~jon-severinsson/+archive/ffmpeg", so this could be responsable too for the error message ;)
I think the issue stopping Audacity HEAD compiling on (x)ubuntu 10.04 is if the FFmpeg version is the old 0.5.

The changes between 11210 and 11212 would not create the errors you see, so I suggest going back to FFmpeg 4:0.7. Audacity HEAD does not officially support FFmpeg > 0.6.2 - anything later may or may not break compilation of Audacity.



Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

babarosa
Posts: 4
Joined: Sun Jun 12, 2011 11:41 am
Operating System: Please select

Re: Rev r11212 Error on make

Post by babarosa » Wed Jun 29, 2011 12:21 am

Thanks for the answers,

@ Gale Andrews
You are right, after going back to ffmpeg 4:0.7 Audacity's latest svn compiles fine again 8-)

Now I have to find a solution to get rid of the colour-corrupted screencasts produced with ffmpeg 4:0.7, which worked fine with ffmpeg 4:0.8 :lol:

Greetings, Michael

Post Reply