Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> xine-hd -> xine-hd build dies with gnome-vfs error
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
xine-hd build dies with gnome-vfs error
PostPosted: Sun Feb 06, 2005 12:18 pm Reply with quote
Guest
 




Trying to build xine-hd. It dies making gnome-vfs:

.deps/input_gnome_vfs.TPlo -o .libs/input_gnome_vfs.o
make[4]: *** [input_v4l.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
input_gnome_vfs.c: In function `init_input_class':
input_gnome_vfs.c:347: warning: assignment from incompatible pointer type
make[4]: Leaving directory `/usr/src/redhat/BUILD/xine-hd-lib-1-rc6a/src/input'
make[3]: *** [all-recursive] Error 1


Just before that was an (unrelated?) warning:

v4l.TPlo -o .libs/input_v4l.o
In file included from /usr/include/linux/videodev.h:9,
from input_v4l.c:1335:
/usr/include/linux/videodev2.h:438: error: syntax error before '*' token
/usr/include/linux/videodev2.h:440: error: syntax error before '*' token
/usr/include/linux/videodev2.h:441: error: syntax error before '}' token
/usr/include/linux/videodev2.h:818: error: field `win' has incomplete type
In file included from input_v4l.c:1335:
/usr/include/linux/videodev.h:231: error: syntax error before '*' token
/usr/include/linux/videodev.h:232: error: conflicting types for 'clipcount'
/usr/include/linux/videodev2.h:439: error: previous declaration of 'clipcount' was here
/usr/include/linux/videodev.h:238: error: syntax error before '}' token

This is fc3, with the relased updates.

sean
PostPosted: Sun Feb 06, 2005 2:53 pm Reply with quote
Guest
 




Nope. It wasn't gnome-vfs2. That was just odd smp-flags. The error was the videodev.h error:


........................
TPlo -o .libs/input_v4l.o
In file included from /usr/include/linux/videodev.h:9,
from input_v4l.c:1335:
/usr/include/linux/videodev2.h:438: error: syntax error before '*' token
/usr/include/linux/videodev2.h:440: error: syntax error before '*' token
/usr/include/linux/videodev2.h:441: error: syntax error before '}' token
/usr/include/linux/videodev2.h:818: error: field `win' has incomplete type
In file included from input_v4l.c:1335:
/usr/include/linux/videodev.h:231: error: syntax error before '*' token
/usr/include/linux/videodev.h:232: error: conflicting types for 'clipcount'
/usr/include/linux/videodev2.h:439: error: previous declaration of 'clipcount' was here
/usr/include/linux/videodev.h:238: error: syntax error before '}' token
make[4]: *** [input_v4l.lo] Error 1


I've seen the other posts. There's no macro __USER:
[root@mediaserver linux]# grep __USER videodev.h
[root@mediaserver linux]# grep __USER videodev2.h
[root@mediaserver linux]#

or __user:

[root@mediaserver linux]# grep __user videodev2.h
struct v4l2_clip __user *clips;
void __user *bitmap;
[root@mediaserver linux]# grep __user videodev.h
struct video_clip __user *clips; /* Set only */
[root@mediaserver linux]#

I've changed the include to <linux/video2.h>

What's the magic?

sean
xine-hd build dies with gnome-vfs error
  pcHDTV Forum Index -> xine-hd
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin