[pvrusb2] compiling xawtv?

Mike Isely isely at isely.net
Tue Dec 19 21:27:26 CST 2006


On Tue, 19 Dec 2006, Tamas K Papp wrote:

> Hi Mike,
> 
> Thanks for the answer, it helped.  Now I run into the error below --
> did I miss something obvious, or should I contact the maintainer or
> xawtv?  What was the last verion of xawtv you managed to compile?
> 
> Thanks,

Well this is a tougher question to answer than it probably should be.  
I haven't tried an updated version of xawtv in quite a while.  I only 
use the program as a test vector for the pvrusb2 driver; for routine use 
I use MythTV and for more in depth testing I tend to use mplayer 
combined with the pvrusb2 driver's sysfs interface.  My understanding is 
that xawtv is in the process of being (or has already been) abandoned.  
Certainly you can try to contact the author.  You also might try just 
wandering google to see what others might have found.

There are a few people here who use xawtv.  Perhaps somebody else here 
can suggest a few things.  Given the scope of the error messages, this 
might be something basic like a missing header or a wrong version of a 
-dev package.  But I haven't encountered any problems.  But I'm also 
using a much older xawtv distribution.  The last version I downloaded 
was xawtv-20060317-134453.  I can put that up on the web server if it 
will help.

  -Mike


> 
> Tamas
> 
> In file included from x11/v4lctl.c:27:
> x11/atoms.h:3: error: expected ')' before '*' token
> x11/atoms.h:6: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'WM_PROTOCOLS'
> x11/atoms.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'WM_DELETE_WINDOW'
> x11/atoms.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_NET_SUPPORTED'
> x11/atoms.h:10: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_NET_WM_STATE'
> x11/atoms.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_NET_WM_STATE_STAYS_ON_TOP'
> x11/atoms.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_NET_WM_STATE_ABOVE'
> x11/atoms.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_NET_WM_STATE_FULLSCREEN'
> x11/atoms.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_WIN_SUPPORTING_WM_CHECK'
> x11/atoms.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_WIN_PROTOCOLS'
> x11/atoms.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_WIN_LAYER'
> x11/atoms.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_XAWTV_STATION'
> x11/atoms.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_XAWTV_REMOTE'
> x11/atoms.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_DEACTIVATE'
> x11/atoms.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_MOTIF_CLIPBOARD_TARGETS'
> x11/atoms.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_MOTIF_DEFERRED_CLIPBOARD_TARGETS'
> x11/atoms.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_MOTIF_SNAPSHOT'
> x11/atoms.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_MOTIF_DROP'
> x11/atoms.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_MOTIF_EXPORT_TARGETS'
> x11/atoms.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_MOTIF_LOSE_SELECTION'
> x11/atoms.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_TARGETS'
> x11/atoms.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_DONE'
> x11/atoms.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_CLIPBOARD'
> x11/atoms.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_UTF8_STRING'
> x11/atoms.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_FILE_NAME'
> x11/atoms.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_FILE'
> x11/atoms.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_PIXEL'
> x11/atoms.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_BACKGROUND'
> x11/atoms.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XA_FOREGROUND'
> x11/atoms.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'MIME_TEXT_ISO8859_1'
> x11/atoms.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'MIME_TEXT_UTF_8'
> x11/atoms.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'MIME_IMAGE_PPM'
> x11/atoms.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'MIME_IMAGE_JPEG'
> x11/atoms.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'MIME_TEXT_URI_LIST'
> x11/atoms.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '_NETSCAPE_URL'
> x11/atoms.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XV_MUTE'
> x11/atoms.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XV_ENCODING'
> x11/atoms.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XV_FREQ'
> x11/atoms.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'XV_COLORKEY'
> x11/v4lctl.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before '*' token
> x11/v4lctl.c: In function 'main':
> x11/v4lctl.c:99: error: 'dpy' undeclared (first use in this function)
> x11/v4lctl.c:99: error: (Each undeclared identifier is reported only once
> x11/v4lctl.c:99: error: for each function it appears in.)
> x11/v4lctl.c:99: warning: implicit declaration of function 'XOpenDisplay'
> x11/v4lctl.c:101: warning: implicit declaration of function 'init_atoms'
> x11/v4lctl.c:110: warning: implicit declaration of function 'XCloseDisplay'
> make: *** [x11/v4lctl.o] Error 1
> 
> 
> 
> On Tue, Dec 19, 2006 at 08:38:53AM -0600, Mike Isely wrote:
> 
> > On Tue, 19 Dec 2006, Tamas K Papp wrote:
> > 
> > > Hi,
> > > 
> > > Following the suggestions on the pvrusb2 page, I tried to compile the
> > > latest Xawtv from
> > > 
> > > http://dl.bytesex.org/cvs-snapshots/xawtv-20061123-095905.tar.gz
> > > 
> > > However, when I extracted the tar.gz, I found no ./configure.  Could
> > > somebody please help me how to compile this?
> > > 
> > > Tamas
> > > _______________________________________________
> > > pvrusb2 mailing list
> > > pvrusb2 at isely.net
> > > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> > 
> > Try the autogen.sh script that (I hope) is still there.
> > 
> >   -Mike
> > 
> > 
> > -- 
> >                         |         Mike Isely          |     PGP fingerprint
> >      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
> >                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
> >                         |                             |
> > _______________________________________________
> > pvrusb2 mailing list
> > pvrusb2 at isely.net
> > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
> 

-- 
                        |         Mike Isely          |     PGP fingerprint
     Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                        |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                        |                             |


More information about the pvrusb2 mailing list