Audacity fails to build on Ubuntu 11.10 (oneiric)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Audacity fails to build on Ubuntu 11.10 (oneiric)

Benjamin Drung-2
Hi,

Audacity trunk fails to build on Ubuntu 11.10 (oneiric):

g++ -c -g -O2 -I../lib-src/portmixer/include -g -O2  -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/build/buildd/audacity-1.3.13+svn20110522
+r6789/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/lib\" -D__STDC_CONSTANT_MACROS   -Wall
-pthread -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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/pixman-1     AudacityApp.cpp
-o AudacityApp.o
In file included from AudacityApp.cpp:70:0:
FFmpeg.h: In function 'void* av_fast_realloc(void*, unsigned int*,
unsigned int)':
FFmpeg.h:559:4: error: declaration of C function 'void*
av_fast_realloc(void*, unsigned int*, unsigned int)' conflicts with
/usr/include/libavcodec/avcodec.h:4213:7: error: previous declaration
'void* av_fast_realloc(void*, unsigned int*, size_t)' here
FFmpeg.h: In function 'void* av_malloc(unsigned int)':
FFmpeg.h:747:4: error: declaration of C function 'void*
av_malloc(unsigned int)' conflicts with
/usr/include/libavutil/mem.h:81:7: error: previous declaration 'void*
av_malloc(size_t)' here
make[2]: *** [AudacityApp.o] Error 1

Ubuntu 11.10 (oneiric) uses GCC 4.6. The full build log [1,2].

BTW, audacity still fails on Ubuntu 11.04 due to the older FFmpeg [3].

[1] https://launchpadlibrarian.net/72227926/buildlog_ubuntu-oneiric-amd64.audacity_1.3.13%2Bsvn20110522%2Br6789-0~oneiric1_FAILEDTOBUILD.txt.gz
[2] https://launchpadlibrarian.net/72227971/buildlog_ubuntu-oneiric-i386.audacity_1.3.13%2Bsvn20110522%2Br6789-0~oneiric1_FAILEDTOBUILD.txt.gz
[3] https://code.launchpad.net/~audacity-team/+archive/daily/+build/2519743/+files/buildlog_ubuntu-lucid-amd64.audacity_1.3.13%2Bsvn20110522%2Br6789-0%7Elucid1_FAILEDTOBUILD.txt.gz

--
Benjamin Drung
Debian & Ubuntu Developer

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
audacity-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-devel

signature.asc (853 bytes) Download Attachment