Hi there.
I'm having compile problems with avifile-0.6.0. Notice how I'm leaving
the revision off the end? That's because all three that are linked off
the webpage are broken. Here's the output of the compiles, from oldest
to newest.
/avifile-0.6.0.20010831
--
Making all in libdivx4
make[2]: Entering directory
`/tmp/avifile-0.6.0.20010831/plugins/libdivx4'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H
-I. -I. -I../../include -Wall -Wno-unused -I../../include -g
-DLINUX -c divx4.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused
-I../../include -g -DLINUX -Wp,-MD,.deps/divx4.pp -c divx4.cpp -fPIC
-DPIC -o divx4.lo
divx4.cpp: In method `void DIVX_VideoDecoder::StartInternal()':
divx4.cpp:109: `struct DEC_PARAM' has no member named `output_format'
divx4.cpp:109: `DEC_RGB555' undeclared (first use this function)
divx4.cpp:109: (Each undeclared identifier is reported only once
divx4.cpp:109: for each function it appears in.)
divx4.cpp:109: `DEC_RGB555_INV' undeclared (first use this function)
divx4.cpp:114: `struct DEC_PARAM' has no member named `output_format'
divx4.cpp:114: confused by earlier errors, bailing out
make[2]: *** [divx4.lo] Error 1
make[2]: Leaving directory
`/tmp/avifile-0.6.0.20010831/plugins/libdivx4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/avifile-0.6.0.20010831/plugins'
make: *** [all-recursive] Error 1
--
avifile-0.6.0.20010928
--
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include
-I../common -Wall -Wno-unused -g -O2 -march=i686 -pipe -c
AviReadStreamA.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../common -Wall
-Wno-unused -g -O2 -march=i686 -pipe -Wp,-MD,.deps/AviReadStreamA.pp
-c AviReadStreamA.cpp -fPIC -DPIC -o AviReadStreamA.lo
AviReadStreamA.cpp:90: default argument given for parameter 1 of
`double AviReadStreamA::GetTime(framepos_t = 0ffffffff) const'
AviReadStreamA.h:18: after previous specification in `double
AviReadStreamA::GetTime(framepos_t = AviStream::ERR) const'
make[2]: *** [AviReadStreamA.lo] Error 1
make[2]: Leaving directory `/tmp/avifile-0.6.0.20010928/lib/aviread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/avifile-0.6.0.20010928/lib'
make: *** [all-recursive] Error 1
--
avifile-0.6.0.20011003
--
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../../include -I/usr/X11R6/include
-I/usr/local/stow/SDL-1.1.8/include
-I/usr/local/stow/SDL-1.1.8/include/SDL -D_REENTRANT -Wall -Wno-unused
-I../subtitles -g -O2 -march=i686 -pipe -c -o aviplay.lo `test -f
aviplay.cpp || echo './'`aviplay.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/X11R6/include
-I/usr/local/stow/SDL-1.1.8/include
-I/usr/local/stow/SDL-1.1.8/include/SDL -D_REENTRANT -Wall -Wno-unused
-I../subtitles -g -O2 -march=i686 -pipe -c aviplay.cpp
-Wp,-MD,.deps/aviplay.TPlo -fPIC -DPIC -o aviplay.lo
In file included from ../../include/infotypes.h:4,
from ../../include/aviplay.h:11,
from aviplay_impl.h:4,
from aviplay.cpp:8:
../../include/default.h:100: syntax error before `<'
../../include/default.h:101: syntax error at null character
../../include/default.h:101: non-member function `operator [](int)'
cannot have `const' method qualifier
../../include/default.h:101: `operator [](int)' must be a nonstatic
member function
../../include/default.h:101: `operator [](int)' must take exactly two
arguments
../../include/default.h: In function `int & operator [](int)':
../../include/default.h:101: warning: return-type defaults to `int'
../../include/default.h:101: `m_Type' undeclared (first use this
function)
../../include/default.h:101: (Each undeclared identifier is reported
only once
../../include/default.h:101: for each function it appears in.)
../../include/default.h:101: warning: control reaches end of non-void
function `operator [](int)'
../../include/default.h: At top level:
../../include/default.h:103: parse error before `&'
../../include/default.h: In function `void push_back(...)':
../../include/default.h:105: `m_uiSize' undeclared (first use this
function)
../../include/default.h:105: `m_uiAlloc' undeclared (first use this
function)
../../include/default.h:107: confused by earlier errors, bailing out
cpp: output pipe has been closed
make[2]: *** [aviplay.lo] Error 1
make[2]: Leaving directory `/tmp/avifile-0.6.0.20011003/lib/aviplay'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/avifile-0.6.0.20011003/lib'
make: *** [all-recursive] Error 1
--
So, there you have it.
Do you have any advice, patches, what have you?
Here's my gcc info:
17:29:42\#624\ionicera/tmp/avifile-0.6.0.20011003$ gcc --version
egcs-2.91.66
I'm running kernel 2.4.10, which, incidentally, caused my last
installation of Xtheater to not work, which is why I'm rebuilding
everything.
I admit to loathing c++, so I'm somewhat unwilling to wry and actually
debug it. You've certainly got my respect, programming in that
language. :)
In any case, thanks for your help.
JS
======================= [EMAIL PROTECTED] ======================
Jan Sacharuk Member in Good Standing of The Discordian Solidarity
Turn on viewing of the X-Geek-Code header to see my Geek Code
-----------------------------------------------------------------
"Up yours, Zoidberg! Up wherever your species traditionally
crams t'ings!"
-Hermes, Futurama
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile