Re: Parse error - can you help?

"Andres Salomon" <[email protected]> Fri, 10 Jan 2003 14:31:31 -0500
Newsgroups gmane.comp.video.sinek.general
Message-ID <[email protected]>
Looks like you're trying to compile sinek against xine-1.0-beta. 
Unfortunately, sinek hasn't been completely ported to that version yet
(new API); CVS compiles against it, and I have a bunch of code that I need
to commit, but it's still pretty buggy.  To compile sinek-0.7, you'll need
to install xine-lib-0.9.13.  Later versions of xine-lib use the xine-1.0
api, I believe.


On Fri, 10 Jan 2003 10:55:29 -0500, Cliff McDiarmid wrote:

> Hi Andres 
>  
> I've just got my hands on Xine and Sinek, but am having problems compiling Sinek.   Do you know how I can solve the problem shown 
> below, these are snippets from a failure of 'make'. 
>  
> Begins: 
>  
> ../include/sinek.h:32: parse error before `config_values_t' 
> ../include/sinek.h:32: warning: no semicolon at end of struct or union 
> ../include/sinek.h:33: warning: type defaults to `int' in declaration of `vd' 
> ../include/sinek.h:33: warning: data definition has no type or storage class 
> ../include/sinek.h:34: parse error before `*' 
> ../include/sinek.h:34: warning: type defaults to `int' in declaration of `ad' 
> ../include/sinek.h:34: warning: data definition has no type or storage class 
> ../include/sinek.h:37: parse error before `}' 
> ../include/sinek.h:37: warning: type defaults to `int' in declaration of  
> `sinek_type' 
> ../include/sinek.h:37: warning: data definition has no type or storage class 
>  
> main.c:114: warning: passing arg 1 of `xine_get_status' from incompatible  
> pointer type 
> main.c:114: `XINE_PLAY' undeclared (first use in this function) 
> main.c:114: (Each undeclared identifier is reported only once 
> main.c:114: for each function it appears in.) 
>  
> Ends: 
>  
> main.c:131: `XINE_EVENT_PLAYBACK_FINISHED' undeclared (first use in this  
> function) 
> main.c:132: warning: unreachable code at beginning of switch statement 
> make[1]: *** [main.o] Error 1 
> make[1]: Leaving directory `/usr/src/sinek-0.7/src' 
> make: *** [all-recursive] Error 1 
>  
> Parse errors, as you know, can be difficult to solve.   Should I worry about it, or is the missing function the problem? 
>  
> thanks 
>  
> MAC




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com