Hi,
I try to compile sinek-0.7 on my GNU/Linux system with
gcc-3.2
there was no problem with the configure, but for the
make I got this :
[...]
Making all in src
gmake[1]: Entering directory `/tmp/sinek-0.7/src'
gcc -s -DHAVE_CONFIG_H -I. -I. -I../include
-I../include -I../pixmaps
-I/usr/local/BerkeleyDB.4.1/include -O3 -march=i686
-Wall -I/usr/local/include -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0
-I/usr/local/include/pango-1.0 -I/usr/X11R6/include
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include -c main.c
cc1: warning: changing search order for system
directory "/usr/local/include"
cc1: warning: as it has already been specified as a
non-system directory
In file included from ../include/common.h:33,
from main.c:11:
../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 '*' token
../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 '}' token
../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
../include/sinek.h:41: parse error before '*' token
../include/sinek.h:41: warning: type defaults to `int'
in declaration of `sinek_new'
../include/sinek.h:41: warning: data definition has no
type or storage class
../include/sinek.h:42: parse error before '*' token
../include/sinek.h:45: parse error before '*' token
../include/sinek.h:46: parse error before '*' token
../include/sinek.h:49: parse error before '*' token
../include/sinek.h:52: parse error before '*' token
../include/sinek.h:53: parse error before '*' token
../include/sinek.h:54: parse error before '*' token
../include/sinek.h:55: parse error before '*' token
In file included from main.c:11:
../include/common.h:177: parse error before '*' token
../include/common.h:177: warning: type defaults to
`int' in declaration of `media'
../include/common.h:177: warning: data definition has
no type or storage class
main.c:14: parse error before '*' token
main.c:14: warning: type defaults to `int' in
declaration of `media'
main.c:14: warning: data definition has no type or
storage class
main.c: In function `inner_main':
main.c:47: warning: implicit declaration of function
`xine_set_locale'
main.c:73: warning: implicit declaration of function
`xine_register_event_listener'
main.c: In function `second_update':
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.)
main.c:118: warning: implicit declaration of function
`xine_get_current_time'
main.c:118: warning: implicit declaration of function
`xine_get_stream_length'
main.c: In function `event_listener':
main.c:131: `XINE_EVENT_PLAYBACK_FINISHED' undeclared
(first use in this function)
gmake[1]: *** [main.o] Error 1
gmake[1]: Leaving directory `/tmp/sinek-0.7/src'
gmake: *** [all-recursive] Error 1
It would be great if you could help me with this !
Best regards,
Pierre.
Logged In: NO
I have this exact problem, same situation, compiling under
RH8.0. Xine-lib is correctly installed, yet running make
causes errors with sinek (after configure completed
successfully).
Logged In: NO
got this same and with sinek-0.6 too,
Slackware 9.0, gcc 3.2.2 .
Logged In: YES
user_id=834461
Same deal here. Sinek 0.7, Xine-lib 1rc3c.
There are also problems with the ./configure script.
It seems that xine-config no longer accepts --skindir and
--desktop as arguments and these are present in the
configure script. I am not sure what these should be.
Logged In: YES
user_id=834461
I did some poking and asking on #C on freenode and it seems
that sinek 0.7 doesn't play niec with xine-lib 1.0 rc3c (and
possibly others but i ahvent tried)
I checked in /usr/lib/xine.h and XINE_PLAY and
XINE_EVE_PLAYBACK_FINISHED don't exist but are now
XINE_STATUS_PLAY and XINE_EVENT_UI_PLAYBACK_FINISHED
respectively. It seems those are the two that src/main.c is
using
However I fixed this and the undeclared constants
disappeared ohwever i get a wohle lot more errors which I am
unable to paste since the machine isn't connected to the
internet but it includes a bunch of implicit declarations
and so forth.