Hi,
I rebuild vcr 1.09-11 with avifile 0.7.29-20030204 [Debian,sid].
But, failed to build vcr with below messages:
----
make all-recursive
make[1]: Entering directory `/var/src/vcr-1.09'
Making all in src
make[2]: Entering directory `/var/src/vcr-1.09/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/avifile -O2 -c main.cc
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
from main.cc:19:
/usr/include/c++/3.2/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.
In file included from main.cc:22:
vcr.h:17:4: #error "Read the README, section 2 & 3 about avifile-0.6 and follow the
instructions."
In file included from /usr/include/avifile/avm_default.h:7,
from /usr/include/avifile/formats.h:11,
from /usr/include/avifile/creators.h:4,
from main.cc:25:
/usr/include/avifile/config.h:262:1: warning: "PACKAGE" redefined
In file included from config.h:2,
from vcr.h:10,
from main.cc:22:
../config.h:70:1: warning: this is the location of the previous definition
In file included from /usr/include/avifile/avm_default.h:7,
from /usr/include/avifile/formats.h:11,
from /usr/include/avifile/creators.h:4,
from main.cc:25:
/usr/include/avifile/config.h:317:1: warning: "VERSION" redefined
In file included from config.h:2,
from vcr.h:10,
from main.cc:22:
../config.h:73:1: warning: this is the location of the previous definition
In file included from config.h:2,
from v4lxif.h:27,
from capproc.h:5,
from main.cc:34:
../config.h:70:1: warning: "PACKAGE" redefined
In file included from /usr/include/avifile/avm_default.h:7,
from /usr/include/avifile/formats.h:11,
from /usr/include/avifile/creators.h:4,
from main.cc:25:
/usr/include/avifile/config.h:262:1: warning: this is the location of the previous
definition
In file included from config.h:2,
from v4lxif.h:27,
from capproc.h:5,
from main.cc:34:
../config.h:73:1: warning: "VERSION" redefined
In file included from /usr/include/avifile/avm_default.h:7,
from /usr/include/avifile/formats.h:11,
from /usr/include/avifile/creators.h:4,
from main.cc:25:
/usr/include/avifile/config.h:317:1: warning: this is the location of the previous
definition
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/c++/3.2/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:560: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& =
avm::AttributeInfo*' operator
/usr/include/c++/3.2/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:560: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& !=
avm::AttributeInfo*' operator
main.cc:594: no match for `__gnu_cxx::__normal_iterator<const avm::string*,
std::vector<avm::string, std::allocator<avm::string> > >& = const
avm::string*' operator
/usr/include/c++/3.2/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:594: no match for `__gnu_cxx::__normal_iterator<const avm::string*,
std::vector<avm::string, std::allocator<avm::string> > >& != const
avm::string*' operator
main.cc:604: no matching function for call to `GetCodecAttr(avm::CodecInfo&,
const char*, char[256], int)'
/usr/include/avifile/creators.h:124: candidates are: int
Creators::GetCodecAttr(const CodecInfo&, const char*, int&)
/usr/include/avifile/creators.h:132: int
Creators::GetCodecAttr(const CodecInfo&, const char*, const char**)
main.cc: In function `int is_valid_codec(const char*)':
main.cc:810: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*'
operator
/usr/include/c++/3.2/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:810: 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:1009: no match for `__gnu_cxx::__normal_iterator<CodecInfo*,
std::vector<CodecInfo, std::allocator<CodecInfo> > >& = avm::CodecInfo*'
operator
/usr/include/c++/3.2/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:1009: 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:1037: no match for `__gnu_cxx::__normal_iterator<const AttributeInfo*,
std::vector<AttributeInfo, std::allocator<AttributeInfo> > >& =
avm::AttributeInfo*' operator
/usr/include/c++/3.2/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:1037: 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]: Leaving directory `/var/src/vcr-1.09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/src/vcr-1.09'
make: *** [all-recursive-am] Error 2
---
What's wrong?
Did change structure of vector<AttributeInfo> at avifile from older one?
Regards,
ChanChan.
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile