can't build 2.0.6
Posted: Sun Nov 16, 2014 10:02 pm
Hi, my OS is an an up-to-date ArchLinux.
I just tried to build Audacity 2.0.6 from the last version available :
Any help would be appreciated !
suizokukan
I just tried to build Audacity 2.0.6 from the last version available :
wxgtk is installed on my system.svn checkout http://audacity.googlecode.com/svn/audacity-src/trunk/ audacity
is ok but after the./configure
command I got the following error message :make
Before digging into the code, I wanted to ask first : any idea of what's going on ?In file included from AudacityApp.cpp:72:0:
FFmpeg.h: In function ‘AVOutputFormat* av_oformat_next(AVOutputFormat*)’:
FFmpeg.h:691:25: erreur: conflicting declaration of C function ‘AVOutputFormat* av_oformat_next(AVOutputFormat*)’
(AVOutputFormat *f),
^
FFmpeg.h:485:18: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’
inline r n a
^
In file included from FFmpeg.h:44:0,
from AudacityApp.cpp:72:
/usr/include/libavformat/avformat.h:1800:17: note: previous declaration ‘AVOutputFormat* av_oformat_next(const AVOutputFormat*)’
AVOutputFormat *av_oformat_next(const AVOutputFormat *f);
^
In file included from AudacityApp.cpp:72:0:
FFmpeg.h: In function ‘int av_fifo_size(AVFifoBuffer*)’:
FFmpeg.h:758:23: erreur: conflicting declaration of C function ‘int av_fifo_size(AVFifoBuffer*)’
(AVFifoBuffer *f),
^
FFmpeg.h:485:18: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’
inline r n a
^
In file included from FFmpeg.h:45:0,
from AudacityApp.cpp:72:
/usr/include/libavutil/fifo.h:76:5: note: previous declaration ‘int av_fifo_size(const AVFifoBuffer*)’
int av_fifo_size(FF_CONST_AVUTIL53 AVFifoBuffer *f);
^
In file included from AudacityApp.cpp:72:0:
FFmpeg.h: In function ‘AVDictionaryEntry* av_dict_get(AVDictionary*, const char*, const AVDictionaryEntry*, int)’:
FFmpeg.h:804:82: erreur: conflicting declaration of C function ‘AVDictionaryEntry* av_dict_get(AVDictionary*, const char*, const AVDictionaryEntry*, int)’
(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags),
^
FFmpeg.h:485:18: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’
inline r n a
^
In file included from /usr/include/libavcodec/avcodec.h:37:0,
from FFmpeg.h:43,
from AudacityApp.cpp:72:
/usr/include/libavutil/dict.h:104:20: note: previous declaration ‘AVDictionaryEntry* av_dict_get(const AVDictionary*, const char*, const AVDictionaryEntry*, int)’
AVDictionaryEntry *av_dict_get(FF_CONST_AVUTIL53 AVDictionary *m, const char *key,
^
In file included from AudacityApp.cpp:93:0:
widgets/ErrorDialog.h: In constructor ‘HtmlTextHelpDialog::HtmlTextHelpDialog()’:
widgets/ErrorDialog.h:49:23: attention : ‘virtual void wxWindowBase::MakeModal(bool)’ is deprecated (declared at /usr/include/wx-3.0/wx/window.h:688) [-Wdeprecated-declarations]
MakeModal( true );
^
widgets/ErrorDialog.h: In destructor ‘virtual HtmlTextHelpDialog::~HtmlTextHelpDialog()’:
widgets/ErrorDialog.h:53:24: attention : ‘virtual void wxWindowBase::MakeModal(bool)’ is deprecated (declared at /usr/include/wx-3.0/wx/window.h:688) [-Wdeprecated-declarations]
MakeModal( false );
^
In file included from AudacityApp.cpp:201:0:
../images/AudacityLogoWithName.xpm: At global scope:
../images/AudacityLogoWithName.xpm:2:21: attention : ‘AudacityLogoWithName_xpm’ defined but not used [-Wunused-variable]
static const char * AudacityLogoWithName_xpm[] = {
^
AudacityApp.cpp:213:13: attention : ‘void wxOnAssert(const wxChar*, int, const wxChar*)’ defined but not used [-Wunused-function]
static void wxOnAssert(const wxChar *fileName, int lineNumber, const wxChar *msg)
Any help would be appreciated !
suizokukan