The following errors is captured when emerging: make[1]: Entering directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09' Making all in src make[2]: Entering directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09/src' c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c main.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c v4lxif.cc In file included from /usr/include/g++-v32/backward/iostream.h:31, from main.cc:19: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c dsp.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c capproc.cc In file included from /usr/include/g++-v32/backward/strstream:51, from capproc.h:3, from capproc.cc:1: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. main.cc: In function `void list_codecs()': main.cc:508: no match for `__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*' operator /usr/include/g++-v32/bits/stl_iterator.h:571: candidates are: __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >&) main.cc:508: no match for `__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& != avm::CodecInfo*' operator main.cc: In function `void list_attributes(int)': main.cc:556: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& = avm::AttributeInfo*' operator /usr/include/g++-v32/bits/stl_iterator.h:571: candidates are: __gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& __gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >::operator=(const __gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >&) main.cc:556: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& != avm::AttributeInfo*' operator main.cc:590: no match for `__gnu_cxx::__normal_iterator<const avm::string*, std::vector<avm::string, std::allocator<avm::string> > >& = const avm::string*' operator /usr/include/g++-v32/bits/stl_iterator.h:571: candidates are: __gnu_cxx::__normal_iterator<const avm::string*, std::vector<avm::string, std::allocator<avm::string> > >& __gnu_cxx::__normal_iterator<const avm::string*, std::vector<avm::string, std::allocator<avm::string> > >::operator=(const __gnu_cxx::__normal_iterator<const avm::string*, std::vector<avm::string, std::allocator<avm::string> > >&) main.cc:590: no match for `__gnu_cxx::__normal_iterator<const avm::string*, std::vector<avm::string, std::allocator<avm::string> > >& != const avm::string*' operator main.cc: In function `int is_valid_codec(const char*)': main.cc:806: no match for `__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*' operator /usr/include/g++-v32/bits/stl_iterator.h:571: candidates are: __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >&) main.cc:806: no match for `__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& != avm::CodecInfo*' operator main.cc: In function `int get_codec_index(int)': main.cc:1010: no match for `__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*' operator /usr/include/g++-v32/bits/stl_iterator.h:571: candidates are: __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >::operator=(const __gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >&) main.cc:1010: no match for `__gnu_cxx::__normal_iterator<CodecInfo*, std::vector<CodecInfo, std::allocator<CodecInfo> > >& != avm::CodecInfo*' operator main.cc: In function `short int set_attribute(int, const char*, const char*)': main.cc:1035: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& = avm::AttributeInfo*' operator /usr/include/g++-v32/bits/stl_iterator.h:571: candidates are: __gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& __gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >::operator=(const __gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >&) main.cc:1035: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*, std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& != avm::AttributeInfo*' operator make[2]: *** [main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/vcr-1.09-r1/work/vcr-1.09' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -153, Exitcode 2 !!! emake died
I have created vcr-1.09-r2 and added it to portage. I spent some time and cleaned up the c++ code to get rid of compile errors. Please test the changes and let me know if you have a usable build of vcr.
I have gotten verification of vcr building on gcc3 and gcc2 systems. :)