Re: [Audacity-devel] r11278 and r1279 do not build on Linux
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Steve t. F. <ste...@gm...> - 2011-10-16 14:51:05
|
Ubuntu 11.10 Audacity svn r11280. I'm still getting a build error: g++ -c -I../lib-src/portmixer/include -Wall -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../lib-src/FileDialog -I/home/steve/sourcecode/audacity/lib-src/lib-widget-extra -I../lib-src/libresample/include -I../lib-src/sbsms/include -I/usr/include/soundtouch -I../lib-src/libnyquist -g -O2 -Wall -I/usr/include/portSMF -pthread -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/local//lib\" -D__STDC_CONSTANT_MACROS -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 Sequence.cpp -o Sequence.o Sequence.cpp: In member function ‘virtual void Sequence::HandleXMLEndTag(const wxChar*)’: Sequence.cpp:875:81: error: cannot pass objects of non-trivially-copyable type ‘class wxString’ through ‘...’ make[1]: *** [Sequence.o] Error 1 make[1]: Leaving directory `/home/steve/sourcecode/audacity/src' make: *** [audacity] Error 2 With Ubuntu 11.10 I'm getting build errors with r11277: g++ -c -I../lib-src/portmixer/include -Wall -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../lib-src/FileDialog -I/home/steve/sourcecode/audacity/lib-src/lib-widget-extra -I../lib-src/sbsms/include -I/usr/include/soundtouch -I../lib-src/libnyquist -g -O2 -Wall -I/usr/include/portSMF -pthread -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/local//lib\" -D__STDC_CONSTANT_MACROS -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 FFmpeg.cpp -o FFmpeg.o In file included from FFmpeg.cpp:21:0: FFmpeg.h:787:4: warning: ‘AVMetadataTag’ is deprecated (declared at /usr/include/libavformat/avformat.h:132) [-Wdeprecated-declarations] FFmpeg.h:787:4: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:41) [-Wdeprecated-declarations] FFmpeg.h:787:4: warning: ‘AVMetadataTag’ is deprecated [-Wdeprecated-declarations] FFmpeg.h:787:4: warning: ‘AVMetadataTag’ is deprecated (declared at /usr/include/libavformat/avformat.h:132) [-Wdeprecated-declarations] FFmpeg.h:787:4: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:41) [-Wdeprecated-declarations] FFmpeg.h:787:4: warning: ‘AVMetadataTag’ is deprecated [-Wdeprecated-declarations] FFmpeg.h:793:4: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:41) [-Wdeprecated-declarations] FFmpeg.h:793:4: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:41) [-Wdeprecated-declarations] FFmpeg.h:799:4: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:41) [-Wdeprecated-declarations] FFmpeg.h:799:4: warning: ‘AVMetadata’ is deprecated (declared at /usr/include/libavutil/dict.h:41) [-Wdeprecated-declarations] FFmpeg.cpp: In function ‘int ufile_fopen(AVIOContext**, const wxString&, int)’: FFmpeg.cpp:275:10: warning: ‘int url_open(URLContext**, const char*, int)’ is deprecated (declared at FFmpeg.h:647) [-Wdeprecated-declarations] FFmpeg.cpp:275:57: warning: ‘int url_open(URLContext**, const char*, int)’ is deprecated (declared at FFmpeg.h:647) [-Wdeprecated-declarations] FFmpeg.cpp:281:10: warning: ‘int url_fdopen(AVIOContext**, URLContext*)’ is deprecated (declared at FFmpeg.h:653) [-Wdeprecated-declarations] FFmpeg.cpp:281:25: warning: ‘int url_fdopen(AVIOContext**, URLContext*)’ is deprecated (declared at FFmpeg.h:653) [-Wdeprecated-declarations] FFmpeg.cpp:283:7: warning: ‘int url_close(URLContext*)’ is deprecated (declared at FFmpeg.h:659) [-Wdeprecated-declarations] FFmpeg.cpp:283:18: warning: ‘int url_close(URLContext*)’ is deprecated (declared at FFmpeg.h:659) [-Wdeprecated-declarations] FFmpeg.cpp: In function ‘int ufile_fopen_input(AVFormatContext**, wxString&)’: FFmpeg.cpp:319:13: error: ‘AVERROR_NOMEM’ was not declared in this scope FFmpeg.cpp:384:13: error: ‘AVERROR_NOFMT’ was not declared in this scope FFmpeg.cpp:389:10: warning: ‘int av_open_input_stream(AVFormatContext**, AVIOContext*, const char*, AVInputFormat*, AVFormatParameters*)’ is deprecated (declared at FFmpeg.h:565) [-Wdeprecated-declarations] FFmpeg.cpp:389:62: warning: ‘int av_open_input_stream(AVFormatContext**, AVIOContext*, const char*, AVInputFormat*, AVFormatParameters*)’ is deprecated (declared at FFmpeg.h:565) [-Wdeprecated-declarations] FFmpeg.cpp: In member function ‘bool FFmpegLibs::InitLibs(wxString, bool)’: FFmpeg.cpp:924:4: warning: ‘int av_register_protocol2(URLProtocol*, int)’ is deprecated (declared at FFmpeg.h:823) [-Wdeprecated-declarations] FFmpeg.cpp:924:65: warning: ‘int av_register_protocol2(URLProtocol*, int)’ is deprecated (declared at FFmpeg.h:823) [-Wdeprecated-declarations] make[1]: *** [FFmpeg.o] Error 1 make[1]: Leaving directory `/home/steve/sourcecode/audacity/src' make: *** [audacity] Error 2 I don't know if it's related, but the repository version of Audacity for Ubuntu 11.10 fails on export when attempting to use FFMpeg. The log shows: 15:44:47: Retrieving FFmpeg library version numbers: 15:44:47: AVCodec version 0x350500 - 53.5.0 (built against 0x350500 - 53.5.0) 15:44:47: AVFormat version 0x350200 - 53.2.0 (built against 0x350200 - 53.2.0) 15:44:47: AVUtil version 0x330700 - 51.7.0 (built against 0x330700 - 51.7.0) 15:46:26: Error: can't open file '/home/steve/Desktop/test.wma' (error 2: No such file or directory) 15:46:26: Error: FFmpeg : ERROR - Can't open output file "/home/steve/Desktop/test.wma" to write. Error code is -2. and the terminal output shows: Buffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2760 Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4537 Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4537 Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4537 (audacity:29391): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/steve/Desktop/test': Error stating file '/home/steve/Desktop/test': No such file or directory Steve On Sun, Oct 16, 2011 at 1:24 AM, Gale (Audacity Team) <ga...@au...> wrote: > r11280 Unicode Release builds fine for me on Ubuntu 10.10 (default > ./configure). > Yes that should be in SVN, of course. Did you make clean then > ./configure; make dep; make. That usually works for me. > > As to FFmpeg, your FFmpeg is too recent. See the yellow panel here: > http://manual.audacityteam.org/man/FAQ:Installation_and_Plug-Ins#linff > > I don't think it's correct at all to suggest that FFmpeg hasn't compiled or > worked > with Audacity on Linux since 2009. A large amount of work was done before > 1.3.13 release in April to make sure Audacity compiled with FFmpeg 0.6.2 > which > was I believe the latest stable release at the time. > > > > > Gale > > > > -- > View this message in context: http://audacity.238276.n2.nabble.com/r11278-and-r1279-do-not-build-on-Linux-tp6890964p6896770.html > Sent from the audacity-devel mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |