Results 1 to 4 of 4

Thread: [Audiere] audiere.h:1535: error: 'strlen' was not declared in this scope

  1. #1
    Join Date
    Feb 2008
    Beans
    183
    Distro
    Ubuntu 12.04 Precise Pangolin

    [Audiere] audiere.h:1535: error: 'strlen' was not declared in this scope

    Hi folks,

    different python module for playing audio similar problem. This time pyAudiere (sorry for sounding a little bored by this, but I had not much success of late)

    Ok, I am trying to install Audiere which doesnt work.

    I download the dependencies (libaudiere), then I extract the tarball download from their website.

    then I followed a procedure from this website because that was the only one I could find (documentation is a little sparse in that compartment unfortunately)

    from the terminal I write

    Code:
    ./configure
    which works fine

    then I try

    Code:
    make
    which gives me this error

    Code:
    nebelhom@nebelhom-desktop:~/audiere-1.9.4$ make
    make  all-recursive
    make[1]: Entering directory `/home/nebelhom/audiere-1.9.4'
    Making all in doc
    make[2]: Entering directory `/home/nebelhom/audiere-1.9.4/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/nebelhom/audiere-1.9.4/doc'
    Making all in src
    make[2]: Entering directory `/home/nebelhom/audiere-1.9.4/src'
    Making all in mpaudec
    make[3]: Entering directory `/home/nebelhom/audiere-1.9.4/src/mpaudec'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/nebelhom/audiere-1.9.4/src/mpaudec'
    make[3]: Entering directory `/home/nebelhom/audiere-1.9.4/src'
    if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"audiere\" -DVERSION=\"1.9.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DNO_FLAC=1 -DHAVE_CLOCK_GETTIME=1 -DSTDC_HEADERS=1 -DHAVE_OSS=1 -DNO_SPEEX=1  -I. -I.     -g -O2 -Wall -Wno-non-virtual-dtor -MT midi_null.lo -MD -MP -MF ".deps/midi_null.Tpo" -c -o midi_null.lo midi_null.cpp; \
    	then mv -f ".deps/midi_null.Tpo" ".deps/midi_null.Plo"; else rm -f ".deps/midi_null.Tpo"; exit 1; fi
     g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"audiere\" -DVERSION=\"1.9.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DNO_FLAC=1 -DHAVE_CLOCK_GETTIME=1 -DSTDC_HEADERS=1 -DHAVE_OSS=1 -DNO_SPEEX=1 -I. -I. -g -O2 -Wall -Wno-non-virtual-dtor -MT midi_null.lo -MD -MP -MF .deps/midi_null.Tpo -c midi_null.cpp  -fPIC -DPIC -o .libs/midi_null.o
    In file included from midi_null.cpp:1:
    audiere.h: In function 'void audiere::SplitString(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, const char*, char)':
    audiere.h:1148: error: 'strchr' was not declared in this scope
    audiere.h: In function 'void audiere::GetSupportedFileFormats(std::vector<audiere::FileFormatDesc, std::allocator<audiere::FileFormatDesc> >&)':
    audiere.h:1177: error: 'strchr' was not declared in this scope
    audiere.h: In function 'void audiere::EnumerateCDDevices(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':
    audiere.h:1535: error: 'strlen' was not declared in this scope
    make[3]: *** [midi_null.lo] Error 1
    make[3]: Leaving directory `/home/nebelhom/audiere-1.9.4/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/nebelhom/audiere-1.9.4/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/nebelhom/audiere-1.9.4'
    make: *** [all] Error 2
    If anyone of you has any idea what this could mean and knows a fix, I would be very grateful. it is driving me insane, that I cannot install any of these modules (PyMedia was before). they are not in synaptic so I am a bit at a loss and I have hardly any experience with installations from source... ;(

  2. #2
    Join Date
    Feb 2008
    Beans
    183
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [Audiere] audiere.h:1535: error: 'strlen' was not declared in this scope

    hmmm, could someone maybe move this to multimedia please? I think it is better suited there.

    I only read installation and didn't think what I was trying to install

    Thanks

  3. #3
    Join Date
    Oct 2005
    Location
    United Kingdom
    Beans
    4,848

    Re: [Audiere] audiere.h:1535: error: 'strlen' was not declared in this scope

    *moves*
    Every time you install Jaunty, a kitten........ wait sorry what year is this again?
    Please don't PM support questions, post a thread so that everyone can benefit
    Join us in #ubuntuforums on irc.freenode.net

  4. #4
    Join Date
    Feb 2008
    Beans
    183
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [Audiere] audiere.h:1535: error: 'strlen' was not declared in this scope

    Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •