Compile flac on Centos

Discussion in 'Programming' started by Kaizoku, Jan 8, 2008.

  1. #1
    I keep getting this error, please help

    
    ./configure --prefix=/usr/local/enctools --with-ogg=/usr/local/enctools
    make
    
    Code (markup):
    
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.h:1852: error: invalid use of undefined type `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:863: error: invalid use of undefined type `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:879: error: invalid use of undefined type `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:911: error: invalid use of undefined type `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:928: error: invalid use of undefined type `struct std::allocator<char>'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocator<char>'
    make[3]: *** [stream_decoder.lo] Error 1
    make[3]: Leaving directory `/temp/flac-1.2.1/src/libFLAC++'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/temp/flac-1.2.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/temp/flac-1.2.1'
    make: *** [all] Error 2
    
    Code (markup):

     
    Kaizoku, Jan 8, 2008 IP