#7 libaudiofile related compile failure

closed-invalid
5
2002-08-16
2002-08-11
No

Red Hat 7.3, libaudiofile 0.2.3, installed FOX okay,
etc, but get the following:

make[3]: Entering directory
`/usr/local/tmp/rezound-0.3.0alpha/src/backend'
/bin/sh ../../libtool --mode=compile c++
-DHAVE_CONFIG_H -I. -I. -I../../config -I../../src/misc
-I../../src/misc/cc++
-I../../src/misc/missing/generated
-I../../src/PoolFile -Wall -g -D_GNU_SOURCE
-Wno-unused-function -Wno-unused-variable -Wno-unused
-c ClibaudiofileSoundTranslator.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../config
-I../../src/misc -I../../src/misc/cc++
-I../../src/misc/missing/generated -I../../src/PoolFile
-Wall -g -D_GNU_SOURCE -Wno-unused-function
-Wno-unused-variable -Wno-unused -c
ClibaudiofileSoundTranslator.cpp -o
ClibaudiofileSoundTranslator.o
ClibaudiofileSoundTranslator.cpp:45:10: warning:
#warning LIBAUDIOFILE VERSION IS LESS THAN 0.2.4 AND
SAVING AND LOADING OF CUES AND USER NOTES WILL BE DISABLED
ClibaudiofileSoundTranslator.cpp: In method `void
ClibaudiofileSoundTranslator::loadSoundGivenSetup
(basic_string<char,
string_char_traits<char>,
__default_alloc_template<true, 0> >, CSound
*, _AFfilesetup *) const':
ClibaudiofileSoundTranslator.cpp:94:
`afSetVirtualSampleFormat'
undeclared (first use this function)
ClibaudiofileSoundTranslator.cpp:94: (Each undeclared
identifier is
reported only once for each function it appears in.)
ClibaudiofileSoundTranslator.cpp:218:
`afGetVirtualFrameSize'
undeclared (first use this function)
make[3]: *** [ClibaudiofileSoundTranslator.lo] Error 1
make[3]: Leaving directory
`/usr/local/tmp/rezound-0.3.0alpha/src/backend'

Discussion

  • Davy Durham

    Davy Durham - 2002-08-11

    Logged In: YES
    user_id=28588

    A few possibilities:

    1) you say you're using audiofile 0.2.3, but the those two
    methods, afSetVirtualSampleFormat and afGetVirtualFrameSize,
    should be defined in 0.2.3. Try doing a 'find / -name
    audiofile.h' as root to see if maybe an old version of
    audiofile is being picked up somehow (or you can use the
    'locate audiofile.h' command if available). I'm thinking
    somehow an old version lives maybe in /usr/local from some
    old thing you might have done a long time ago. If this is
    the case and you have to remove it from /usr/local, you'll
    of course, have to rerun configure

    2) view audiofile.h (whereever it is) and check to see if
    those two functions are in there.

    3) if this doesn't work you can get it from
    http://oss.sgi.com/projects/audiofile/
    and try compiling it yourself.... Actually, I've submitted a
    couple of patches to the audiofile cvs maintainer.. one has
    gone in and I'm waiting on the other to be put in. There is
    no 0.2.4 release yet, but these two patches will be in the
    next relelase which is why I check for that.

    But those two patches are applied in the standalone binary
    package that I distribute on the download page, but that
    does sort of defeat the purpose of this alpha stage where
    I'm trying to know of any compile problems.

    Lemme know if you find anything out.

    Thanks

     
  • Davy Durham

    Davy Durham - 2002-08-11
    • assigned_to: nobody --> ddurham
     
  • Walter Francis

    Walter Francis - 2002-08-11

    Logged In: YES
    user_id=560940

    In fact there WAS an old audiofile.h file in
    /usr/local/include, I hadn't thought of that, even though I
    have similar problems often. :( System has been around
    since Red Hat 5.2, and there's a lot of dust bunnies.

    It's compiling right now, and should compile now I expect.
    I also had to remove other includes related to audiofile
    that were old stuff, and removed the old libraries, and it
    compiled.

    Thank you! I've been playing with the static file a bit and
    I like it! I've been looking forever for a sound editor I like.

     
  • Walter Francis

    Walter Francis - 2002-08-11
    • status: open --> closed-accepted
     
  • Davy Durham

    Davy Durham - 2002-08-16
    • status: closed-accepted --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks