just tried to build opendivx from cvs with gcc-3.1

-- 
Roger
-----
Verify my pgp/gnupg signature on my HomePage:
http://www.alltel.net/~rogerx/about/index.html



build log:

make[1]: Entering directory `/home/roger/src/avifile/cvs/opendivx'
/bin/sh ./libtool --mode=compile c++ -DHAVE_DLFCN_H=1
-DHAVE_LIBDIVXDECORE=1 -DHAVE_LIBDIVXENCORE=1 -DHAVE_DECORE_H=1
-DHAVE_ENCORE2_H=1  -I. -I.      -g -DLINUX -I/usr/include/avifile -g
-DLINUX -DPROFILING -IAPI  -c opendivx.cpp
c++ -DHAVE_DLFCN_H=1 -DHAVE_LIBDIVXDECORE=1 -DHAVE_LIBDIVXENCORE=1
-DHAVE_DECORE_H=1 -DHAVE_ENCORE2_H=1 -I. -I. -g -DLINUX
-I/usr/include/avifile -g -DLINUX -DPROFILING -IAPI
-Wp,-MD,.deps/opendivx.pp -c opendivx.cpp  -fPIC -DPIC -o opendivx.lo
In file included from opendivx.cpp:9:
API/plugin.h:3: conflicting types for `struct IVideoDecoder'
/usr/include/avifile/videodecoder.h:145: previous declaration as
`typedef class avm::IVideoDecoder IVideoDecoder'
API/plugin.h:4: conflicting types for `struct IVideoEncoder'
/usr/include/avifile/videoencoder.h:85: previous declaration as `typedef
class avm::IVideoEncoder IVideoEncoder'
opendivx.cpp:35: 'string' is used as a type, but is not defined as a
type.
opendivx.cpp:252: conflicting return type specified for `virtual HRESULT
DIVX_VideoDecoder::SetValue(const char*, int)'
/usr/include/avifile/image.h:221:   overriding `virtual int
avm::IRtConfig::SetValue(const char*, int)'
opendivx.cpp: In constructor `DIVX_VideoDecoder::DIVX_VideoDecoder(const
CodecInfo&, const BITMAPINFOHEADER&, int)':
opendivx.cpp:67: `m_obh' undeclared (first use this function)
opendivx.cpp:67: (Each undeclared identifier is reported only once for
each function it appears in.)
opendivx.cpp:70: `m_decoder' undeclared (first use this function)
opendivx.cpp: In member function `virtual int
DIVX_VideoDecoder::DecodeInternal(void*, unsigned int, int, CImage*)':
opendivx.cpp:162: `m_fQuality' undeclared (first use this function)
opendivx.cpp:164: `m_Mode' undeclared (first use this function)
opendivx.cpp:164: `REALTIME_QUALITY_AUTO' is not a member of type
`avm::IVideoDecoder'
opendivx.cpp:168: `m_iDecpos' undeclared (first use this function)
opendivx.cpp:168: `m_iPlaypos' undeclared (first use this function)
opendivx.cpp:171: `QMARKLO' undeclared (first use this function)
opendivx.cpp: At global scope:
opendivx.cpp:305: conflicting return type specified for `virtual void
DIVX_VideoEncoder::Start()'
/usr/include/avifile/videoencoder.h:65:   overriding `virtual int
avm::IVideoEncoder::Start()'
opendivx.cpp:336: conflicting return type specified for `virtual void
DIVX_VideoEncoder::Stop()'
/usr/include/avifile/videoencoder.h:66:   overriding `virtual int
avm::IVideoEncoder::Stop()'
opendivx.cpp: In constructor `DIVX_VideoEncoder::DIVX_VideoEncoder(const
CodecInfo&, int, const BITMAPINFOHEADER&)':
opendivx.cpp:279: `error' undeclared (first use this function)
opendivx.cpp: At global scope:
opendivx.cpp:403: syntax error before `;' token
opendivx.cpp:405: syntax error before `&' token
opendivx.cpp:410: syntax error before `.' token
opendivx.cpp:413: 'vector' is used as a type, but is not defined as a
type.
opendivx.cpp:414: syntax error before `.' token
opendivx.cpp:416: syntax error before `.' token
opendivx.cpp:418: syntax error before `.' token
opendivx.cpp:420: syntax error before `.' token
opendivx.cpp:422: syntax error before `.' token
opendivx.cpp:424: syntax error before `.' token
opendivx.cpp:429: syntax error before `.' token
opendivx.cpp: In function `IVideoEncoder* CreateVideoEncoder(const
CodecInfo&, unsigned int, const BITMAPINFOHEADER&)':
opendivx.cpp:438: declaration of C function `IVideoEncoder*
CreateVideoEncoder(const CodecInfo&, unsigned int, const
BITMAPINFOHEADER&)' conflicts with
API/plugin.h:43: previous declaration `IVideoEncoder*
CreateVideoEncoder(const CodecInfo&, int, const BITMAPINFOHEADER&)' here
opendivx.cpp: In function `IVideoEncoder* CreateVideoEncoder(const
CodecInfo&, unsigned int, const BITMAPINFOHEADER&)':
opendivx.cpp:440: cannot allocate an object of type `DIVX_VideoEncoder'
opendivx.cpp:440:   because the following virtual functions are
abstract:
/usr/include/avifile/videoencoder.h:60:         virtual int
avm::IVideoEncoder::EncodeFrame(const CImage*, void*, int*, uint_t*,
int* = 0)
/usr/include/avifile/videoencoder.h:62:         virtual const BITMAPINFOHEADER&
avm::IVideoEncoder::GetOutputFormat() const
/usr/include/avifile/videoencoder.h:63:         virtual int
avm::IVideoEncoder::GetOutputSize() const
opendivx.cpp: In function `IVideoDecoder* CreateVideoDecoder(const
CodecInfo&, const BITMAPINFOHEADER&, int)':
opendivx.cpp:447: cannot allocate an object of type `DIVX_VideoDecoder'
opendivx.cpp:447:   because the following virtual functions are
abstract:
/usr/include/avifile/image.h:217:       virtual int
avm::IRtConfig::GetValue(const char*, int&) const
/usr/include/avifile/videodecoder.h:118:        virtual int
avm::IVideoDecoder::DecodeFrame(CImage*, const void*, unsigned int, int,
bool = true)
opendivx.cpp: At global scope:
opendivx.cpp:451: parse error before `)' token
make[1]: *** [opendivx.lo] Error 1
make[1]: Leaving directory `/home/roger/src/avifile/cvs/opendivx'
make: *** [all-recursive] Error 1

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to