|
Hi,
audacity HEAD has three build failures on Ubuntu: 1) commit r11214 leads to an build failure on all Ubuntu version on i386 [1,2]: sms.cpp:89: error: 'malloc' was not declared in this scope sms.cpp:176: error: 'free' was not declared in this scope ... and many more errors in sms.cpp 2) audacity fails to build with FFmpeg 0.5.1 [3]: In file included from AudacityApp.cpp:70: FFmpeg.h: In function 'void av_free_packet(AVPacket*)': FFmpeg.h:764: error: redefinition of 'void av_free_packet(AVPacket*)' /usr/include/libavformat/avformat.h:211: error: 'void av_free_packet(AVPacket*)' previously defined here FFmpeg.h: In function 'int av_fifo_generic_read(AVFifoBuffer*, void*, int, void (*)(void*, void*, int))': FFmpeg.h:775: error: declaration of C function 'int av_fifo_generic_read(AVFifoBuffer*, void*, int, void (*)(void*, void*, int))' conflicts with /usr/include/libavutil/fifo.h:73: error: previous declaration 'int av_fifo_generic_read(AVFifoBuffer*, int, void (*)(void*, void*, int), void*)' here 3) audacity fails to build with FFmpeg/libav 0.7 [4]: 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:4081:7: error: previous declaration 'void* av_fast_realloc(void*, unsigned int*, size_t)' here FFmpeg.h:747:4: error: declaration of C function 'void* av_malloc(unsigned int)' conflicts with /usr/include/libavutil/mem.h:73:7: error: previous declaration 'void* av_malloc(size_t)' here The attached libav-0.7.patch fixes this build failure. You can dig into the daily build logs on: https://code.launchpad.net/~audacity-team/+recipe/daily https://code.launchpad.net/~audacity-team/+recipe/daily.lucid https://code.launchpad.net/~audacity-team/+archive/daily [1] https://launchpadlibrarian.net/74506231/buildlog_ubuntu-natty-i386.audacity_1.3.13%2Bsvn20110703%2Br6820-0~natty1_FAILEDTOBUILD.txt.gz [2] https://launchpadlibrarian.net/74506618/buildlog_ubuntu-maverick-i386.audacity_1.3.13%2Bsvn20110703%2Br6820-0~maverick1_FAILEDTOBUILD.txt.gz [3] https://launchpadlibrarian.net/74506237/buildlog_ubuntu-lucid-amd64.audacity_1.3.13%2Bsvn20110703%2Br6820-0~lucid1_FAILEDTOBUILD.txt.gz [4] https://launchpadlibrarian.net/74506163/buildlog_ubuntu-oneiric-amd64.audacity_1.3.13%2Bsvn20110703%2Br6820-0~oneiric1_FAILEDTOBUILD.txt.gz -- Benjamin Drung Debian & Ubuntu Developer ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ audacity-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/audacity-devel |
|
I'm also getting the build errors "sms.cpp:89: error: 'malloc' was not
declared in this scope ...." Does your attached patch only address 3) audacity fails to build with FFmpeg/libav 0.7 [4]: ? (after applying the patch I'm still getting the same build failure on Ubuntu 10.10 i386) Steve On Mon, Jul 4, 2011 at 9:19 PM, Benjamin Drung <[hidden email]> wrote: > Hi, > > audacity HEAD has three build failures on Ubuntu: > > 1) commit r11214 leads to an build failure on all Ubuntu version on i386 > [1,2]: > > sms.cpp:89: error: 'malloc' was not declared in this scope > sms.cpp:176: error: 'free' was not declared in this scope > > ... and many more errors in sms.cpp > > 2) audacity fails to build with FFmpeg 0.5.1 [3]: > > In file included from AudacityApp.cpp:70: > FFmpeg.h: In function 'void av_free_packet(AVPacket*)': > FFmpeg.h:764: error: redefinition of 'void av_free_packet(AVPacket*)' > /usr/include/libavformat/avformat.h:211: error: 'void av_free_packet(AVPacket*)' previously defined here > FFmpeg.h: In function 'int av_fifo_generic_read(AVFifoBuffer*, void*, int, void (*)(void*, void*, int))': > FFmpeg.h:775: error: declaration of C function 'int av_fifo_generic_read(AVFifoBuffer*, void*, int, void (*)(void*, void*, int))' conflicts with > /usr/include/libavutil/fifo.h:73: error: previous declaration 'int av_fifo_generic_read(AVFifoBuffer*, int, void (*)(void*, void*, int), void*)' here > > 3) audacity fails to build with FFmpeg/libav 0.7 [4]: > > 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:4081:7: error: previous declaration 'void* av_fast_realloc(void*, unsigned int*, size_t)' here > FFmpeg.h:747:4: error: declaration of C function 'void* av_malloc(unsigned int)' conflicts with > /usr/include/libavutil/mem.h:73:7: error: previous declaration 'void* av_malloc(size_t)' here > > The attached libav-0.7.patch fixes this build failure. > > You can dig into the daily build logs on: > > https://code.launchpad.net/~audacity-team/+recipe/daily > https://code.launchpad.net/~audacity-team/+recipe/daily.lucid > https://code.launchpad.net/~audacity-team/+archive/daily > > [1] https://launchpadlibrarian.net/74506231/buildlog_ubuntu-natty-i386.audacity_1.3.13%2Bsvn20110703%2Br6820-0~natty1_FAILEDTOBUILD.txt.gz > [2] https://launchpadlibrarian.net/74506618/buildlog_ubuntu-maverick-i386.audacity_1.3.13%2Bsvn20110703%2Br6820-0~maverick1_FAILEDTOBUILD.txt.gz > [3] https://launchpadlibrarian.net/74506237/buildlog_ubuntu-lucid-amd64.audacity_1.3.13%2Bsvn20110703%2Br6820-0~lucid1_FAILEDTOBUILD.txt.gz > [4] https://launchpadlibrarian.net/74506163/buildlog_ubuntu-oneiric-amd64.audacity_1.3.13%2Bsvn20110703%2Br6820-0~oneiric1_FAILEDTOBUILD.txt.gz > > -- > Benjamin Drung > Debian & Ubuntu Developer > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > audacity-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ audacity-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/audacity-devel |
|
Yes, the attached patch fixes only point 3.
Am Montag, den 04.07.2011, 21:56 +0100 schrieb Steve the Fiddle: > I'm also getting the build errors "sms.cpp:89: error: 'malloc' was not > declared in this scope ...." > Does your attached patch only address 3) audacity fails to build with > FFmpeg/libav 0.7 [4]: ? > (after applying the patch I'm still getting the same build failure on > Ubuntu 10.10 i386) > > Steve > > On Mon, Jul 4, 2011 at 9:19 PM, Benjamin Drung <[hidden email]> wrote: > > Hi, > > > > audacity HEAD has three build failures on Ubuntu: > > > > 1) commit r11214 leads to an build failure on all Ubuntu version on i386 > > [1,2]: > > > > sms.cpp:89: error: 'malloc' was not declared in this scope > > sms.cpp:176: error: 'free' was not declared in this scope > > > > ... and many more errors in sms.cpp > > > > 2) audacity fails to build with FFmpeg 0.5.1 [3]: > > > > In file included from AudacityApp.cpp:70: > > FFmpeg.h: In function 'void av_free_packet(AVPacket*)': > > FFmpeg.h:764: error: redefinition of 'void av_free_packet(AVPacket*)' > > /usr/include/libavformat/avformat.h:211: error: 'void av_free_packet(AVPacket*)' previously defined here > > FFmpeg.h: In function 'int av_fifo_generic_read(AVFifoBuffer*, void*, int, void (*)(void*, void*, int))': > > FFmpeg.h:775: error: declaration of C function 'int av_fifo_generic_read(AVFifoBuffer*, void*, int, void (*)(void*, void*, int))' conflicts with > > /usr/include/libavutil/fifo.h:73: error: previous declaration 'int av_fifo_generic_read(AVFifoBuffer*, int, void (*)(void*, void*, int), void*)' here > > > > 3) audacity fails to build with FFmpeg/libav 0.7 [4]: > > > > 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:4081:7: error: previous declaration 'void* av_fast_realloc(void*, unsigned int*, size_t)' here > > FFmpeg.h:747:4: error: declaration of C function 'void* av_malloc(unsigned int)' conflicts with > > /usr/include/libavutil/mem.h:73:7: error: previous declaration 'void* av_malloc(size_t)' here > > > > The attached libav-0.7.patch fixes this build failure. > > > > You can dig into the daily build logs on: > > > > https://code.launchpad.net/~audacity-team/+recipe/daily > > https://code.launchpad.net/~audacity-team/+recipe/daily.lucid > > https://code.launchpad.net/~audacity-team/+archive/daily > > > > [1] https://launchpadlibrarian.net/74506231/buildlog_ubuntu-natty-i386.audacity_1.3.13%2Bsvn20110703%2Br6820-0~natty1_FAILEDTOBUILD.txt.gz > > [2] https://launchpadlibrarian.net/74506618/buildlog_ubuntu-maverick-i386.audacity_1.3.13%2Bsvn20110703%2Br6820-0~maverick1_FAILEDTOBUILD.txt.gz > > [3] https://launchpadlibrarian.net/74506237/buildlog_ubuntu-lucid-amd64.audacity_1.3.13%2Bsvn20110703%2Br6820-0~lucid1_FAILEDTOBUILD.txt.gz > > [4] https://launchpadlibrarian.net/74506163/buildlog_ubuntu-oneiric-amd64.audacity_1.3.13%2Bsvn20110703%2Br6820-0~oneiric1_FAILEDTOBUILD.txt.gz > > > > -- > > Benjamin Drung > > Debian & Ubuntu Developer > > > > ------------------------------------------------------------------------------ > > All of the data generated in your IT infrastructure is seriously valuable. > > Why? It contains a definitive record of application performance, security > > threats, fraudulent activity, and more. Splunk takes this data and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________ > > audacity-devel mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/audacity-devel > > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > audacity-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/audacity-devel -- Benjamin Drung Debian & Ubuntu Developer ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ audacity-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/audacity-devel |
| Free forum by Nabble | Edit this page |
