-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey folks!
I was trying to compile avifile-0.6.0-20011109. The problem is that compiling
fails at qtrecompress and all binaries like avicat, aviplay, etc. seg fault.
I attached the output of configure and make (the part where it failed).
My machine is an AthlonTB, Kernel 2.4.14, gcc3.0.2, glibc2.2.4, qt3, SDL1.2.2
(could that cause any problem?)
Is there anything else you guys need to know?
I set some compiler flags (-march=athlon) but unsetting 'em doesn't change
anything - apps still seg fault.
Regards
Fabian
- --
The young do not know enough to be prudent
and therefore they attempt the impossible -
and achieve it, generation after generation
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE77bf+ecDvLx8T7osRArAtAJsHL6oWPzrPNq3RehudaX5g/fpGUACdEY02
pr7ZxhB0BXQLlY8YuI6YqHM=
=bIq+
-----END PGP SIGNATURE-----
# ./configure --prefix=/usr --enable-oss --enable-qt --enable-release --enable-xft
--enable-sdl --enable-lame-bin=/usr/local/bin/lame --enable-kde
--with-win32-path=/usr/lib/win32 --enable-ffmpeg --enable-ffmpeg-divx
--enable-ffmpeg-ac3 --enable-x86opt --enable-ac3passthrough=no
# Output of make:
Making all in qtrecompress
make[2]: Entering directory `/root/avifile-0.6.0-20011109/samples/qtrecompress'
source='recompressor.cpp' object='recompressor.o' libtool=no \
depfile='.deps/recompressor.Po' tmpdepfile='.deps/recompressor.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wno-unused -I/usr/X11R6/include
-I/usr/local/qt/include -march=athlon -mcpu=athlon -pipe -c -o recompressor.o `test
-f recompressor.cpp || echo './'`recompressor.cpp
recompressor.cpp:132: syntax error before `::' token
recompressor.cpp:137: use of `string' is ambiguous
../../include/avm_stl.h:23: first declared as `class avm::string' here
/usr/include/g++-v3/bits/stringfwd.h:58: also declared as `typedef class
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
std::string' here
recompressor.cpp:137: `string' denotes an ambiguous type
../../include/avm_stl.h:23: first type here
/usr/include/g++-v3/bits/stringfwd.h:56: other type here
recompressor.cpp:138: `void RecompressFilter::load' is not a static member of
`class RecompressFilter'
recompressor.cpp:138: variable `void RecompressFilter::load' has initializer
but incomplete type
recompressor.cpp:138: syntax error before `{' token
recompressor.cpp:143: cannot declare member function `RecKernel::RecKernel'
within `RecompressFilter'
recompressor.cpp:143: syntax error before `:' token
recompressor.cpp:146: `recompress_cond' was not declared in this scope
recompressor.cpp:146: ISO C++ forbids declaration of `pthread_cond_init' with
no type
recompressor.cpp:146: `int pthread_cond_init' redeclared as different kind of
symbol
/usr/include/pthread.h:392: previous declaration of `int
pthread_cond_init(pthread_cond_t*, const pthread_condattr_t*)'
recompressor.cpp:146: initializer list being treated as compound expression
recompressor.cpp:147: parse error before `}' token
recompressor.cpp:150: cannot declare member function `RecKernel::RecKernel'
within `RecompressFilter'
recompressor.cpp:150: syntax error before `{' token
recompressor.cpp:152: ISO C++ forbids declaration of `_destruct' with no type
recompressor.cpp:153: parse error before `}' token
recompressor.cpp:156: cannot declare member function `RecKernel::getFilter'
within `RecompressFilter'
recompressor.cpp:156: syntax error before `{' token
recompressor.cpp:181: cannot declare member function `RecKernel::getFilterAt'
within `RecompressFilter'
recompressor.cpp:181: syntax error before `{' token
recompressor.cpp:184: `filter_list' was not declared in this scope
recompressor.cpp:185: syntax error before `->' token
recompressor.cpp:192: cannot declare member function `RecKernel::operator[]'
within `RecompressFilter'
recompressor.cpp:192: syntax error before `{' token
recompressor.cpp:198: cannot declare member function
`RecKernel::getFilterCount' within `RecompressFilter'
recompressor.cpp:198: syntax error before `{' token
recompressor.cpp:204: cannot declare member function `RecKernel::addFilter'
within `RecompressFilter'
recompressor.cpp:204: syntax error before `{' token
recompressor.cpp:206: syntax error before `->' token
recompressor.cpp:207: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:208: parse error before `return'
recompressor.cpp:212: cannot declare member function `RecKernel::removeFilter'
within `RecompressFilter'
recompressor.cpp:212: syntax error before `{' token
recompressor.cpp:221: redefinition of `Filter*fi'
recompressor.cpp:184: `Filter*fi' previously defined here
recompressor.cpp:221: `filter_list' was not declared in this scope
recompressor.cpp:222: `filter_list' was not declared in this scope
recompressor.cpp:222: `filter_list' was not declared in this scope
recompressor.cpp:222: `filter_list' was not declared in this scope
recompressor.cpp:222: ISO C++ forbids declaration of `swap' with no type
recompressor.cpp:222: initializer list being treated as compound expression
recompressor.cpp:223: syntax error before `.' token
recompressor.cpp:225: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:226: parse error before `return'
recompressor.cpp:230: cannot declare member function `RecKernel::moveUpFilter'
within `RecompressFilter'
recompressor.cpp:230: syntax error before `{' token
recompressor.cpp:233: `filter_list' was not declared in this scope
recompressor.cpp:233: `filter_list' was not declared in this scope
recompressor.cpp:233: invalid use of member (did you forget the `&' ?)
recompressor.cpp:233: ISO C++ forbids declaration of `swap' with no type
recompressor.cpp:233: redefinition of `int swap'
recompressor.cpp:222: `int swap' previously defined here
recompressor.cpp:233: initializer list being treated as compound expression
recompressor.cpp:235: parse error before `return'
recompressor.cpp:239: cannot declare member function
`RecKernel::moveDownFilter' within `RecompressFilter'
recompressor.cpp:239: syntax error before `{' token
recompressor.cpp:242: `filter_list' was not declared in this scope
recompressor.cpp:242: `filter_list' was not declared in this scope
recompressor.cpp:242: invalid use of member (did you forget the `&' ?)
recompressor.cpp:242: ISO C++ forbids declaration of `swap' with no type
recompressor.cpp:242: redefinition of `int swap'
recompressor.cpp:233: `int swap' previously defined here
recompressor.cpp:242: initializer list being treated as compound expression
recompressor.cpp:244: parse error before `return'
recompressor.cpp:253: cannot declare member function `RecKernel::openFile'
within `RecompressFilter'
recompressor.cpp:253: syntax error before `{' token
recompressor.cpp:259: ISO C++ forbids declaration of `_readfn' with no type
recompressor.cpp:259: `fn' was not declared in this scope
recompressor.cpp:261: ISO C++ forbids declaration of `vs' with no type
recompressor.cpp:261: `as' was not declared in this scope
recompressor.cpp:262: parse error before `for'
recompressor.cpp:262: parse error before `;' token
recompressor.cpp:262: syntax error before `++' token
recompressor.cpp:271: syntax error before `->' token
recompressor.cpp:272: 'full_stream' is used as a type, but is not defined as a
type.
recompressor.cpp:273: syntax error before `.' token
recompressor.cpp:274: syntax error before `.' token
recompressor.cpp:275: syntax error before `.' token
recompressor.cpp:276: syntax error before `.' token
recompressor.cpp:277: syntax error before `.' token
recompressor.cpp:279: syntax error before `++' token
recompressor.cpp:283: syntax error before `->' token
recompressor.cpp:284: syntax error before `.' token
recompressor.cpp:286:2: warning: #warning FIXME - use StreamInfo
recompressor.cpp:296: syntax error before `.' token
recompressor.cpp:298: syntax error before `.' token
recompressor.cpp:300: parse error before `;' token
recompressor.cpp:300: syntax error before `++' token
recompressor.cpp:305: 'full_stream' is used as a type, but is not defined as a
type.
recompressor.cpp:306: syntax error before `.' token
recompressor.cpp:307: syntax error before `.' token
recompressor.cpp:308: syntax error before `.' token
recompressor.cpp:309: syntax error before `.' token
recompressor.cpp:310: syntax error before `.' token
recompressor.cpp:311: syntax error before `++' token
recompressor.cpp:315: syntax error before `->' token
recompressor.cpp:319: syntax error before `.' token
recompressor.cpp:323: syntax error before `.' token
recompressor.cpp:335: cannot declare member function `RecKernel::setDestFile'
within `RecompressFilter'
recompressor.cpp:335: syntax error before `{' token
recompressor.cpp:340: ISO C++ forbids declaration of `_fn' with no type
recompressor.cpp:340: `fn' was not declared in this scope
recompressor.cpp:341: parse error before `delete'
recompressor.cpp:342: ISO C++ forbids declaration of `wf' with no type
recompressor.cpp:342: conflicting types for `int wf'
recompressor.cpp:314: previous declaration as `WAVEFORMATEX wf'
recompressor.cpp:343: parse error before `return'
recompressor.cpp:353: syntax error before `::' token
recompressor.cpp:358: `v_str' was not declared in this scope
recompressor.cpp:359: parse error before `if'
recompressor.cpp:362: syntax error before `->' token
recompressor.cpp:367: request for member `wFormatTag' in `wf', which is of
non-aggregate type `int'
recompressor.cpp:368: parse error before `if'
recompressor.cpp:373: ISO C++ forbids declaration of `enc' with no type
recompressor.cpp:373: conflicting types for `int enc'
recompressor.cpp:365: previous declaration as `const char*enc'
recompressor.cpp:373: cannot convert `char*' to `int' in initialization
recompressor.cpp:374: parse error before `}' token
recompressor.cpp:375:2: warning: #warning FIXME - use StreamInfo
recompressor.cpp:415: syntax error before `::' token
recompressor.cpp:421: cannot declare member function `RecKernel::isVideoStream'
within `RecompressFilter'
recompressor.cpp:421: syntax error before `{' token
recompressor.cpp:427: cannot declare member function `RecKernel::isAudioStream'
within `RecompressFilter'
recompressor.cpp:427: syntax error before `{' token
recompressor.cpp:434: cannot declare member function `RecKernel::stream_type'
within `RecompressFilter'
recompressor.cpp:434: syntax error before `{' token
recompressor.cpp:441: cannot declare member function `RecKernel::getCompress'
within `RecompressFilter'
recompressor.cpp:441: syntax error before `{' token
recompressor.cpp:444: ISO C++ forbids declaration of `vi' with no type
recompressor.cpp:444: conflicting types for `int vi'
recompressor.cpp:281: previous declaration as `VideoEncoderInfo vi'
recompressor.cpp:444: `vfmt' was not declared in this scope
recompressor.cpp:445: parse error before `return'
recompressor.cpp:449: cannot declare member function
`RecKernel::getAudioCompress' within `RecompressFilter'
recompressor.cpp:449: syntax error before `{' token
recompressor.cpp:452: ISO C++ forbids declaration of `wf' with no type
recompressor.cpp:452: redefinition of `int wf'
recompressor.cpp:342: `int wf' previously defined here
recompressor.cpp:452: `afmt' was not declared in this scope
recompressor.cpp:452: invalid use of member (did you forget the `&' ?)
recompressor.cpp:453: parse error before `return'
recompressor.cpp:457: cannot declare member function `RecKernel::setCompress'
within `RecompressFilter'
recompressor.cpp:457: syntax error before `{' token
recompressor.cpp:460: ISO C++ forbids declaration of `vfmt' with no type
recompressor.cpp:460: size of array `vfmt' has non-integer type
recompressor.cpp:460: invalid initializer
recompressor.cpp:461: parse error before `if'
recompressor.cpp:467: invalid use of member `RecompressFilter::info'
recompressor.cpp:467: `getCompress' was not declared in this scope
recompressor.cpp:468: no matching function for call to
`RecompressFilter::RecompressFilter(int&)'
recompressor.h:56: candidates are: RecompressFilter::RecompressFilter(const
RecompressFilter&)
recompressor.cpp:32: RecompressFilter::RecompressFilter(const
VideoEncoderInfo&)
recompressor.cpp:471: parse error before `if'
recompressor.cpp:474: ISO C++ forbids declaration of `_recf' with no type
recompressor.cpp:474: cannot convert `RecompressFilter*' to `int' in
initialization
recompressor.cpp:475: parse error before `}' token
recompressor.cpp:483: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:484: parse error before `}' token
recompressor.cpp:489: cannot declare member function
`RecKernel::setAudioCompress' within `RecompressFilter'
recompressor.cpp:489: syntax error before `{' token
recompressor.cpp:492: invalid use of member (did you forget the `&' ?)
recompressor.cpp:492: ISO C++ forbids declaration of `afmt' with no type
recompressor.cpp:492: assignment (not initialization) in declaration
recompressor.cpp:493: parse error before `return'
recompressor.cpp:498: cannot declare member function `RecKernel::isStream'
within `RecompressFilter'
recompressor.cpp:498: syntax error before `{' token
recompressor.cpp:503: cannot declare member function `RecKernel::setStreamMode'
within `RecompressFilter'
recompressor.cpp:503: syntax error before `{' token
recompressor.cpp:507: syntax error before `.' token
recompressor.cpp:508: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:509: parse error before `return'
recompressor.cpp:513: cannot declare member function `RecKernel::getStreamMode'
within `RecompressFilter'
recompressor.cpp:513: syntax error before `{' token
recompressor.cpp:516: ISO C++ forbids declaration of `mode' with no type
recompressor.cpp:516: `v_str' was not declared in this scope
recompressor.cpp:517: parse error before `return'
recompressor.cpp:521: cannot declare member function `RecKernel::getSelection'
within `RecompressFilter'
recompressor.cpp:521: syntax error before `{' token
recompressor.cpp:524: ISO C++ forbids declaration of `start' with no type
recompressor.cpp:524: `v_str' was not declared in this scope
recompressor.cpp:525: ISO C++ forbids declaration of `end' with no type
recompressor.cpp:525: `v_str' was not declared in this scope
recompressor.cpp:526: parse error before `return'
recompressor.cpp:530: cannot declare member function `RecKernel::setSelection'
within `RecompressFilter'
recompressor.cpp:530: syntax error before `{' token
recompressor.cpp:533: syntax error before `.' token
recompressor.cpp:534: syntax error before `.' token
recompressor.cpp:539: cannot declare member function
`RecKernel::setSelectionStart' within `RecompressFilter'
recompressor.cpp:539: syntax error before `{' token
recompressor.cpp:542: syntax error before `.' token
recompressor.cpp:547: cannot declare member function
`RecKernel::setSelectionEnd' within `RecompressFilter'
recompressor.cpp:547: syntax error before `{' token
recompressor.cpp:550: syntax error before `.' token
recompressor.cpp:555: cannot declare member function `RecKernel::getFrameTime'
within `RecompressFilter'
recompressor.cpp:555: syntax error before `{' token
recompressor.cpp:562: cannot declare member function `RecKernel::getTime'
within `RecompressFilter'
recompressor.cpp:562: syntax error before `{' token
recompressor.cpp:571: cannot declare member function
`RecKernel::setImageControl' within `RecompressFilter'
recompressor.cpp:571: syntax error before `{' token
recompressor.cpp:577: syntax error before `.' token
recompressor.cpp:578: syntax error before `.' token
recompressor.cpp:579: syntax error before `.' token
recompressor.cpp:580: redefinition of `BITMAPINFOHEADER bh'
recompressor.cpp:282: `BITMAPINFOHEADER bh' previously declared here
recompressor.cpp:581: syntax error before `.' token
recompressor.cpp:582: ISO C++ forbids declaration of `_ctl' with no type
recompressor.cpp:582: `ctl' was not declared in this scope
recompressor.cpp:583: syntax error before `->' token
recompressor.cpp:586: conflicting types for `VideoEncoderInfo info'
recompressor.cpp:367: previous declaration as `const CodecInfo*info'
recompressor.cpp:588: ISO C++ forbids declaration of `_recf' with no type
recompressor.cpp:588: redefinition of `int _recf'
recompressor.cpp:474: `int _recf' previously defined here
recompressor.cpp:588: invalid use of member `RecompressFilter::info'
recompressor.cpp:588: `getCompress' was not declared in this scope
recompressor.cpp:589: invalid use of member `RecompressFilter::info'
recompressor.cpp:592: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:593: parse error before `}' token
recompressor.cpp:602: syntax error before `::' token
recompressor.cpp:606: 'string' is used as a type, but is not defined as a type.
recompressor.cpp:607: parse error before `if'
recompressor.cpp:610: syntax error before `-=' token
recompressor.cpp:615: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:615: `int sprintf' redeclared as different kind of symbol
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/include/stdio.h:288: previous
declaration of `int sprintf(char*, const char*, ...)'
recompressor.cpp:615: initializer list being treated as compound expression
recompressor.cpp:615: cannot resolve overloaded function `id' based on
conversion to type `int'
recompressor.cpp:616: syntax error before `+=' token
recompressor.cpp:621: cannot declare member function
`RecKernel::getStreamCount' within `RecompressFilter'
recompressor.cpp:621: syntax error before `{' token
recompressor.cpp:630: cannot declare member function `RecKernel::seek' within
`RecompressFilter'
recompressor.cpp:630: syntax error before `{' token
recompressor.cpp:634: redefinition of `IAviReadStream*stream'
recompressor.cpp:358: `IAviReadStream*stream' previously defined here
recompressor.cpp:634: `v_str' was not declared in this scope
recompressor.cpp:638: `delta' was not declared in this scope
recompressor.cpp:640: parse error before `if'
recompressor.cpp:653: parse error before `if'
recompressor.cpp:657: parse error before `for'
recompressor.cpp:664: syntax error before `->' token
recompressor.cpp:679: ISO C++ forbids declaration of `prevp' with no type
recompressor.cpp:679: conflicting types for `int prevp'
recompressor.cpp:656: previous declaration as `framepos_t prevp'
recompressor.cpp:680: parse error before `}' token
recompressor.cpp:681: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:682: parse error before `return'
recompressor.cpp:687: cannot declare member function `RecKernel::seek_pos'
within `RecompressFilter'
recompressor.cpp:687: syntax error before `{' token
recompressor.cpp:691: ISO C++ forbids declaration of `fpos' with no type
recompressor.cpp:691: `v_str' was not declared in this scope
recompressor.cpp:691: use of `fpos' is ambiguous
recompressor.cpp:691: first declared as `int fpos' here
/usr/include/g++-v3/bits/fpos.h:48: also declared as `template<class _StateT>
class std::fpos' here
recompressor.cpp:692: syntax error before `.' token
recompressor.cpp:693: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:695: parse error before `return'
recompressor.cpp:715: cannot declare member function
`RecKernel::seekNextKeyFrame' within `RecompressFilter'
recompressor.cpp:715: syntax error before `{' token
recompressor.cpp:719: redefinition of `IAviReadStream*stream'
recompressor.cpp:634: `IAviReadStream*stream' previously defined here
recompressor.cpp:719: `v_str' was not declared in this scope
recompressor.cpp:720: `pos' was not declared in this scope
recompressor.cpp:723: parse error before `if'
recompressor.cpp:728: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:729: parse error before `}' token
recompressor.cpp:734: cannot declare member function
`RecKernel::seekPrevKeyFrame' within `RecompressFilter'
recompressor.cpp:734: syntax error before `{' token
recompressor.cpp:738: redefinition of `IAviReadStream*stream'
recompressor.cpp:719: `IAviReadStream*stream' previously defined here
recompressor.cpp:738: `v_str' was not declared in this scope
recompressor.cpp:739: redefinition of `framepos_t op'
recompressor.cpp:720: `framepos_t op' previously defined here
recompressor.cpp:739: `pos' was not declared in this scope
recompressor.cpp:741: parse error before `if'
recompressor.cpp:745: ISO C++ forbids declaration of `redraw' with no type
recompressor.cpp:746: parse error before `}' token
recompressor.cpp:751: cannot declare member function `RecKernel::pos' within
`RecompressFilter'
recompressor.cpp:751: syntax error before `{' token
recompressor.cpp:756: cannot declare member function
`RecKernel::getVideoLength' within `RecompressFilter'
recompressor.cpp:756: syntax error before `{' token
recompressor.cpp:772: cannot declare member function `RecKernel::set_callback'
within `RecompressFilter'
recompressor.cpp:772: syntax error before `{' token
recompressor.cpp:778: cannot declare member function `RecKernel::_destruct'
within `RecompressFilter'
recompressor.cpp:778: syntax error before `{' token
recompressor.cpp:781: syntax error before `.' token
recompressor.cpp:782: syntax error before `.' token
recompressor.cpp:785: ISO C++ forbids declaration of `_rf' with no type
recompressor.cpp:786: ISO C++ forbids declaration of `_wf' with no type
recompressor.cpp:787: parse error before `}' token
recompressor.cpp:790: cannot declare member function `RecKernel::redraw' within
`RecompressFilter'
recompressor.cpp:790: syntax error before `{' token
recompressor.cpp:806: `v_str' was not declared in this scope
recompressor.cpp:808: parse error before `if'
recompressor.cpp:813: syntax error before `->' token
recompressor.cpp:817: parse error before `if'
recompressor.cpp:827: parse error before `for'
recompressor.cpp:827: `getFilterCount' was not declared in this scope
recompressor.cpp:827: parse error before `;' token
recompressor.cpp:827: syntax error before `++' token
recompressor.cpp:830: ISO C++ forbids declaration of `new_im' with no type
recompressor.cpp:830: conflicting types for `int new_im'
recompressor.cpp:826: previous declaration as `CImage*new_im'
recompressor.cpp:830: `v_str' was not declared in this scope
recompressor.cpp:831: syntax error before `->' token
recompressor.cpp:832: ISO C++ forbids declaration of `im' with no type
recompressor.cpp:832: conflicting types for `int im'
recompressor.cpp:815: previous declaration as `CImage*im'
recompressor.cpp:833: parse error before `}' token
recompressor.cpp:844: ISO C++ forbids declaration of `im' with no type
recompressor.cpp:844: redefinition of `int im'
recompressor.cpp:832: `int im' previously defined here
recompressor.cpp:844: multiple initializations given for `im'
recompressor.cpp:845: parse error before `}' token
recompressor.cpp:858: syntax error before `->' token
recompressor.cpp:859: syntax error before `->' token
recompressor.cpp:865: cannot declare member function `RecKernel::loadConfig'
within `RecompressFilter'
recompressor.cpp:865: syntax error before `{' token
recompressor.cpp:868: parse error before `=' token
recompressor.cpp:869: `src' was not declared in this scope
recompressor.cpp:869: ISO C++ forbids declaration of `printf' with no type
recompressor.cpp:869: `int printf' redeclared as different kind of symbol
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.2/include/stdio.h:285: previous
declaration of `int printf(const char*, ...)'
recompressor.cpp:869: initializer list being treated as compound expression
recompressor.cpp:870: `src' was not declared in this scope
recompressor.cpp:870: ISO C++ forbids declaration of `openFile' with no type
recompressor.cpp:871: parse error before `=' token
recompressor.cpp:872: `dest' was not declared in this scope
recompressor.cpp:872: ISO C++ forbids declaration of `setDestFile' with no type
recompressor.cpp:876: conflicting types for `char s[128]'
recompressor.cpp:357: previous declaration as `char s[1024]'
recompressor.cpp:877: parse error before `for'
recompressor.cpp:877: `v_str' was not declared in this scope
recompressor.cpp:877: parse error before `;' token
recompressor.cpp:877: syntax error before `++' token
recompressor.cpp:880: syntax error before `.' token
recompressor.cpp:881: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:881: redefinition of `int sprintf'
recompressor.cpp:615: `int sprintf' previously defined here
recompressor.cpp:881: initializer list being treated as compound expression
recompressor.cpp:882: syntax error before `.' token
recompressor.cpp:883: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:883: redefinition of `int sprintf'
recompressor.cpp:881: `int sprintf' previously defined here
recompressor.cpp:883: initializer list being treated as compound expression
recompressor.cpp:883: multiple initializations given for `sprintf'
recompressor.cpp:884: syntax error before `.' token
recompressor.cpp:885: syntax error before `<<' token
recompressor.cpp:889: syntax error before `.' token
recompressor.cpp:890: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:890: redefinition of `int sprintf'
recompressor.cpp:883: `int sprintf' previously defined here
recompressor.cpp:890: initializer list being treated as compound expression
recompressor.cpp:890: multiple initializations given for `sprintf'
recompressor.cpp:891: syntax error before `.' token
recompressor.cpp:892: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:892: redefinition of `int sprintf'
recompressor.cpp:890: `int sprintf' previously defined here
recompressor.cpp:892: initializer list being treated as compound expression
recompressor.cpp:892: multiple initializations given for `sprintf'
recompressor.cpp:893: syntax error before `.' token
recompressor.cpp:894: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:894: redefinition of `int sprintf'
recompressor.cpp:892: `int sprintf' previously defined here
recompressor.cpp:894: initializer list being treated as compound expression
recompressor.cpp:894: multiple initializations given for `sprintf'
recompressor.cpp:895: syntax error before `.' token
recompressor.cpp:901: syntax error before `.' token
recompressor.cpp:902: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:902: redefinition of `int sprintf'
recompressor.cpp:894: `int sprintf' previously defined here
recompressor.cpp:902: initializer list being treated as compound expression
recompressor.cpp:902: multiple initializations given for `sprintf'
recompressor.cpp:903: syntax error before `.' token
recompressor.cpp:906: `cfg' was not declared in this scope
recompressor.cpp:908: parse error before `for'
recompressor.cpp:908: parse error before `;' token
recompressor.cpp:908: syntax error before `++' token
recompressor.cpp:912: `cfg' was not declared in this scope
recompressor.cpp:912: `getFilter' was not declared in this scope
recompressor.cpp:913: parse error before `if'
recompressor.cpp:914: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:914: redefinition of `int sprintf'
recompressor.cpp:902: `int sprintf' previously defined here
recompressor.cpp:914: initializer list being treated as compound expression
recompressor.cpp:914: multiple initializations given for `sprintf'
recompressor.cpp:915: parse error before `=' token
recompressor.cpp:916: syntax error before `->' token
recompressor.cpp:917: ISO C++ forbids declaration of `addFilter' with no type
recompressor.cpp:917: cannot convert `Filter*' to `int' in initialization
recompressor.cpp:918: parse error before `}' token
recompressor.cpp:923: cannot declare member function `RecKernel::saveConfig'
within `RecompressFilter'
recompressor.cpp:923: syntax error before `{' token
recompressor.cpp:926: `fn' was not declared in this scope
recompressor.cpp:927: syntax error before `.' token
recompressor.cpp:928: syntax error before `.' token
recompressor.cpp:929: syntax error before `.' token
recompressor.cpp:930: syntax error before `.' token
recompressor.cpp:932: redefinition of `char s[128]'
recompressor.cpp:876: `char s[128]' previously declared here
recompressor.cpp:933: parse error before `for'
recompressor.cpp:933: `v_str' was not declared in this scope
recompressor.cpp:933: parse error before `;' token
recompressor.cpp:933: syntax error before `++' token
recompressor.cpp:936: syntax error before `.' token
recompressor.cpp:937: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:937: redefinition of `int sprintf'
recompressor.cpp:914: `int sprintf' previously defined here
recompressor.cpp:937: initializer list being treated as compound expression
recompressor.cpp:937: multiple initializations given for `sprintf'
recompressor.cpp:938: syntax error before `.' token
recompressor.cpp:939: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:939: redefinition of `int sprintf'
recompressor.cpp:937: `int sprintf' previously defined here
recompressor.cpp:939: initializer list being treated as compound expression
recompressor.cpp:939: multiple initializations given for `sprintf'
recompressor.cpp:940: syntax error before `.' token
recompressor.cpp:944: syntax error before `.' token
recompressor.cpp:945: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:945: redefinition of `int sprintf'
recompressor.cpp:939: `int sprintf' previously defined here
recompressor.cpp:945: initializer list being treated as compound expression
recompressor.cpp:945: multiple initializations given for `sprintf'
recompressor.cpp:946: syntax error before `.' token
recompressor.cpp:947: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:947: redefinition of `int sprintf'
recompressor.cpp:945: `int sprintf' previously defined here
recompressor.cpp:947: initializer list being treated as compound expression
recompressor.cpp:947: multiple initializations given for `sprintf'
recompressor.cpp:948: syntax error before `.' token
recompressor.cpp:949: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:949: redefinition of `int sprintf'
recompressor.cpp:947: `int sprintf' previously defined here
recompressor.cpp:949: initializer list being treated as compound expression
recompressor.cpp:949: multiple initializations given for `sprintf'
recompressor.cpp:950: syntax error before `.' token
recompressor.cpp:955: syntax error before `.' token
recompressor.cpp:956: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:956: redefinition of `int sprintf'
recompressor.cpp:949: `int sprintf' previously defined here
recompressor.cpp:956: initializer list being treated as compound expression
recompressor.cpp:956: multiple initializations given for `sprintf'
recompressor.cpp:957: syntax error before `.' token
recompressor.cpp:960: syntax error before `.' token
recompressor.cpp:961: `filter_list' was not declared in this scope
recompressor.cpp:961: parse error before `;' token
recompressor.cpp:961: syntax error before `++' token
recompressor.cpp:964: syntax error before `.' token
recompressor.cpp:965: ISO C++ forbids declaration of `sprintf' with no type
recompressor.cpp:965: redefinition of `int sprintf'
recompressor.cpp:956: `int sprintf' previously defined here
recompressor.cpp:965: initializer list being treated as compound expression
recompressor.cpp:965: multiple initializations given for `sprintf'
recompressor.cpp:966: parse error before `=' token
recompressor.cpp:967: syntax error before `.' token
make[2]: *** [recompressor.o] Error 1
make[2]: Leaving directory `/root/avifile-0.6.0-20011109/samples/qtrecompress'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/avifile-0.6.0-20011109/samples'
make: *** [all-recursive] Error 1
# Output of ./configure --prefix=/usr --enable-oss --enable-qt
--enable-release --enable-xft --enable-sdl
--enable-lame-bin=/usr/local/bin/lame --enable-kde
--with-win32-path=/usr/lib/win32 --enable-ffmpeg
--enable-ffmpeg-divx --enable-ffmpeg-ac3 --enable-x86opt
--enable-ac3passthrough=no
loading cache ./config.cache
avifile configure options: --prefix=/usr --enable-oss --enable-qt --enable-release
--enable-xft --enable-sdl --enable-lame-bin=/usr/local/bin/lame --enable-kde
--with-win32-path=/usr/lib/win32 --enable-ffmpeg --enable-ffmpeg-divx
--enable-ffmpeg-ac3 --enable-x86opt --enable-ac3passthrough=no
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking for mawk... (cached) mawk
checking whether make sets ${MAKE}... (cached) yes
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -march=athlon -mcpu=athlon ) works... yes
checking whether the C compiler (gcc -march=athlon -mcpu=athlon ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -march=athlon -mcpu=athlon ) works... yes
checking whether the C++ compiler (c++ -march=athlon -mcpu=athlon ) is a
cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) gcc3
checking how to run the C++ preprocessor... (cached) c++ -E
checking for a BSD compatible install... /bin/install -c
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for dlopen in -ldl... (cached) yes
checking for nanosleep in -lposix4... (cached) no
checking for socket in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for kstat_open in -lkstat... (cached) no
checking for lseek64 in -lc... (cached) yes
checking for pthreads... -lpthread yes
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/ioccom.h... (cached) no
checking for sys/time.h... (cached) yes
checking for valid sysinfo struct... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for 8-bit clean memcmp... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for ftime... (cached) yes
checking for gettimeofday... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for scandir... (cached) yes
checking for nanosleep... (cached) yes
checking if gcc supports -finline-limit-200 flag(s)... yes
checking for OSS audio support... (cached) yes
checking for _oss_ioctl in -lossaudio... (cached) no
checking for Sun audio support... (cached) no
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for Qt... (cached) libraries /usr/local/qt/lib, headers /usr/local/qt/include
checking for moc2... (cached) not found
checking for moc... (cached) /usr/local/qt/bin/moc
checking for uic... (cached) /usr/local/qt/bin/uic
checking whether we like this Qt installation... checking for
/usr/local/qt/include/qvariant.h... (cached) yes
checking whether to build Avicap... checking for /usr/local/qt/include/qtable.h...
(cached) yes
checking for multithreading support in Qt... (cached) yes
checking for jpeglib.h... (cached) yes
checking for jpeg_start_compress in -ljpeg... (cached) yes
checking if malloc debugging is wanted... no
checking C compiler version... gcc 3.0.2
checking for XF86DGAQueryExtension in -lXxf86dga... (cached) yes
checking for XF86VidModeSwitchMode in -lXxf86vm... (cached) yes
checking for DPMSQueryExtension in -lXdpms... (cached) no
checking for XGetExtensionVersion in -lXi... (cached) yes
checking for /usr/X11R6/include/X11/Xft/Xft.h... (cached) yes
checking for XftDrawString32 in -lXft... (cached) yes
checking for X11/extensions/Xv.h... (cached) yes
checking for /usr/X11R6/include/X11/extensions/dpms.h... (cached) yes
checking whether system declares DPMS functions in X11/extensions/dpms.h... (cached)
yes
checking for sdl-config... (cached) sdl-config
setting SDL_CONFIG to /usr/bin/sdl-config
checking for sdl-config... (cached) /usr/bin/sdl-config
checking for SDL - version >= 1.1.3... yes
checking for lame_decode_init in -lmp3lame... (cached) yes
checking for Ogg... no
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed. In the latter case, you
*** may want to edit the ogg-config script:
checking for mad_stream_init in -lmad... (cached) yes
checking for decore in -ldivxdecore... (cached) yes
checking for encore in -ldivxencore... (cached) yes
checking for decore.h... (cached) yes
checking for encore2.h... (cached) yes
checking whether to build ac3 decoder module... no
=== configuring ffmpeg ===
Install prefix /usr
C compiler gcc
CPU x86
MMX enabled yes
gprof enabled no
grab enabled yes
Creating config.mak and config.h
checking for configure in libmmxnow ...... checking whether to use --tag=CXX with
libtool... no
updating cache ./config.cache
creating ./config.status
creating plugins/Makefile
creating plugins/libwin32/loader/Makefile
creating plugins/libwin32/loader/wine/Makefile
creating plugins/libwin32/videocodec/Makefile
creating plugins/libwin32/Makefile
creating plugins/libwin32/DirectShow/Makefile
creating plugins/libwin32/audiodec/Makefile
creating plugins/libac3pass/Makefile
creating plugins/libaudiodec/Makefile
creating plugins/libmpeg_audiodec/Makefile
creating plugins/libdivx4/Makefile
creating plugins/libffmpeg/Makefile
creating plugins/libffmpeg/libavcodec/Makefile
creating plugins/libffmpeg/libavcodec/i386/Makefile
creating plugins/libffmpeg/libavcodec/libac3/Makefile
creating plugins/libmp3lame_audioenc/Makefile
creating plugins/libmp3lame_audioenc/lame3.70/Makefile
creating plugins/libmp3lamebin_audioenc/Makefile
creating plugins/libmad/Makefile
creating plugins/libvorbis/Makefile
creating lib/Makefile
creating lib/aviread/Makefile
creating lib/aviwrite/Makefile
creating lib/aviplay/Makefile
creating lib/common/Makefile
creating lib/subtitle/Makefile
creating lib/video/Makefile
creating player/Makefile
creating doc/Makefile
creating debian/Makefile
creating include/Makefile
creating samples/Makefile
creating samples/misc/Makefile
creating samples/mjpeg_plugin/Makefile
creating samples/qtrecompress/Makefile
creating samples/qtvidcap/Makefile
creating samples/artsplug/Makefile
creating bin/Makefile
creating drivers/Makefile
creating libavqt/Makefile
creating Makefile
creating avifile-config
creating avifile.spec
creating include/config.h
include/config.h is unchanged
configuring in plugins/libmad/libmad
running /bin/sh ./configure --prefix=/usr --enable-oss --enable-qt --enable-release
--enable-xft --enable-sdl --enable-lame-bin=/usr/local/bin/lame --enable-kde
--with-win32-path=/usr/lib/win32 --enable-ffmpeg --enable-ffmpeg-divx
--enable-ffmpeg-ac3 --enable-x86opt --enable-ac3passthrough=no
--cache-file=../../.././config.cache --srcdir=.
loading cache ../../.././config.cache
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking for mawk... (cached) mawk
checking whether make sets ${MAKE}... (cached) yes
checking host system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -march=athlon -mcpu=athlon -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon -mcpu=athlon -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for pid_t... (cached) yes
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking whether to optimize for speed or for accuracy... default
checking for architecture-specific fixed-point math routines... INTEL
checking for ISO/IEC interpretation... best accepted practices
checking whether to enable profiling... no
checking whether to enable debugging... default
checking whether to enable experimental code... no
updating cache ../../.././config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
configuring in libmmxnow
running /bin/sh ./configure --prefix=/usr --enable-oss --enable-qt --enable-release
--enable-xft --enable-sdl --enable-lame-bin=/usr/local/bin/lame --enable-kde
--with-win32-path=/usr/lib/win32 --enable-ffmpeg --enable-ffmpeg-divx
--enable-ffmpeg-ac3 --enable-x86opt --enable-ac3passthrough=no
--cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
libmmxnow configure options: --prefix=/usr --enable-oss --enable-qt --enable-release
--enable-xft --enable-sdl --enable-lame-bin=/usr/local/bin/lame --enable-kde
--with-win32-path=/usr/lib/win32 --enable-ffmpeg --enable-ffmpeg-divx
--enable-ffmpeg-ac3 --enable-x86opt --enable-ac3passthrough=no
--cache-file=.././config.cache --srcdir=.
checking for a BSD compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking for mawk... (cached) mawk
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -march=athlon -mcpu=athlon -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon -mcpu=athlon -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for style of include used by make... GNU
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... (cached) gcc -E
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
updating cache .././config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating include/Makefile
creating src/Makefile
creating src/generic/Makefile
creating src/generic/video/Makefile
creating src/i386/Makefile
creating src/i386/video/Makefile
creating test/Makefile
creating mmxnow-config
creating include/config.h
include/config.h is unchanged
Configuration:
Compiler C: gcc -march=athlon -mcpu=athlon -pipe
Compiler C++: c++ -march=athlon -mcpu=athlon -pipe
Install path: /usr
Qt: yes
Sdl: yes
Xft: yes
Oss audio: yes
Sun audio: no
Mga_vid: no
Plugins:
ac3passthrough no (with SBLive only)
divx4 yes (DivX :-), OpenDivX, DivX4)
ffmpeg yes (DivX :-), OpenDivX, MJPEG, AC3)
os motion jpeg yes (MJPEG)
win32 yes (DivX, WMF1/2, DV, MJPEG, Ati, Asus,...)
MAD yes (MPEG Layer I/II/III)
ogg/vorbis no
lame runtime no
# Why is lame runtime == no ?