Compiling avifile

Net Llama beemer9
Mon May 17 11:28:29 PDT 2004


Since i wrote that SxS, i guess i'm the default person to comment.  For
starters, keep in mind that alot of the package versions in that SxS
have changed quite a bit.  You should make sure that you're getting the
latest of all of them before trying to build old code.
Next, the errors that you included don't appear to be all the errors,
since its already complaining about renderer.cpp.
Also, it looks like SDL isn't being found.  Make sure that you have it
installed, and if you do, you'll prolly need to pass a ./configure line
to tell it where SDL is.
And finally, i should note/admit that i gave up on avifile shortly after
i wrote that SxS.  I couldn't get the more recent versions to build on
any of my boxes, and my requests for assistance from the avifile team
went unanswered.
See my other SxS for building MPlayer.  Its what i use these days, and i
rather like it.

HTH,
Lonni

--- Bill Davidson <harley7 at mnsi.net> wrote:
> I'm trying to install avifile form source as per the SxS. But first, a
> 
> general compile question. If I type in "./configure 2> dump" to
> redirect 
> standard error, and than "make 2>> dump" to append to the file, will
> that 
> give all the error messages that I need to find out why it failed?
> That's 
> what I did and I've attached the output below.
> 
> I grabbed these packages: divx4linux-20011025.tgz,
> binaries-011002.tgz, 
> then I did the cvs thing and grabbed the latest source. divx4linux and
> the 
> win32 binaries appear to have installed ok. When I typed
> "./autogen.sh" It 
> says something is missing. I don't know what that would be. Then when
> I 
> typed "./configure I get a warning that it can't find SDL >= 1.1.3. I
> have 
> libSDL1.2.2-1mdk installed. Is there another SDL package that I need?
> 
> Anothing thing I should mention is that I'm using gcc2.96. Could this
> be 
> the whole reason that it failed?
> 
> This is the ouput that I got.
> 
> automake: configure.in: installing `./install-sh'
> automake: configure.in: installing `./mkinstalldirs'
> automake: configure.in: installing `./missing'
> 
> configure: warning: Could not find SDL >= 1.1.3!
> configure: warning:  
> ---    If you wish to use Xvid plugin install xvid package,
> --- take a look at: http://www.xvid.org ) 
>     
> renderer.cpp:227: syntax error before `*'
> renderer.cpp:231: syntax error before `*'
> renderer.cpp:234: `image' was not declared in this scope
> renderer.cpp:234: ISO C++ forbids declaration of `sscanf' with no type
> renderer.cpp:234: initializer list being treated as compound
> expression
> renderer.cpp:237: ISO C++ forbids declaration of `s' with no type
> renderer.cpp:237: redefinition of `int avm::s'
> renderer.cpp:233: `int avm::s' previously declared here
> renderer.cpp:238: ISO C++ forbids declaration of `data' with no type
> renderer.cpp:238: parse error before `['
> renderer.cpp:239: ISO C++ forbids declaration of `mask' with no type
> renderer.cpp:239: parse error before `['
> renderer.cpp:240: ISO C++ forbids declaration of `memset' with no type
> renderer.cpp:240: initializer list being treated as compound
> expression
> renderer.cpp:241: ISO C++ forbids declaration of `memset' with no type
> renderer.cpp:241: redefinition of `int avm::memset'
> renderer.cpp:240: `int avm::memset' previously defined here
> renderer.cpp:241: initializer list being treated as compound
> expression
> renderer.cpp:241: multiple initializations given for `avm::memset'
> renderer.cpp:242: syntax error before `++'
> renderer.cpp:244: ISO C++ forbids declaration of `i' with no type
> renderer.cpp:245: parse error before `for'
> renderer.cpp:245: parse error before `;'
> renderer.cpp:246: parse error before `;'
> renderer.cpp:249: syntax error before `<='
> renderer.cpp:252: `i' was not declared in this scope
> renderer.cpp:252: ISO C++ forbids declaration of `data' with no type
> renderer.cpp:252: `mask' was not declared in this scope
> renderer.cpp:252: `i' was not declared in this scope
> renderer.cpp:252: assignment (not initialization) in declaration
> renderer.cpp:253: parse error before `}'
> renderer.cpp:257: `i' was not declared in this scope
> renderer.cpp:257: syntax error before `|='
> renderer.cpp:267: `image' was not declared in this scope
> renderer.cpp:267: `colors' was not declared in this scope
> renderer.cpp:267: `row' was not declared in this scope
> renderer.cpp:267: `hot_x' was not declared in this scope
> renderer.cpp:267: `hot_y' was not declared in this scope
> renderer.cpp:267: ISO C++ forbids declaration of `sscanf' with no type
> renderer.cpp:267: `int sscanf' redeclared as different kind of symbol
> /usr/include/stdio.h:333: previous declaration of `int sscanf (const 
> char *, const char *, ...)'
> renderer.cpp:267: initializer list being treated as compound
> expression
> renderer.cpp:268: parse error before `return'
> renderer.cpp: In function `int GetPhysicalDepth (void *)':
> renderer.cpp:305: redefinition of `int GetPhysicalDepth (void *)'
> ../../include/renderer.h:190: `int GetPhysicalDepth (void *)' 
> previously defined here
> renderer.cpp: In function `int GetPhysicalDepth (void *)':
> renderer.cpp:305: confused by earlier errors, bailing out
> make[2]: *** [renderer.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1

=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J. Friedman                     netllama at linux-sxs.org

Linux Step-by-step help:           http://netllama.ipfox.com

                                                 .

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/



More information about the Linux-users mailing list